draw-arc in dc<%>
Draws an arc. The current pen is used for the arc and the current brush for filling a wedge.
If both the pen and brush are non-transparent, the wedge is filled with the brush before the arc is drawn with the pen. The wedge and arc meet so that no space is left between them, but the precise overlap between the wedge and arc is platform- and size-specific. Typically, the regions drawn by the brush and pen overlap. More generally, the pen is centered over the outline of the arc, rounding toward the center in unsmoothed mode.
(-> voidsenda-dcdraw-arcxywidthheightstart-radiansend-radians)
x: real number
y: real number
width: non-negative real number
height: non-negative real number
start-radians: real number
end-radians: real numberDraws a counter-clockwise circular arc, a part of the ellipse inscribed in the rectangle specified by
x(left),y(top),width, andheight. The arc starts at the angle specified bystart-radians(0is three o'clock and half-pi is twelve o'clock) and continues counter-clockwise toend-radians. Ifstart-radiansandend-radiansare the same, a full ellipse is drawn.If the current brush is not transparent, it is used to fill the wedge bounded by the arc plus lines (not drawn) extending to the center of the inscribed ellipse.
Restrictions on the magnitude of drawing coordinates are described with
dc<%>.