Thanks Lothar
I've tried your code (with degree to radian conversion : rad = deg * PI / 180) and it seems to works.
However, the suggestion goes far deeper than only drawing arc because integrated commands are faster than our compilated codes and as you see in the following example, I can't fill easely a large arc.
It's a good workaround but not enough
Example in GFABasic (3.0, from year 1991) :
Code: Select all
CIRCLE x,y,r [,phi0,phi1]
DEFFILL [col,][style,][pattern]
DRAW x1,y1 TO x2,y2 [TO x3,y3 ...]
ELLIPSE x,y,rx,ry [,phi0,phi1]
FILL x,y
LINE x,y,xx,yy
; Plain Box, circle, ellipse...
PBOX x,y,xx,yy
PCIRCLE x,y,r [,phi0,phi1]
PELLIPSE z,y,rx,ry [,phi0,phi1]
PRBOX x,y,xx,yy
POLYLINE n,x(),y() [OFFSET xx,yy]
POLYFILL n,x(),y() [OFFSET xx,yy]
POLYMARK n,x(),y() [OFFSET xx,yy]
RBOX x,y,xx,yy (rounded box)
Polyfill could be a great workaround
Full reference here :
http://www.geocities.ws/slaszcz/mup/gfaframe.html
Current graphics functions could be included like bezier or other S-curve, etc.
GFABasic :