Line, Line draw a line – Quantum Data 802BT User Manual

Page 420

Advertising
background image

410

Appendix A Command Reference

LINE

draw a LINE

Class

Custom image primitive

Description

Draws a line between any two points. The line is 1 pixel thick. The primitive uses five

parameters: the color and x,y coordinates for both endpoints.

Command syntax

LINE color x_start y_start x_end y_end

color

available colors

x_start, y_start, x_ end, y_end

positive integer number

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

LINE yellow 20 5 320 240

// Draw yellow line from X=20, Y=5 to X=320, Y=240

ALLU // Update hardware to current buffer contents

Advertising
This manual is related to the following products: