Developer

API Reference

WidgetExtent

Brew Release
Brew MP 1.0.2
See Also
Description
This data type specifies the geometric structure of a widget, in terms of height and width, without defining the bounds or placement of the widget. The WidgetExtent data structure, in a sense, defines the size of a widget.
Members
  • width:   The width of the widget's bounding rectangle.
  • height:  The height of the widget's bounding rectangle.
Definition
   typedef struct WidgetExtent {
      int   width;
      int   height;
   } WidgetExtent;
Comment
The WidgetExtent of a widget can be derived from a widget's bounding rectangle with the 'width' being equal to the right coordinate of the bounding rectangle minus the left, and the 'height' being the bottom coordinate minus the top.
  • Follow