The following APIs are provided to support an object reference counting mechanism for objects to manage their own memory instances.
The following API is provided to support run-time interface polymorphism.
The following APIs are provided to retrieve or set the destination bitmap for the draw operation. Drawing is achieved by using native IBitmap interface methods.
The following APIs are provided to retrieve or set the clipping rectangle.
Required header files:
Example code -
ISHELL_CreateInstance(piShell, AEECLSID_DisplayCanvas, (void**)&piCanvas) ); IDisplayCanvas_SetDisplay(piCanvas, piDisplay) ); IRootContainer_SetCanvas(picRoot, (ICanvas*) (void*) piCanvas, &rcContainer);