HC_Compute_Text_Extent_With_Enc
-
bool
HC_Compute_Text_Extent_With_Enc(char const *segment, char const *encoding, void const *text, float *xfrac, float *yfrac) - bool HC_Compute_Text_Extent_With_Enc(char const segment, char const encoding, void const text, float xfrac, float yfrac)
Similar to Compute_Text_Extent() but operates on encoded text rather than Latin1 text.
HC_Compute_Text_Extent()Parameters
segment: The segment whose attributes (or net attributes) will be applied to the problem.
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.