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. Thus, the regions drawn by the brush and pen may partially overlap.
( -> void
send a-dc draw-arc x y width height start-radians end-radians)
x : real number
y : real number
width : non-negative real number
height : non-negative real number
start-radians : real number
end-radians : real number
Draws a counter-clockwise circular arc, a part of the ellipse
inscribed in the rectangle specified by x (left), y
(top), width, and height. The arc starts at the angle
specified by start-radians (0 is 3 o'clock) and continues
counter-clockwise to end-radians. If start-radians and
end-radians are 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<%>.