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

Developer

API Reference

IWIDGET_SETBGIMAGESCALE()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetBGImageParm
Description
This routine is used to scale the background image parameter given the passed in height and width.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
dx
[]:
[in] The parameter that holds the width for the widget to be scaled.
dy
[]:
[in] The parameter that holds the height for the widget to be scaled.
Interface
Prototype
  •    int IWidget_SetBGImageScale(IWidget *pif, uint32 dx, uint32 dy);
    
Return
  •    AEE_SUCCESS - If the widget is able to scale the background image.
       AEE_EFAILED - If the widget failed to scale the background image.
    
Side Effect
  • None
Comments
Note: Image scaling is only supported on BREW versions 3.0 and newer.