|
|
1.1 ! root 1: #include "pen.h" ! 2: arc(x1, y1, x2, y2, xc, yc, r) ! 3: double x1, y1, x2, y2, xc, yc, r; ! 4: { ! 5: float th; ! 6: if(noscale){ ! 7: x1 = SCX(x1); ! 8: y1 = SCY(y1); ! 9: x2 = SCX(x2); ! 10: y2 = SCY(y2); ! 11: xc = SCX(xc); ! 12: yc = SCY(yc); ! 13: r = SCX(r); ! 14: } ! 15: th = theta(x1,y1,x2,y2,xc,yc,r); ! 16: penUp(); ! 17: fprintf(pltout,"PA %8.2f,%8.2f; PD; AA %8.2f,%8.2f,%8.2f;\n", ! 18: x1,y1,xc,yc,th); ! 19: penstate = DOWN; ! 20: ckerr(0); ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.