3.1.1.2.4 Drawing
The Drawing group of elements define various graphics flags and other metadata values that affect how the image in the EMF metafile is rendered.
Element name |
Type |
Set by |
---|---|---|
ArcDirection |
UINT32 |
EMR_SETARCDIRECTION (section 2.3.11.9) |
BackgroundColor |
EMR_SETBKCOLOR (section 2.3.11.10) |
|
BackgroundMode |
UINT32 |
EMR_SETBKMODE (section 2.3.11.11) |
BrushOrigin |
PointL |
EMR_SETBRUSHORGEX (section 2.3.11.12) |
CurrentPosition |
PointL ([MS-WMF] section 2.2.2.15) |
EMR_MOVETOEX (section 2.3.11.4) |
LayoutMode |
UINT32 |
EMR_SETLAYOUT (section 2.3.11.17) |
LineCap |
UINT32 |
|
LineJoin |
UINT32 |
|
MappingMode |
UINT32 |
EMR_SETMAPMODE (section 2.3.11.19) |
MiterLimit |
UINT32 |
EMR_SETMITERLIMIT (section 2.3.11.21) |
Path |
PointL[] |
Path bracket records (section 2.3.10) |
PathBracket |
Path bracket records |
|
PolyFillMode |
UINT32 |
EMR_SETPOLYFILLMODE (section 2.3.11.22) |
ROP2 |
UINT32 |
EMR_SETROP2 (section 2.3.11.23) |
StretchBLTMode |
UINT32 |
EMR_SETSTRETCHBLTMODE (section 2.3.11.24) |
TextColor |
ColorRef |
EMR_SETTEXTCOLOR (section 2.3.11.26) |
ArcDirection: The drawing direction for arcs and rectangles, from the ArcDirection enumeration (section 2.1.2).
BackgroundColor: The color used as background for drawing text, hatched brushes, and pen styles that are not solid lines, depending on the BackgroundMode value.
BackgroundMode: How to combine the drawing background with the BackgroundColor value, from the BackgroundMode enumeration (section 2.1.4).
BrushOrigin: The horizontal and vertical origin of the current brush in logical units, which is used as needed to maintain an alignment of patterns on the display surface.