PURPOSE
Removes any currently defined cutting planes.
CALLING SEQUENCE
HIC_Clear_Cutting_Planes (nr)
------------------------------------------------------------------ | ||
nr    | HT_Rendition    | Rendition. Passed by reference |
------------------------------------------------------------------ |
PURPOSE
Applies text-specific transformation to arbitrary point.
CALLING SEQUENCE
HIC_Compute_Transformed_Text_Position (nr, ti, pt), returns xfmd_pt
----------------------------------------------------------------------------- nr HT_Rendition Rendition. Passed by reference. ti Text info Specific intermediate text structure. Passed by ref erence. pt HT_DC_Point Initial position. Passed by reference. xfmd_pt HT_DC_Point Transformed position. Passed by reference. -----------------------------------------------------------------------------
DETAILS
The relation between the input point pt and the transformed point xfmd_pt is determined by the following two assumptions:
(1) pt is the device coordinate location of part of a character in the text string referenced by ti, assuming that the text font transformability attribute has the value "no transforms", and the remaining text attributes and the coordinate transformation attributes (determined by modelling transformation and camera parameters) are set as in the rendition nr.
(2) xfmd_pt is the correct device coordinate location for the same part of the same character of the text string according to the text font transformability attribute in the rendition nr, and the coordinate transformations in nr.
Thus, if the text font transformability attribute in nr has the value "no transforms", then xfmd_pt = pt.
NOTES
You would normally call this function only from a "draw text" callback function, which receives the text info structure ti as an argument. You would have to use this function if you are drawing your own text font and want to respect the text transformability attribute. You would also use it if you wanted to embellish a built-in or system-supplied font with figures having a fixed relation to the characters, such as boxes around each character.