Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

draw-bezier-curve

Generic function

Summary

Draws a bezier curve through the specified set of points.

Signature

draw-bezier-curve sheet coord-seq #key filled? => ()
draw-bezier-curve* drawable points #key filled? => ()

Arguments

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

The following arguments are specific to draw-bezier-curve.

sheet
An instance of type <sheet>.

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

The following arguments are specific to draw-bezier-curve*.

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

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

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws a bezier curve on sheet or drawable (depending on the function you use) through the sequence of coordinates given by coord-seq, using the current pen. Dashed lines start dashing from the first point.

If filled? is #t then the bezier-curve will be filled, using the current brush.

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

curve-to, page 411

draw-line, page 421


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index