Falk Joensson's
Eas (Easy Application Script)

Rendering 2D Drawings:08. Drawing Partial Circles

DRAW'ARC:x 0 y 0 r 90 s 135 f 75 draws a partial circle with the center point given by x,y and the radius r given in percent of the coordinates box width or height, whichever is narrower, starting at the angle s in clockwise degrees from up, f percent of a full circle clockwise if f>0 or counterclockwise if f<0
DRAW'PIE:x 0 y 0 r 90 s 135 f 75 m 0 draws the remainder of a cut pie (optionally filled, see F Filling Shapes) with the center point given by x,y and the radius r given in percent of the coordinates box width or height, whichever is narrower, starting at the angle s in clockwise degrees from up, f percent of a full circle clockwise if f>0 or counterclockwise if f<0, the cut wedge modified by m (0≤m≤1) where 0 = regular wedge (cut until center of pie) 0.5 = cut only halfways towards the center 1 = one straight cut (180° "wedge")
DRAW'ARC:t x 0 y 0 ... DRAW'PIE:t x 0 y 0 ... before x,y you can use a relativeness prefix, see the last option under S Drawing Shapes
08. Drawing Partial Circles
D Download Eas 4B
O Donate
C Contact
Esc Search / Table of Contents