Quantum Data 801GC, 801GF, 801GX Portable Generator User Manual


 
6-155
PAGE draw a PAGE of repeating characters
Classification: Custom image primitive
Command Syntax: PAGE <color> <width> <height> <x> <y> <fontname>
<character>
Limits: <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
Query Syntax: None
Description: 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 characters 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.
Other Required Cmds: None
Example: PAGE blue 40 30 10 10 opix9 69 // Draw
// a small block of blue E
// characters in the upper left
// corner