Quantum Data 801GC, 801GF, 801GX Owner's And Programmer's Manual page 281

Portable video signal generators
Table of Contents

Advertisement

PAGE
Classification:
Command Syntax:
Limits:
Query Syntax:
Description:
Other Required Cmds:
Example:
draw a PAGE of repeating characters
Custom image primitive
PAGE <color> <width> <height> <x> <y> <fontname>
<character>
<color> = available colors
<width> = width of page in pixels
<height> = height of page in lines
<x> = position of left edge of page in pixels
<y> = position of top edge of page in pixels
<fontname> = available fonts
<character> = code number of character
min = 0
max = 255
None
Fills a rectangular area (page or block) with a character that
repeats horizontally and vertically. The <color> parameter sets
the color used to draw the character. The <width> and <height>
parameters determine the size of the block to be filled. The <x>
and <y> parameters determine the top left corner of the block.
The <fontname> parameter selects which font is used to draw
the character. The <character> parameter selects a specific
character (by number). For full alphanumeric fonts, the character
number is the same as the character's ASCII code number. The
spacing between the characters is fixed by the character block
size in the font and cannot be changed. Partial characters are
not drawn to completely fill the rectangular area. Rather, the
largest possible block of full characters is centered in the
rectangular area.
None
P A G E
b l u e
4 0
3 0
/ /
a
s m a l l
/ /
c h a r a c t e r s
/ /
c o r n e r
1 0
1 0
o p i x 9
6 9
/ /
b l o c k
o f
b l u e
E
i n
t h e
u p p e r
D r a w
l e f t
6-155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents