Text, Text draw text string – Quantum Data 802BT User Manual

Page 557

Advertising
background image

Video Test Generator User Guide

547

TEXT

draw TEXT string

Class

Custom image primitive

Description

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.

Command syntax

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)

Other required

commands

The

FMTU

command instructs the generator to use the new setting. The

ALLU

command

updates hardware to the new setting and redraws the test image.

Example

TEXT red 50 40 opix9 "HELLO WORLD"

// Draw red "HELLO WORLD" at x=50 y=40 in opix9 font

Advertising
This manual is related to the following products: