Available in LEADTOOLS Vector Imaging toolkits. |
Getting Started
The L_VecAttachToWindow function associates a vector handle with a window. Attaching the vector handle to a window allows the use of double buffering for flicker-free screen updates. An image can be drawn on the surface of any window using L_VecPaint, but double buffering is only available if the vector handle is attached to a window. To display any vector, at any size, to any device context (screen, printer, or memory dc), use L_VecPaintDC.
Once the vector handle is attached to a window, vector images loaded using L_VecLoadFile or L_VecLoadMemory can be rendered.
When your program no longer needs the vector data accessed through a vector handle, call L_VecFree to free the storage allocated for the vector handle.