propagate changes for arcs with negative b angle to svgdraw and psprint

This commit is contained in:
stefan schippers 2025-11-01 02:08:17 +01:00
parent 442436a8aa
commit ba020c243e
2 changed files with 9 additions and 0 deletions

View File

@ -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;

View File

@ -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;