Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

draw-oval

Generic function

Summary

Draws an oval with the specified center and radii.

Signature

draw-oval drawable center-x center-y x-radius y-radius #key filled? => ()
draw-oval* drawable center x-radius y-radius #key filled? => ()

Arguments

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

x-radius
An instance of type <real>.

y-radius
An instance of type <real>.

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

The following arguments are specific to draw-oval.

center-x
An instance of type <real>.

center-y
An instance of type <real>.

The following argument is specific to draw-oval*.

center
An instance of type <transform>.

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws an oval on drawable with center (center-x,center-y) and radii defined by x-radius and y-radius, using the current pen.

Ovals are similar to ellipses, except that they have straight edges.

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

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

draw-ellipse, page 418


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index