Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

draw-circle

Generic function

Summary

Draws a circle with the specified center and radius.

Signature

draw-circle drawable center-x center-y radius #key start-angle end-angle filled? => ()
draw-circle* drawable center radius #key start-angle end-angle filled? => ()

Arguments

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

radius
An instance of type <real>.

start-angle
An instance of type false-or(<real>).

end-angle
An instance of type false-or(<real>).

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

The following arguments are specific to draw-circle.

center-x
An instance of type <real>.

center-y
An instance of type <real>.

The following argument is specific to draw-circle*.

center
An instance of type <transform>.

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws a circle on drawable with center (center-x,center-y) and a radius of radius pixels, using the current pen.

The start-angle and end-angle arguments let you draw a sector of a circle rather than a whole circle.

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

The function draw-circle* is identical to draw-circle, 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-ellipse, page 418

draw-oval, page 424


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index