Fix arcs drawing in Cairo.
This commit is contained in:
parent
f842e6ac7a
commit
16c35857bf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue