HC_Compute_Text_Extent_Enc_Path
-
bool
HC_Compute_Text_Extent_Enc_Path(int count, Key const keys[], char const *encoding, void const *text, float *xfrac, float *yfrac) - bool HC_Compute_Text_Extent_Enc_Path(int count, Key const keys, char const encoding, void const text, float xfrac, float yfrac)
Similar to Compute_Text_Extent_By_Path(), but operates on encoded text rather that Latin1 text.
HC_Compute_Text_Extent()Parameters
count: The size of the keys array
keys: The array of keys starting with the owning segment and following all the way back to the root segment or other desired segment.
encoding: The encoding method used for text.
text: The text string whose extent is to be tested.
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.