Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The PenAlignment enumeration specifies the alignment of a pen relative to the stroke that is being drawn.
Syntax
typedef enum PenAlignment {
PenAlignmentCenter = 0,
PenAlignmentInset = 1
} ;
Constants
PenAlignmentCenterValue: 0 Specifies that the pen is aligned on the center of the line that is drawn. |
PenAlignmentInsetValue: 1 Specifies, when drawing a polygon, that the pen is aligned on the inside of the edge of the polygon. |
Remarks
If you set the alignment of a Pen object to PenAlignmentInset, you cannot use that pen to draw compound lines or triangular dash caps.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |