Developer

API Reference

IRootContainer_SetCanvas()

Brew Release
Brew MP 1.0.2
See Also
- ICanvas interface
Description
The root container is the top-most entity in the widget/container hierarchy and is responsible for drawing all of its contained widgets. The ICanvas interface provides a drawing surface for widgets and other components to draw upon. This function is used to specify the ICanvas and the position and extent of the root container.
Parameters
  • pif
    []:
    A pointer to an IRootContainer interface object.
  • piCanvas
    []:
    Pointer to an ICanvas object to set
  • prc
    []:
    Pointer to an AEERect structure that specifies the location and extent of the root container.

Prototype
   void IRootContainer_SetCanvas(IRootContainer *pif, ICanvas *piCanvas, const AEERect *prc);
Return
None
Side Effect
None
Comment
None
  • Follow