Version 12 of the LEADTOOLS Vector C API has changed from version 11.5 as follows:
Saving vector images as a DXF inside a TIFF file is now supported in LEADTOOLS Vector Imaging Pro.
Uses L_DOUBLE instead of L_FLOAT through out the toolkit.
Supports copying and pasting into the Windows clipboard.
Added new functions to add, edit and delete layers.
Added new functions to provide a means for grouping objects into layers.
Provides new functions for adding, editing and deleting objects.
Supports vector groups for grouping vector objects.
Now supports the following object types:
VECTOR_ARC
VECTOR_CHORD
VECTOR_CIRCLE
VECTOR_ELLIPSE
VECTOR_ELLIPTICALARC
VECTOR_LINE
VECTOR_PIE
VECTOR_POLYBEZIER
VECTOR_POLYDRAW
VECTOR_POLYGON
VECTOR_POLYLINE
VECTOR_RASTER
VECTOR_RECTANGLE
VECTOR_STOCK
VECTOR_TEXT
VECTOR_VERTEX
Changed or removed functions:
The following functions have been removed since version 11.5:
L_VecDlg3DOptions
L_VecSetEngine
The following functions have changed since version 11.5:
L_VecAttachToWindow (takes 2 extra parameters)
L_VecConvertToEMF (takes an extra parameter)
L_VecConvertToWMF (takes an extra parameter)
L_VecCopy (takes an extra parameter)
L_VecDeleteObject (uses flags instead of boolean for flags)
L_VecDlgRotate (takes an extra parameter)
L_VecDlgScale (takes an extra parameter)
L_VecDlgTranslate (takes an extra parameter)
L_VecEnumObjects (takes an extra parameter)
L_VecEnumVertices (takes an extra parameter)
L_VecGetEngine (takes an extra parameter)
L_VecGetObjectParallelogram (uses flags instead of boolean for flags)
L_VecGetObjectRect (uses flags instead of boolean for flags)
L_VecHitTest (takes an extra parameter, return type is changed as well)
L_VecIsObjectInsideParallelogram (takes an extra parameter)
L_VecIsObjectInsideRect (takes an extra parameter)
L_VecSetRotation (uses flags instead of boolean for flags)
L_VecSetScale (uses flags instead of boolean for flags)
L_VecSetTranslation (uses flags instead of boolean for flags)
Changed structures:
The following structures have changed since version 11.5
VECTORCAMERA (New members added)
VECTOROBJECT (bSelected flag is now dwFlags)
New Data Structures
The following data structures have been added since version 11.5:
VECTORSTOCK
New Error Codes
The following error codes have been added since version 11.5:
ERROR_VECTOR_BITMAP_NOT_FOUND
ERROR_VECTOR_BRUSH_NOT_FOUND
ERROR_VECTOR_CANT_ADD_TEXT
ERROR_VECTOR_CANT_READ_WMF
ERROR_VECTOR_CLIPBOARD
ERROR_VECTOR_CLIPBOARD_IS_EMPTY
ERROR_VECTOR_ENGINE_NOT_FOUND
ERROR_VECTOR_FONT_NOT_FOUND
ERROR_VECTOR_GROUP_NOT_FOUND
ERROR_VECTOR_GROUP_ALREADY_EXISTS
ERROR_VECTOR_INVALID_ENGINE
ERROR_VECTOR_INVALID_OBJECT_TYPE
ERROR_VECTOR_IS_EMPTY
ERROR_VECTOR_LAYER_ALREADY_EXISTS
ERROR_VECTOR_LAYER_IS_LOCKED
ERROR_VECTOR_LAYER_NOT_FOUND
ERROR_VECTOR_OBJECT_NOT_FOUND
ERROR_VECTOR_PEN_NOT_FOUND
ERROR_VECTOR_POINT_NOT_FOUND
The rest of this topic lists the new functions in version 12.