2.1.1.23 PenAlignment Enumeration
The PenAlignment enumeration defines the distribution of the width of the pen with respect to the line being drawn.
-
typedef enum { PenAlignmentCenter = 0x00000000, PenAlignmentInset = 0x00000001, PenAlignmentLeft = 0x00000002, PenAlignmentOutset = 0x00000003, PenAlignmentRight = 0x00000004 } PenAlignment;
PenAlignmentCenter: The EmfPlusPen object is centered over the theoretical line.
PenAlignmentInset: The pen is positioned on the inside of the theoretical line.
PenAlignmentLeft: The pen is positioned to the left of the theoretical line.
PenAlignmentOutset: The pen is positioned on the outside of the theoretical line.
PenAlignmentRight: The pen is positioned to the right of the theoretical line.
Graphics pens are specified by EmfPlusPen objects. Pen alignment can be visualized by considering a theoretical one-dimensional line drawn between two specified points. The pen alignment determines the proportion of pen width that is orthogonal to the theoretical line.
See section 2.1.1 for the specification of additional enumerations.