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

Developer

API Reference

IGRAPHICS_SETDESTINATION()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IGraphics IGRAPHICS_GetDestination()
Description
This function sets the destination bitmap to which IGraphics functions will render.
Params
po
[in]:
Pointer to IGRAPHICS interface object.
pDst
[in]:
IBitmap interface pointer that will be used for rendering, or NULL to set to screen bitmap.
Interface
  • IGRAPHICS
Prototype
  • int IGRAPHICS_SetDestination(IGraphics *po, IBitmap *pDst);
    
Return
  • AEE_SUCCESS: if successful AEE_EFAILED: if unable to set destination
Side Effect
  • None
Comments
When IGraphics is instantiated, the default bitmap is the screen bitmap. Use this function will pSt set to NULL to restore the default.