Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

VECTORUNIT

Show in webframe

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

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

Member

Description

nSize

Size of this structure. Used for versioning.

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.