Quantum Data 881 User Manual page 928

Hide thumbs Also See for 881:
Table of Contents

Advertisement

TEXT
Class
Description
Command syntax
Other required
commands
Example
550
Appendix A Command Reference
draw TEXT string
Custom image primitive
Draws a user-defined text string. It uses five parameters. The first is color. The next two
are the x and y coordinates for the upper left corner of the starting position of the string.
The fourth parameter selects the font. The last parameter is the text string. If the string is
longer than one word, it must be contained inside quotation marks.
All of the characters in the text string must have matching characters in the font selected
by font name.
Text color x y font "text "
color
available colors
x, y
coordinates of top left corner of page in pixels
font
available fonts
text
approximately 30 characters (must be enclosed by quotes)
The
FMTU
command instructs the generator to use the new setting. The
updates hardware to the new setting and redraws the test image.
TEXT red 50 40 opix9 "HELLO WORLD"
// Draw red "HELLO WORLD" at x=50 y=40 in opix9 font
ALLU
command

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

882

Table of Contents