A graphics port.
A real number.
A real number.
A real number.
A real number.
A boolean.
graphics-state parameters passed as keyword arguments.
The
draw-rectangle
function draws a rectangle whose corners are (
x y
), (
x+width y
), (
x+width y+height
) and (
x y+height
).
filled
, if non-
nil
, causes a filled rectangle 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.
CAPI Reference Manual - 15 Dec 2011