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

Developer

API Reference

IWIDGET_GETOPACITYCURVE()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetOpacityCurve IHFont_GetOpacityCurve IHFont_SetOpacityCurve ITextLayout_GetOpacityCurve ITextLayout_SetOpacityCurve
Description
This routine retrieves the current opacity curve setting from the IWidget object. The valid range of opacity curve is [-100, 100], with 0 being the default (linear). As the value of the opacity curve increases, the rendered glyphs look more and more opaque.
Params
pif
[]:
[in] Pointer to the IWidget interface object
pnOpacityCurve
[]:
[out] Pointer to the current opacity curve
Interface
Prototype
  •    AEEResult IWidget_GetOpacityCurve(IWidget* pif, int* pnOpacityCurve);
    
Return
  •    AEE_SUCCESS - If the object is able to retrieve the opacity curve
       AEE_EFAILED - If the opacity curve could not be retrieved.
    
Side Effect
  • None
Comments
None