All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

draw-line

Function
Summary

Draws a line between two given points.

Package

graphics-ports

Signature

draw-line port from-x from-y to-x to-y &rest args

Arguments

port

A graphics port.

from-x

A real number.

from-y

A real number.

to-x

A real number.

to-y

A real number.

args

graphics-state parameters passed as keyword arguments.

Description

The draw-line function draws a line from ( from-x from-y ) to ( to-x to-y ).

The graphics-state parameters transform, foreground, background, operation, thickness, scale-thickness, dashed, dash, line-end-style , mask , shape-mode and compositing-mode are used. Additionally on Unix only, stipple and pattern are used.

See also

draw-lines
graphics-state


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex