Available in LEADTOOLS Vector Imaging toolkits. |
Once the vector image is loaded the vector points values are expressed in specific unit. LEADTOOLS provides the following functions for modifying unit type:
LVectorBase::ConvertPointFromUnit converts the value from a specified unit to a point unit type.
LVectorBase::ConvertPointToUnit converts the value from point unit to other unit type.
The user can change or retrieve the currently used unit type in the vector toolkit by calling the LVectorBase::SetUnit or LVectorBase::GetUnit function.