All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS 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 function draw-line draws a line from ( from-x from-y ) to ( to-x to-y ).

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

See also

draw-lines
graphics-state
Drawing - Graphics Ports


CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015

NextPrevUpTopContentsIndex