Getting Started
A vector handle must have a vector engine associated with it for vector images to be rendered. The L_VecAttachToWindow function associates a vector engine with a vector handle and attaches the vector handle to 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.
To get the current vector engine, call L_VecGetEngine.
Once the vector handle, with the associated vector engine, 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.