Developer

API Reference

WidgetTextRects

Brew Release
Brew MP 1.0.2
See Also
IWidget_GetTextRects
Description

This structure reports a list of text rectangles representing the text area of the characters within a given text range.
Members
  • count  : [in ] (Only if pRects != NULL) The count of AEERects allocated
                      in PRects
                [out] The number of rectangled needed to locate the range of
                      text.
  • flags  : For future expansion, currently must be set to zero.
  • start  : Starting character index of the range of text to query.
  • end    : Ending character index of the rannge of text to query.
  • pRects : Array of rects that locate the range of text, using the
                text widget coordinates.
    
Definition
typedef struct {
   uint32   count;
   uint32   flags;
   uint32   start;
   uint32   end;
   AEERect* pRects;
} WidgetTextRects;
Comment
It is recommended you interact with this structure through the IWidget_GetTextRects function because it will automatically pack up the data for you and report any error conditions.
  • Follow