Carbon


ControlCalcSizeRec

Header: Controls.h

struct ControlCalcSizeRec {
    SInt16 height; 
    SInt16 width; 
    SInt16 baseLine;
};
typedef ControlCalcSizeRec ControlCalcSizePtr;

Field descriptions

height

The optimal height (in pixels) of the control’s bounding rectangle.

width

The optimal width (in pixels) of the control’s bounding rectangle.

baseLine

The offset from the bottom of the control to the base of the text. This value is generally negative.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)