Draws several rectangles.
graphics-ports
draw-rectangles port description &rest args &key filled
port⇩ |
A graphics port. |
description⇩ |
A description sequence. |
args⇩ |
graphics-state parameters passed as keyword arguments. |
filled⇩ |
A boolean. |
The function draw-rectangles
draws several rectangles as specified by description. This is usually more efficient than making several calls to draw-rectangle. description is a repeating sequence of values of the form x y width height.
filled, if true, 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 where the x coordinate is x+width or the y coordinate is y+height while a non-filled rectangle does. This function works correctly if port's transform includes rotation.
The transform, foreground, background, operation, thickness, scale-thickness, dashed, dash, line-joint-style, mask, pattern, shape-mode and compositing-mode from port's graphics-state are all used, unless overridden in args. Additionally on X11/Motif only, stipple is used.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15