Changes from Version 11.5 to Version 12

Version 12 of the LEADTOOLS Vector C API has changed from version 11.5 as follows:

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 Structures

The following data structures have been added since version 11.5:

VECTORARC

VECTORBITMAP

VECTORBRUSH

VECTORCHORD

VECTORCIRCLE

VECTORCLONE

VECTORELLIPSE

VECTORELLIPTICALARC

VECTORFONT

VECTORGROUP

VECTORGROUPDESC

VECTORHITTEST

VECTORLAYER

VECTORLAYERDESC

VECTORLINE

VECTORMARKER

VECTORPEN

VECTORPIE

VECTORPOLYBEZIER

VECTORPOLYDRAW

VECTORPOLYGON

VECTORPOLYLINE

VECTORRASTER

VECTORRECTANGLE

VECTORSTOCK

VECTORTEXT

VECTORVERTEX

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

New Functions

The rest of this topic lists the new functions in version 12.

L_VecAddGroup

L_VecAddLayer

L_VecAddObject

L_VecAddObjectToGroup

L_VecClipboardReady

L_VecCopyFromClipboard

L_VecCopyGroup

L_VecCopyLayer

L_VecCopyObject

L_VecCopyToClipboard

L_VecDeleteGroup

L_VecDeleteGroupClones

L_VecDeleteLayer

L_VecDlgEditAllGroups

L_VecDlgEditAllLayers

L_VecDlgEditGroup

L_VecDlgEditLayer

L_VecDlgEditObject

L_VecDlgGetString

L_VecDlgGetStringLen

L_VecDlgHitTest

L_VecDlgNewGroup

L_VecDlgNewLayer

L_VecDlgNewObject

L_VecDlgRender

L_VecDlgSetFont

L_VecDlgSetString

L_VecDlgViewMode

L_VecEmpty

L_VecEmptyGroup

L_VecEmptyLayer

L_VecEnumGroups

L_VecEnumLayers

L_VecEnumObjectsInGroup

L_VecEnumObjectsInLayer

L_VecExplodeObject

L_VecFreeGroup

L_VecFreeLayer

L_VecFreeObject

L_VecGetActiveLayer

L_VecGetGroup

L_VecGetGroupByIndex

L_VecGetGroupByName

L_VecGetGroupCount

L_VecGetHitTest

L_VecGetLayer

L_VecGetLayerByIndex

L_VecGetLayerByName

L_VecGetLayerCount

L_VecGetMarker

L_VecGetObject

L_VecGetObjectAttributes

L_VecGetOrigin

L_VecGetParallelogram

L_VecHideObject

L_VecInitObject

L_VecIsEmpty

L_VecIsLocked

L_VecIsObjectHidden

L_VecSetActiveLayer

L_VecSetGroup

L_VecSetHitTest

L_VecSetLayer

L_VecSetLocked

L_VecSetMarker

L_VecSetObject

L_VecSetObjectAttributes

L_VecSetOrigin

L_VecSetParallelogram

L_VecZoomRect

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

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