Page draw page of repeating characters – Quantum Data 802BT User Manual

Page 473

Advertising
background image

Video Test Generator User Guide

463

PAGE

draw PAGE of repeating characters

Class

Custom image primitive

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 font 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.

Command syntax

PAGE color width height x y font 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

font

available fonts

character

min = 0

max = 255

Example

PAGE blue 40 30 10 10 opix9 69
// Draw a small block of blue E characters in the upper left corner

Advertising
This manual is related to the following products: