2.2.19 LogPen Object
The LogPen object defines the style, width, and color of a logical pen.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PenStyle |
|||||||||||||||||||||||||||||||
Width |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ColorRef |
PenStyle (4 bytes): An unsigned integer that specifies a value from the PenStyle enumeration (section 2.1.25).
Width (8 bytes): A PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.
-
If the pen type in the PenStyle field is PS_GEOMETRIC, this value is the width in logical units; otherwise, the width is specified in device units. If the pen type in the PenStyle field is PS_COSMETIC, this value MUST be 0x00000001.
ColorRef (4 bytes): A ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.