Draw_ellipse – CognitiveTPG DLXi User Manual

Page 67

Advertising
background image

S T A N D A R D P R I N T E R C O M M A N D S

DRAW_ELLIPSE

Function

Draws an ellipse located by the upper left corner of

a rectangle enclosing the ellipse on the label.

Explicit Form

DRAW_ELLIPSE x y w h

t c

Parameters

x

X coordinate of upper left corner of
enclosing rectangle.

y

Y coordinate of upper left corner of
enclosing rectangle.

w

Ellipse width, measured in dot
columns. Must be greater than zero.

h

Ellipse height, measured in dot

rows. Must be greater than zero.

Optional; specifies line thickness in

dots. The default is 1. If t is greater
than 1, the x, y, w, and h parameters

refer to the box outside dimensions.

t

c

Optional; specifies plotting modes.

B=plot black, W=plot white

Comments

DRAW_ELLIPSE

can draw a rectangle enclosing an

ellipse if you set t and h or w equal to 1, but the

lines are two dots wide. Figures drawn with this
command may not print well at 200 DPI or higher

resolution unless the t parameter is 2 or more.
Some early printers do not support the t parameter,

in which case we suggest using multiple
FILL_ELLIPSE

commands to create boxes with

thicker lines.

Example

DRAW_ELLIPSE 90 15 50 75 15

DRAW_ELLIPSE 75 105 225 200 100

DRAW_ELLIPSE 150 5 175 100 1

58

Revision F, January 2012, CognitiveTPG

Advertising
This manual is related to the following products: