HC_Compute_Text_Extent_By_Key

bool HC_Compute_Text_Extent_By_Key(Key key, float *xfrac, float *yfrac)
bool HC_Compute_Text_Extent_By_Key(Key key, float xfrac, float yfrac)

Similar to Compute_Text_Extent(), but operates on text referenced by an HC_KEY.

HC_Compute_Text_Extent()

Parameters

key: Key of the text on which the computation is to be done.

xfrac: The fraction from 0.0 to 1.0 (or more), in the X direction, of segment’s window that is necessary to hold text. Returned to user. Passed by reference always.

yfrac: The fraction from 0.0 to 1.0 (or more), in the Y direction, of segment’s window that is necessary to hold text. Returned to user. Passed by reference always.