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

Developer

API Reference

IWIDGET_GETTEXTRECTS()

Brew Release
Brew MP 1.0.2
See Also
Widget Properties IWidget_GetProperty IWidget_SetProperty
Description
This routine gets a list of text rectangles representing the text area of the characters within the given text range.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
start
[]:
[in] Starting character index of text range.
end
[]:
[in] Ending character index of text range.
pCount
[]:
[in] If pRects is not NULL, then count of allocated text rectangles in array pRects. If pRects is NULL, then ignored. [out] Count of text rectangles. This may be larger than the count of allocated text rectangles, although no more than the allocated count will be copied to the array.
pRects
[]:
[out] Array of text rectangles.
Interface
Prototype
  •    int IWidget_GetTextRects(IWidget *pif, uint32 start, uint32 end, uint32* pCount, AEERect* pRects)
    
Return
  •    AEE_SUCCESS - If the widget is able to get the property.
       AEE_EFAILED - If the widget is unable to get the property.
    
Side Effect
  • None
Comments
None.