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

Developer

API Reference

ITRIGMLELEMENT_GETDISPLAYRECTANGLE()

Brew Release
Brew MP 1.0.2
Description
Returns a rectangle giving the position and size of the widget attached to the given Trigml element.
Params
po
[]:
A pointer to an ITrigmlElement object.
pRectangle
[]:
Pointer to the rectangle to be filled in.
Interface
  • ITRIGMLELEMENT
Prototype
  •    int ITRIGMLELEMENT_GetDisplayRectangle(ITrigmlElement* po, AEERect* pRectangle);
    
Return
  •    SUCCESS if the rectangle could be determined.
       An appropriate error code otherwise.
    
Side Effect
  • None
Comments
Note that only visible elements have display rectangles. Calls to this method on non-visible elements will fail.