Viewing a Vector Image

Once an image has been loaded and a vector engine has been associated with a vector handle, the vector image can be rendered. The way an image is viewed depends on a number of viewing characteristics. LEADTOOLS provides the following functions for modifying these viewing characteristics:

L_VecGetAmbientColor

L_VecGetBackgroundColor

L_VecGetCamera

L_VecGetDisplayOptions

L_VecGetObjectViewContext

L_VecGetPan

L_VecGetPolygonMode

L_VecGetUseLights

L_VecGetViewMode

L_VecGetViewport

L_VecInvertColors

L_VecLogicalToPhysical

L_VecPhysicalToLogical

L_VecRemoveObjectViewContext

L_VecSetAmbientColor

L_VecSetBackgroundColor

L_VecSetCamera

L_VecSetObjectViewContext

L_VecSetPan

L_VecSetPolygonMode

L_VecSetUseLights

L_VecSetViewMode

L_VecSetViewport

L_VecZoomRect

To allow proper drawing of vector image colors in a palettized system, use the palette associated with the vector handle. To get this palette, call L_VecGetPalette. To set the palette for a vector handle, use L_VecSetPalette.

To draw a specific vector into a LEAD bitmap handle, use the L_VecRealize function.