CHAPTER 7
Table 7-11.
Printing
Variable
Name
WMODE
CLIP
XMINCL
XMAXCL
YMINCL
YMAXCL
XDDA
DDAINC
The Primary Line A Variables That Influence Text
SCALDIR
MONO
SOURCEX
SOURCEY
DESTX
DESTY
DELX
DELY
FBASE
FWIDTH
STYLE
Offset
$24
$36
$38
$3A
$3C
$3E
$40
$42
$44
$46
$48
$4A
$4C
$4E
$50
$52
$54
$58
$5A
LITEMASK $5C
Description
Writing mode (0-3 = VDI modes,
4-19 = BitBlt modes)
Clipping flag (0 = off, 1 = on)
Left edge of clip rectangle
Right edge of clip rectangle
Top of clip rectangle
Bottom of clip rectangle
Accumulator for text scaling. Should be set
to $8000 each time you do a TextBlt that
requires scaling.
Scaling increment. For scaling up,
DDAINC = 256 * Size2 - Sizel) / Sizel.
For scaling down,
DDAINC, = 256 * (Size2) / Sizel, where
Size 1 is the actual character point size,
and Size 2 is the scaled character size.
Text scaling direction (0 = down, 1 = up)
Monospaced font flag.
0 = font is proportional, or size may
vary due to special effects
1 = font is monospaced, and uses no
special effects other than thickening
(boldface)
x coordinate of character to be printed
within font data table
y coordinate of character to be printed
within font data table
x coordinate of text character on screen
y coordinate of text character on screen
Width of character
Height of character
Pointer to font data table
Font form width (sum of the widths of all
of the characters in the font, in bytes)
Special effects
1 = bold
2 = light
4 = italics
8 = underline
16 = outline
(TextBlt does not do underlining)
Mask used to lighten text (usually $5555)
164