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.
Parameters
  • 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.
Comment
Set dx and dy to zero to restore image to full size (not cropped).
  • Follow