VECTORUNIT

typedef struct _VECTORUNIT 
{ 
   L_INT nSize; 
   VECTOR_UNIT Unit; 
} VECTORUNIT, *pVECTORUNIT; 

The VECTORUNIT provides information about the unit type used in the vector toolkit.

Members

L_INT nSize

Size of this structure. Used for versioning.

VECTOR_UNIT Unit

Value that represents the unit type. Possible values are:

Value Meaning
VECTOR_UNIT_INCHES Unit in Inches
VECTOR_UNIT_FEET Unit in Feet
VECTOR_UNIT_YARDS Unit in Yards
VECTOR_UNIT_MILES Unit in Miles
VECTOR_UNIT_MICROMETERS Unit in Micrometers
VECTOR_UNIT_MILIMETERS Unit in Millimeters
VECTOR_UNIT_CENTIMETERS Unit in Centimeters
VECTOR_UNIT_METERS Unit in Meters
VECTOR_UNIT_KILOMETERS Unit in Kilometers
VECTOR_UNIT_TWIPS Unit in Twips
VECTOR_UNIT_POINTS Unit in Points
VECTOR_UNIT_PIXELS Unit in Pixels. This is the default value.

Comments

pVECTORUNIT is a pointer to a VECTORUNIT structure.

The following functions make use of this structure:

LVectorBase::ConvertPointFromUnit

LVectorBase::ConvertPointToUnit

LVectorBase::GetUnit

LVectorBase::SetUnit

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

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