VECTORPEN

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.

Members

L_INT 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.

DWORD 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.

L_BOOL 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 an 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.
Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help