Fix arcs drawing in Cairo.

This commit is contained in:
Alex Shvartzkop 2023-08-25 00:06:51 +03:00
parent f842e6ac7a
commit 16c35857bf
1 changed files with 2 additions and 2 deletions

View File

@ -155,8 +155,8 @@ void CAIRO_GAL_BASE::arc_angles_xform_and_normalize( double& aStartAngle, double
endAngle = M_PI - endAngle;
}
while( endAngle < startAngle )
endAngle += M_PI * 2;
// Normalize arc angles
SWAP( startAngle, >, endAngle );
// now rotate arc according to the rotation transform matrix
// Remark: