API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IGRAPHICS_DRAWPIE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IGraphics IGRAPHICS_SetColor() IGRAPHICS_SetFillColor() IGRAPHICS_SetFillMode()
Description
This function draws a circular pie. The color of the outline is the current foreground color. If fill-mode is turned on, the interior of the pie shall be filled with the current fill color.
Params
po
[]:
Pointer to the IGraphics interface object.
pPie
[]:
Pointer to the pie to be drawn.
Interface
  • IGRAPHICS
Prototype
  • int IGRAPHICS_DrawPie(IGraphics *po, AEEPie *pPie);
    
Return
  • The error code indicating the status of this transaction: AEE_EBADPARM: If one of the input parameters is invalid. AEE_SUCCESS: Otherwise.
Side Effect
  • None
Comments
The input is in window coordinate system. Fill mode is not supported in this version.