Draw_circle – CognitiveTPG DLXi User Manual

Page 66

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_CIRCLE

Function

Draws a circle located by the upper left corner of a

square enclosing the circle.

Explicit Form

DRAW_CIRCLE x y d t c

Parameters

x

X coordinate of upper left corner of

enclosing square

y

Y coordinate of upper left corner of

enclosing square

d

Circle diameter. Must be greater
than zero.

t

Optional; specifies line thickness in
dots. The default is 1. If t is greater

than 1, the x and y parameters refer
to the box outside dimensions.

c

Optional; specifies plotting modes.

B=plot black, W=plot white.

Comments

DRAW_CIRCLE

can draw a circle enclosed by a

square on labels if you set t and d 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_CIRCLE

commands to create figures with

thicker lines.

Example

DRAW_CIRCLE 25 35 150 75

DRAW_CIRCLE 150 5 175 10

DRAW_CIRCLE 75 75 225 10


Revision F, January 2012, CognitiveTPG

57

Advertising
This manual is related to the following products: