Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

draw-rectangles

Generic function

Summary

Draws a sequence of rectangles at the specified positions.

Signature

draw-rectangles drawable coord-seq #key filled? => ()
draw-rectangles* drawable points #key filled? => ()

Arguments

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

filled?
An instance of type <boolean>. Default value: #t.

The following argument is specific to draw-rectangles.

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

The following argument is specific to draw-rectangles*.

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

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws a sequence of rectangles on drawable with left and right corners at the specified positions, using the current pen. Dashed lines start dashing at the starting point of the first segment of each rectangle.

If filled? is #t then the rectangles will be filled, using the current brush.

The function draw-rectangles* is identical to draw-rectangles, 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.

See also

draw-lines, page 423

draw-points, page 427

draw-rectangle, page 430


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index