Mac OS 9
ATSUCaret Struct Reference

#include <ATSUnicode.h>

Data Fields

Fixed fX
 
Fixed fY
 
Fixed fDeltaX
 
Fixed fDeltaY
 

Detailed Description

ATSUCaret contains the complete information needed to render a caret. fX and fY is the position of one of the caret's ends relative to the origin position of the line the caret belongs. fDeltaX and fDeltaY is the position of the caret's other end. Hence, to draw a caret, simply call MoveTo(fX, fY) followed by LineTo(fDeltaX, fDeltaY) or equivalent. The ATSUCaret will contain the positions needed to draw carets on angled lines and reflect angled carets and leading/trailing split caret appearances.


The documentation for this struct was generated from the following file: