A graphics port.
A real number.
A real number.
A real number.
graphics-state parameters passed as keyword arguments.
A boolean.
The function draw-circle
draws a circle of the given radius centered on (
x
y
). The
transform
,
foreground
,
background
,
operation
,
thickness
,
scale-thickness
,
mask
,
shape-mode
and
compositing-mode
from the port's graphics-state are all used, unless overridden in
args
. When
filled
is non-nil, the circle is filled with the foreground color.
draw-circle
does not work properly under a rotation transform (see make-transform). A workaround is to use a many-sided polygon drawn by draw-polygon which will be rotated correctly.
(gp:draw-circle port 100 100 20)
(gp:draw-circle port 100 100 50
:filled t
:foreground :green)
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015