Getting Started

A vector handle must have a vector engine associated with it for vector images to be rendered. The LVectorBase::AttachToWindow 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 LVectorBase::Paint, but double buffering is only available if the vector handle is attached to a window.

To get the current vector engine, call LVectorBase::GetEngine.

Once the vector handle, with the associated vector engine, is attached to a window, vector images loaded using LVectorBase::Load, LVectorWindow::Load, LVectorFile::LoadFile or LVectorMemoryFile::LoadMemory can be rendered.