chickadee » libui » path-new-figure-with-arc!

path-new-figure-with-arc! PATH XCENTER YCENTER RADIUS START-ANGLE SWEEP #!optional NEGATIVE?procedure

Starts a new figure that starts with an arc segment at XCENTER and YCENTER with RADIUS for PATH. START-ANGLE and SWEEP describe what angle to start from and the angular length of the arc in radians. If NEGATIVE? is #t, the arc will be drawn counter-clockwise, otherwise clockwise. Note that this is commonly used to draw circles.