Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

draw-lines

Generic function

Summary

Draws a series of lines between the specified sequence of points.

Signature

draw-lines drawable coord-seq => ()
draw-lines* drawable points => ()

Arguments

drawable
An instance of type type-union(<sheet>, <medium>).

The following argument is specific to draw-lines.

coord-seq
An instance of type limited(<sequence>, of: <coordinate>).

The following argument is specific to draw-lines*.

points
An instance of type limited(<sequence>, of: <point>).

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws a series of lines on drawable between the specified sequence of points, using the current pen. Dashed lines start dashing from the first point of each line.

The function draw-lines* is identical to draw-line, except that it passes composite objects, rather than separate coordinates, in its arguments. You should be aware that using this function may lead to a loss of performance.

Example

draw-lines(medium,
           vector(100, 150, 
                  200, 250, 
                  300, 350, 
                  400, 450));

See also

draw-line, page 421

draw-points, page 427

draw-rectangles, page 431


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index