A graphics port.
A real number.
A real number.
A real number.
A real number.
A real number.
graphics-state parameters passed as keyword arguments.
A boolean.
The function draw-ellipse
draws an ellipse of the given radii 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 true, the ellipse is filled with the
foreground
color.
draw-ellipse
does not work properly under a rotation transform when
port
's
drawing-mode
is :compatible
. A workaround is to use a many-sided polygon drawn by draw-polygon which will be rotated correctly.draw-ellipse
does work properly under any transform when
port
's
drawing-mode
is :quality
.
(gp:draw-ellipse port 100 100 20 40)
(gp:draw-ellipse port 100 100 50 10
:filled t
:foreground :green)
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017