GetTextCelSize

Retrieves text cel's current size.

Synopsis

void GetTextCelSize (TextCel *tCel, int32 *width, int32 *height)

Description

Retrieves the current size for the text cel. You can also obtain the current size of a cel by reading the ccb_Width and ccb_Height fields in the cel's CCB. Note that this retrieves the onscreen size of the cel, not the size of the text currently in the cel. (The text currently in the cel may not fill the complete width or height of the cel.)

Arguments

tCel
Pointer to a TextCel structure.
width
Pointer to a variable to receive the cel's width.
height
Pointer to a variable to receive the cel's height.

Associated Files

lib3do.lib, textlib.h