Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

line-to

Generic function

Summary

Draws a line from the current position in the path to a new position.

Signature

line-to drawable x y => ()
line-to* drawable point => ()

Arguments

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

The following arguments are specific to line-to.

x
An instance of type <real>.

y
An instance of type <real>.

The following argument is specific to line-to*.

point
An instance of type <transform>.

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Draws a line from the current position in the path to (x,y).

This function is used, in combination with move-to, curve-to, and arc-to, to define a path. The function start-path should be used to start the definition of the path, and end-path can be used to finish the definition.

The function line-to* is identical to line-to, 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

arc-to, page 404

curve-to, page 411

draw-bezier-curve, page 416

draw-line, page 421

move-to, page 442


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index