All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

draw-rectangles

Function
Summary

Draws several rectangles.

Package

graphics-ports

Signature

draw-rectangles port description &rest args &key filled

Arguments

port

A graphics port.

description

A description sequence.

filled

A boolean.

args

graphics-state parameters passed as keyword arguments.

Description

The draw-rectangles function draws several rectangles as specified in description which consists of a group of values given as x y width height .

filled , if non- nil , causes filled rectangles to be drawn. While the exact results are host-specific, it is intended that a filled rectangle does not include the lines (x = x+width) and (y = y+height ) while a non-filled rectangle does. This function works correctly if the port 's transform includes rotation.

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

See also

draw-rectangle


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex