Available in LEADTOOLS Vector Imaging toolkits. |
typedef struct _VECTORPEN
{
L_INT nSize;
union
{
LOGPEN LogPen;
EXTLOGPEN ExtLogPen;
}NewPen;
DWORD elpStyleEntry[7];
L_BOOL bExtPen;
}VECTORPEN, *pVECTORPEN;
The VECTORPEN structure holds information about a pen used to draw a vector object.
Member |
Description |
|
nSize |
Size of this structure. Used for versioning. |
|
NewPen |
Union of LOGPEN and EXTLOGPEN structures. The type of structure in this member depends on the values of the bExtPen member. For more information about the LOGPEN and EXTLOGPEN structures, please refer to the Microsoft documentation. |
|
elpStyleEntry |
Valid only if bExtPen is TRUE. ExtLogPen allows the user to draw customized hatched lines. Using the elpStyleEntry element defined in ExtLogPen, the user can fill up to 8 dash elements. Please refer to Microsoft documentation regarding the EXTLOGPEN for more information about this. |
|
bExtPen |
Boolean flag that indicates the type of pen to use and the type of structure in the NewPen member. Possible values are: TRUE: the vector pen describes a EXTLOGPEN structure. FALSE: the vector pen describes a LOGPEN structure. |
|
|
Value |
Meaning |
|
TRUE |
The vector pen is an ExtLogPen and the NewPen member contains an EXTLOGPEN structure. |
|
FALSE |
The vector pen is an LogPen and the NewPen member contains a LOGPEN structure. |