Developer

API Reference

IDisplayCanvas

Brew Release
Brew MP 1.0.2
See Also
- ICanvas Interface
- IDisplay Interface
- IBitmap Interface
Description
The IDisplayCanvas interface provides an ICanvas interface for widgets and other components to draw upon. It has additional methods to accept and adapt an IDisplay interface to function as an ICanvas, and to obtain an IDisplay from an IDisplayCanvas.
Usage
The following APIs are provided to support an object reference counting mechanism for objects to manage their own memory instances.
       IDisplayCanvas_AddRef()
       IDisplayCanvas_Release()

The following API is provided to support run-time interface polymorphism.
       IDisplayCanvas_QueryInterface


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.
       IDisplayCanvas_GetBitmap()
       IDisplayCanvas_SetBitmap()

The following APIs are provided to retrieve or set the clipping rectangle.
       IDisplayCanvas_GetClipRect()
       IDisplayCanvas_SetClipRect()


The following APIs are provided to retrieve or set the IDisplay interface.
      IDisplayCanvas_GetDisplay()
      IDisplayCanvas_SetDisplay()

Required header files: - AEEICanvas.h
- AEEDisp.h

  • Follow