2.1.2.7 PenData Flags
The PenData flags specify properties of graphics pens, including the presence of optional data fields. These flags can be combined to specify multiple options.
Constant/value |
Description |
---|---|
PenDataTransform 0x00000001 |
If set, a 2x3 transform matrix is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataStartCap 0x00000002 |
If set, the style of a starting line cap is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataEndCap 0x00000004 |
Indicates whether the style of an ending line cap is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataJoin 0x00000008 |
Indicates whether a line join type is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataMiterLimit 0x00000010 |
Indicates whether a miter limit is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataLineStyle 0x00000020 |
Indicates whether a line style is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataDashedLineCap 0x00000040 |
Indicates whether a dashed line cap is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataDashedLineOffset 0x00000080 |
Indicates whether a dashed line offset is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataDashedLine 0x00000100 |
Indicates whether an EmfPlusDashedLineData object is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataNonCenter 0x00000200 |
Indicates whether a pen alignment is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataCompoundLine 0x00000400 |
Indicates whether the length and content of a EmfPlusCompoundLineData object are present in the OptionalData field of an EmfPlusPenData object. |
PenDataCustomStartCap 0x00000800 |
Indicates whether an EmfPlusCustomStartCapData object is specified in the OptionalData field of an EmfPlusPenData object. |
PenDataCustomEndCap 0x00001000 |
Indicates whether an EmfPlusCustomEndCapData object is specified in the OptionalData field of an EmfPlusPenData object. |
Graphics pens are specified by EmfPlusPen objects.
See section 2.1.2 for the specification of additional bit flags.