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;
|
endAngle = M_PI - endAngle;
|
||||||
}
|
}
|
||||||
|
|
||||||
while( endAngle < startAngle )
|
// Normalize arc angles
|
||||||
endAngle += M_PI * 2;
|
SWAP( startAngle, >, endAngle );
|
||||||
|
|
||||||
// now rotate arc according to the rotation transform matrix
|
// now rotate arc according to the rotation transform matrix
|
||||||
// Remark:
|
// Remark:
|
||||||
|
|
Loading…
Reference in New Issue