ZLM

Draws graphics using the mouse.


Formats

ZLM BOX color height width [keywords]
ZLM CIRCLE color height width [keywords]
ZLM DRAW color SMOOTH=
ZLM FILL
color height width [keywords]
ZLM FREE color


Parameters

BOX

draws a box

CIRCLE

draws a circle or ellipse

DRAW

draws a smooth, continuous line as you move the mouse

FILL

draws and fills a box

FREE

draws a straight line between points selected with the mouse (default)

color

graphics color level (default=3)

 

0

erases graphics when used with the FILL option

height

height of the box, circle or ellipse, in pixels (default=cursor height)

width

width of the box, circle or ellipse, in pixels (default=cursor width)


Keywords

DASh=

YES

draw dashed lines for BOX, CIRCLE, DRAW or FREE option

 

NO

draw solid lines (default)

GRA=

graphics frame number to display output; valid only with MODE=N and BOX, CIRCLE, or FILL option (default=current)

MODe=

I

interactive mode (default)

 

N

non-interactive "batch" mode; draws shape centered at line and element position specified in POS keyword on the graphics frame specified with the GRA keyword; valid only with BOX, CIRCLE, or FILL option

POS=

line ele

TV line and element position to center the shape on; valid only with MODE=N and BOX, CIRCLE, or FILL option (default=current cursor position)

SMOoth=

number of samples to take for the running average; use with the DRAW option; the range is 1-50; larger numbers produce smoother lines (default=3)


Examples

ZLM

This entry permits straight-line freehand drawing in graphics color level 3. The response is:

Move mouse to position the cursor on the image frame.
Press the MIDDLE mouse button to select point for option.
Press the RIGHT mouse button to end segment.
Press MIDDLE AND RIGHT mouse buttons or type Alt+Q to end ZLM.

ZLM BOX

This entry displays the response below on the screen.

Move mouse to position the cursor on the image frame.
Press the RIGHT mouse button to draw the box.
Press MIDDLE AND RIGHT mouse buttons or type Alt+Q to end ZLM.

ZLM DRAW 4 SMOOTH=10

This entry displays the response below on the screen.

Move mouse to position cursor on the image frame.
Press MIDDLE mouse button and hold, while moving
the cursor wherever on the screen you want to draw.
Press RIGHT mouse button to end segment.
Press MIDDLE AND RIGHT mouse buttons or type Alt+Q to end ZLM.

Following the above directions produces a smooth line drawing in graphics color level 4 with a running average of 10.

ZLM BOX 7 25 630 MODE=N POS=450 320 GRA=5

This entry draws a 25- by 630-pixel box in graphics color level 7 centered at TV coordinate 450,320 on graphics frame 5.