#include <mi32/color.h>
#include <string.h>
#include <stdlib.h>
#include <mi32/compat.h>
#include <mi32/fixedstr.h>
#include <mi32/stddefns.h>
Include dependency graph for elemstyl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | MGD |
Classes | |
| struct | LINESTYLE |
| In-memory structure for line feature style. More... | |
| struct | MULTISTYLE |
| struct | POINTSTYLE |
| In-memory structure for point feature style. More... | |
| struct | POLYSTYLE |
| In-memory structure for polygon feature style. More... | |
| struct | TEXTSTYLE |
| struct | TEXTSTYLEDIFF |
Defines | |
| #define | FONTSTYLE_Bold (0x00000001) |
| #define | FONTSTYLE_Boxed (0x00000040) |
| #define | FONTSTYLE_Enhanced (0x00000008) |
| #define | FONTSTYLE_InvertCRS (0x00000800) |
| #define | FONTSTYLE_InvertGlyph (0x00000080) |
| #define | FONTSTYLE_Italic (0x00000002) |
| #define | FONTSTYLE_Kerning (0x00000400) |
| #define | FONTSTYLE_Normal (0x00000000) |
| #define | FONTSTYLE_Outline (0x00000010) |
| #define | FONTSTYLE_RoundWidth (0x00000200) |
| #define | FONTSTYLE_Shadow (0x00000004) |
| #define | FONTSTYLE_Smooth (0x00000100) |
| #define | FONTSTYLE_Underline (0x00000020) |
| #define | STYLE_BuiltIn_Point_BoxFilled 2 |
| #define | STYLE_BuiltIn_Point_BoxOpen 1 |
| #define | STYLE_BuiltIn_Point_CircleFilled 4 |
| #define | STYLE_BuiltIn_Point_CircleOpen 3 |
| #define | STYLE_BuiltIn_Point_Crosshair 5 |
| #define | STYLE_BuiltIn_Point_CrosshairHalo 6 |
| #define | STYLE_BuiltIn_Point_Last 6 |
| #define | STYLE_BuiltIn_Point_None 0 |
| #define | STYLEFLAG_BlockInsert (0x08000000) |
| #define | STYLEFLAG_BorderBitmapPatt (0x00000080) |
| #define | STYLEFLAG_CenterSymbol (0x02000000) |
| #define | STYLEFLAG_DrawPolyBorder (0x00000040) |
| #define | STYLEFLAG_Fill (0x00000001) |
| #define | STYLEFLAG_LineJoinBevel (0x00000100) |
| #define | STYLEFLAG_LineJoinMask STYLEFLAGMASK_LineJoin |
| #define | STYLEFLAG_LineJoinMiter (0x00000200) |
| #define | STYLEFLAG_LineJoinRound (0x00000300) |
| #define | STYLEFLAG_LinePatternBuiltIn (0x00000400) |
| #define | STYLEFLAG_PointDrawCircle (0x01000000) |
| #define | STYLEFLAG_PointNoSymbol (0x04000000) |
| #define | STYLEFLAG_PointSymbolBuiltIn (0x00000400) |
| #define | STYLEFLAG_PolyBorderPattBuiltIn (0x00000800) |
| #define | STYLEFLAG_PolyFillPattBuiltIn (0x00000400) |
| #define | STYLEFLAG_ScaleIsPatternZoom (0x20000000) |
| #define | STYLEFLAG_ScaleToMap (0x00000002) |
| #define | STYLEFLAG_TextAboveBaseline (0x00020000) |
| #define | STYLEFLAG_TextBelowBaseline (0x00040000) |
| #define | STYLEFLAG_TextCenterVert (0x00010000) |
| #define | STYLEFLAG_TextHTML (0x00002000) |
| #define | STYLEFLAG_TextJustifyBoth (0x0000C000) |
| #define | STYLEFLAG_TextJustifyCenter (0x00008000) |
| #define | STYLEFLAG_TextJustifyLeft (0x00000000) |
| #define | STYLEFLAG_TextJustifyMask STYLEFLAGMASK_TextJustify |
| #define | STYLEFLAG_TextJustifyRight (0x00004000) |
| #define | STYLEFLAG_TextMirrorHorz (0x00080000) |
| #define | STYLEFLAG_TextMirrorVert (0x00100000) |
| #define | STYLEFLAG_TextOrientOutput (0x00200000) |
| #define | STYLEFLAG_TextUseStyleHeight (0x00400000) |
| #define | STYLEFLAG_UseBitmapPatt (0x00000010) |
| #define | STYLEFLAG_UseHatchPatt (0x00000020) |
| #define | STYLEFLAG_UseLayoutScale (0x00800000) |
| #define | STYLEFLAG_UseLinePatt (0x00000008) |
| #define | STYLEFLAG_UseSymbol (0x00000004) |
| #define | STYLEFLAG_WordWrap (0x10000000) |
| #define | STYLEFLAGMASK_Line (STYLEFLAG_UseLinePatt | STYLEFLAG_UseBitmapPatt) |
| #define | STYLEFLAGMASK_LineJoin (0x00000300) |
| #define | STYLEFLAGMASK_Patt (STYLEFLAG_UseSymbol | STYLEFLAG_UseLinePatt | STYLEFLAG_UseBitmapPatt | STYLEFLAG_UseHatchPatt | STYLEFLAG_BorderBitmapPatt) |
| #define | STYLEFLAGMASK_PattPlus (STYLEFLAGMASK_Patt | STYLEFLAG_Fill | STYLEFLAG_PointDrawCircle | STYLEFLAG_DrawPolyBorder | STYLEFLAG_PointSymbolBuiltIn | STYLEFLAG_PolyBorderPattBuiltIn) |
| #define | STYLEFLAGMASK_Point (STYLEFLAG_UseSymbol | STYLEFLAG_UseBitmapPatt | STYLEFLAG_Fill | STYLEFLAG_PointDrawCircle | STYLEFLAG_PointNoSymbol | STYLEFLAG_PointSymbolBuiltIn) |
| #define | STYLEFLAGMASK_Poly (STYLEFLAGMASK_PolyFill | STYLEFLAGMASK_PolyBord) |
| #define | STYLEFLAGMASK_PolyBord (STYLEFLAG_UseLinePatt | STYLEFLAG_BorderBitmapPatt | STYLEFLAG_DrawPolyBorder) |
| #define | STYLEFLAGMASK_PolyFill (STYLEFLAG_UseBitmapPatt | STYLEFLAG_UseHatchPatt | STYLEFLAG_Fill) |
| #define | STYLEFLAGMASK_Scale (STYLEFLAG_ScaleToMap | STYLEFLAG_UseLayoutScale) |
| #define | STYLEFLAGMASK_TextJustify (STYLEFLAG_TextJustifyRight|STYLEFLAG_TextJustifyCenter) |
| #define | STYLEFLAGMASK_TextVertAlign (STYLEFLAG_TextAboveBaseline | STYLEFLAG_TextCenterVert | STYLEFLAG_TextBelowBaseline) |
| #define | TEXTSTYLEPREDEF_NauticalDepth 1 |
| #define | TEXTSTYLEPREDEF_None 0 |
Functions | |
| DEFINE_ENUM_OP_BITWISE (TEXTSTYLEDIFF::MEMBERMASK) | |
| int | GetStringExtents (TEXTSTYLE *style, DPOINT2D *basepts, INT32 numbasepts, UINT32 baseflags, const UNICODE *string, DRECT2D *extents) |
| int | GetStringExtentsJustify (TEXTSTYLE *style, DPOINT2D *basepts, INT32 numbasepts, UINT32 baseflags, const UNICODE *string, DRECT2D *extents) |
| int | MxGetSymbolMinMax (UINT8 *symbolbuf, LRECTXY *minmax) |
| int | MxGetSymbolSize (UINT8 *symbolbuf) |
| int | MxParseSymbol (const char *const istring, UINT8 **bufp) |
| char * | MxSymbolToText (UINT8 *buf) |
| PREVENT_MEMFUNC (TEXTSTYLE) | |
Definition in file elemstyl.h.
|
|
Definition at line 536 of file elemstyl.h. |
|
|
Definition at line 542 of file elemstyl.h. |
|
|
Definition at line 539 of file elemstyl.h. |
|
|
Definition at line 547 of file elemstyl.h. |
|
|
Definition at line 543 of file elemstyl.h. |
|
|
Definition at line 537 of file elemstyl.h. |
|
|
Definition at line 546 of file elemstyl.h. |
|
|
Definition at line 535 of file elemstyl.h. |
|
|
Definition at line 540 of file elemstyl.h. |
|
|
Definition at line 545 of file elemstyl.h. |
|
|
Definition at line 538 of file elemstyl.h. |
|
|
Definition at line 544 of file elemstyl.h. |
|
|
Definition at line 541 of file elemstyl.h. |
|
|
Definition at line 854 of file elemstyl.h. |
|
|
Definition at line 853 of file elemstyl.h. |
|
|
Definition at line 856 of file elemstyl.h. |
|
|
Definition at line 855 of file elemstyl.h. |
|
|
Simple thin-line crosshair.
Definition at line 857 of file elemstyl.h. |
|
|
Crosshair with background halo.
Definition at line 858 of file elemstyl.h. |
|
|
Definition at line 859 of file elemstyl.h. |
|
|
Definition at line 852 of file elemstyl.h. |
|
|
Style block insert using insert style.
Definition at line 238 of file elemstyl.h. |
|
|
Use bitmap pattern for polygon border.
Definition at line 214 of file elemstyl.h. |
|
|
Center point symbol, ignoring its hot-spot.
Definition at line 236 of file elemstyl.h. |
|
|
Draw polygon borders.
Definition at line 213 of file elemstyl.h. |
|
|
Definition at line 207 of file elemstyl.h. |
|
|
Join lines beveled.
Definition at line 215 of file elemstyl.h. |
|
|
Definition at line 256 of file elemstyl.h. |
|
|
Join lines mitered.
Definition at line 216 of file elemstyl.h. |
|
|
Join lines rounded.
Definition at line 217 of file elemstyl.h. |
|
|
Use built-in line pattern.
Definition at line 219 of file elemstyl.h. |
|
|
Draw points as circles if no pattern is used.
Definition at line 235 of file elemstyl.h. |
|
|
Point has no symbol (probably just a label).
Definition at line 237 of file elemstyl.h. |
|
|
Use built-in point symbol.
Definition at line 218 of file elemstyl.h. |
|
|
Use built-in polygon border pattern.
Definition at line 221 of file elemstyl.h. |
|
|
Use built-in polygon fill pattern.
Definition at line 220 of file elemstyl.h. |
|
|
Scale values are pattern zoom factor.
Definition at line 240 of file elemstyl.h. |
|
|
Sizes given are relativve to MapScale.
Definition at line 208 of file elemstyl.h. |
|
|
Text drawn completely "above" baseline.
Definition at line 228 of file elemstyl.h. |
|
|
Text drawn completely "below" baseline.
Definition at line 229 of file elemstyl.h. |
|
|
Center text "vertically" along baseline.
Definition at line 227 of file elemstyl.h. |
|
|
Text is in HTML format.
Definition at line 222 of file elemstyl.h. |
|
|
Justify both left and right sides of block.
Definition at line 226 of file elemstyl.h. |
|
|
Center lines within block.
Definition at line 225 of file elemstyl.h. |
|
|
Justify left side of block.
Definition at line 223 of file elemstyl.h. |
|
|
Old names.
Definition at line 255 of file elemstyl.h. |
|
|
Justify right side of block.
Definition at line 224 of file elemstyl.h. |
|
|
Mirror text in "horizontal" plane.
Definition at line 230 of file elemstyl.h. |
|
|
Mirror text in "vertical" plane.
Definition at line 231 of file elemstyl.h. |
|
|
Orient block relative to output rather than baseline.
Definition at line 232 of file elemstyl.h. |
|
|
Use height stored with style, otherwise use height stored with text.
Definition at line 233 of file elemstyl.h. |
|
|
Use bitmap FILL pattern (use BorderBitmapPatt for lines).
Definition at line 211 of file elemstyl.h. |
|
|
Use "hatch" fill pattern.
Definition at line 212 of file elemstyl.h. |
|
|
Sizes relative to scale int LAYOUTPARMS.
Definition at line 234 of file elemstyl.h. |
|
|
Definition at line 210 of file elemstyl.h. |
|
|
Definition at line 209 of file elemstyl.h. |
|
|
Word-wrap text to style's block width.
Definition at line 239 of file elemstyl.h. |
|
|
Definition at line 247 of file elemstyl.h. |
|
|
Definition at line 242 of file elemstyl.h. |
|
|
Definition at line 243 of file elemstyl.h. |
|
|
Definition at line 244 of file elemstyl.h. |
|
|
Definition at line 246 of file elemstyl.h. |
|
|
Definition at line 250 of file elemstyl.h. |
|
|
Definition at line 249 of file elemstyl.h. |
|
|
Definition at line 248 of file elemstyl.h. |
|
|
Definition at line 245 of file elemstyl.h. |
|
|
Definition at line 252 of file elemstyl.h. |
|
|
Definition at line 251 of file elemstyl.h. |
|
|
Definition at line 863 of file elemstyl.h. |
|
|
Values for TEXTSTYLE.Predefined.
Definition at line 862 of file elemstyl.h. |
|
|
|
|
|
|
1.3.8-20040913