Ticket #65002: patch-src_display_cairo-utils_cpp.diff
File patch-src_display_cairo-utils_cpp.diff, 638 bytes (added by detlevd (Detlev Droege), 2 years ago) |
---|
-
src/display/cairo-utils.cpp
old new 779 779 } else { 780 780 Geom::Affine xform = arc->unitCircleTransform() * trans; 781 781 // Don't draw anything if the angle is borked 782 if(std::isnan(arc->initialAngle() ) || std::isnan(arc->finalAngle())) {782 if(std::isnan(arc->initialAngle().radians0()) || std::isnan(arc->finalAngle().radians0())) { 783 783 g_warning("Bad angle while drawing EllipticalArc"); 784 784 break; 785 785 }