VECTORPEN

Summary

The VECTORPEN structure holds information about a pen used to draw a vector object.

Syntax

typedef struct _VECTORPEN 
{ 
   L_INT nSize; 
   union 
   { 
      LOGPEN LogPen; 
      EXTLOGPEN ExtLogPen; 
   } NewPen; 
   DWORD elpStyleEntry[7]; 
   L_BOOL bExtPen; 
}VECTORPEN,  *pVECTORPEN; 

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, 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. 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:

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.

Usage

Data Types

Functions

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.