X11 Work Bench Toolkit 1.0
Structure defining a 'word' for rendering purposes. More...
|const char *||pText|
|length of text element (in bytes) |
|width of text in pixels (based on font size) (NA for tabs, LF, valid for white space) |
|height of text in pixels (based on font size) (NA for tabs, LF, valid for white space) |
|indicates that the text consists of tabs (nLength for number of tabs, pText is NULL) |
|indicates a line feed (CR, CRLF, LF, or LFCR) (nLength for number of line feeds, pText is NULL) |
|indicates that it is 'white space' (regular or special character) (nLength, width, height applies) |
|Relative 'X' pixel position for the beginning of this element (when pre-rendered, else -1) |
|Relative 'Y' pixel position for the beginning of this element (when pre-rendered, else -1) |
Structure defining a 'word' for rendering purposes.
A 'word' is defined as one or more characters as a group that is to be rendered in as single-line or multi-line text. Special case is white space, line feeds, and tabs. The width and height of the 'word' element can be used to line up and do 'word breaks' on text for line wrapping. Multiple white space blocks can also be eliminated from the output when it is at the end of a line, particularly when wrapping text.
|const char* pText|