VisClass: 3.1 VisClass Instance Data: VI_bounds

Up: GEOS SDK TechDocs | Up | Prev: 3 VisClass Instance Data | Next: 3.2 VI_typeFlags

The VI_bounds field is a Rectangle structure containing four values: The left, top, right, and bottom outer bounds of the object. The bounds of a visible object describe the object to the rest of the world: the input manager and UI use them to determine when the mouse pointer is over the object, and the object's visible parent (if any) uses them to figure out the total geometry of all its children.

The VI_bounds field is very important to nearly all visible objects. In fact, Positioning Visible Objects is devoted to this field and how it is used. For full information on visible bounds, see that section.


Up: GEOS SDK TechDocs | Up | Prev: 3 VisClass Instance Data | Next: 3.2 VI_typeFlags