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

Developer

API Reference

IWIDGET_SETIMAGESIZE()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetImageParm()
Description
This function is used to set the (cropped) size of the image.
Params
pif
[]:
[in] Pointer to the IWidget object.
dx
[]:
[in] Width to crop.
dy
[]:
[in] Height to crop.
Interface
Prototype
  •    int IWidget_SetImageSize(IWidget *pif, uint32 dx, uint32 dy)
    
Return
  •    AEE_SUCCESS - If BREW was able to successfully set the size.
       AEE_EFAILED - If the size could not be set.
    
Side Effect
  • None.
Comments
Set dx and dy to zero to restore image to full size (not cropped).