propagate changes for arcs with negative b angle to svgdraw and psprint
This commit is contained in:
parent
442436a8aa
commit
ba020c243e
|
|
@ -606,6 +606,11 @@ static void ps_drawarc(int gc, int fillarc, double x,double y,double r,double a,
|
|||
double x1, y1, x2, y2;
|
||||
double psdash;
|
||||
|
||||
if(b < 0.0) {
|
||||
a = a + b;
|
||||
b = -b;
|
||||
}
|
||||
|
||||
xx=X_TO_PS(x);
|
||||
yy=Y_TO_PS(y);
|
||||
rr=r*xctx->mooz;
|
||||
|
|
|
|||
|
|
@ -237,6 +237,10 @@ static void svg_drawarc(int gc, int fillarc, double x,double y,double r,double a
|
|||
double xx1, yy1, xx2, yy2;
|
||||
int fs, fa;
|
||||
|
||||
if(b < 0.0) {
|
||||
a = a + b;
|
||||
b = -b;
|
||||
}
|
||||
xx=X_TO_SCREEN(x);
|
||||
yy=Y_TO_SCREEN(y);
|
||||
rr=r*xctx->mooz;
|
||||
|
|
|
|||
Loading…
Reference in New Issue