Showing changes from revision #1 to #2:
Added | Removed | Changed
Some control characters have special meaning.
Control Sequence Codes | Meaning |
---|---|
9, dx_low, middle, high |
Move print position horizontally |
11, dy_low, middle, high |
Move print position verically |
17, colour |
Set font colour (+&80 for background) |
18, background, foreground, offset |
See Font_SetFontColours |
19, background, foreground, offset |
See ColourTrans_SetFontColours |
21, comment_string, ctrl_terminated(any) |
? |
25, underline_pos, thickness |
Turn underline on/off |
26, font_handle |
See Font_SetFont |
27, ALIGN; a, b, c, d, e, f |
Full Font Transformation Matrix |
28, ALIGN; a, b, c, d, e, f |
Font Transformation Matrix with 0 translation |
Note: There are no spaces between control sequence fields. Spaces have been added above purely to make it easier to read.
With ctrl-codes 9 & 11, the print-position is given in millipoints.
With ctrl-code 25, position and thickness is given in 1/256^th^ of current font size. Position is sign extended, thickness is unsigned. Set thickness to 0 to turn off underlining.
With ctrl-codes 27 & 28, the code must be followed by 0-3 null bytes to word align the Font Transformation Matrix.
When using 16 or 32-bit characters, these take a slightly different form.