double lastx(-2.0), lasty(-2.0); @@ -1339,9 +1341,15 @@
> }
> catch (...) { moveto = true; + skippoint = true;
> continue;
> }
> - + else + if (MPL_isnan64(thisx) || MPL_isnan64(thisy)) {
> + moveto = true; + skippoint = true;
I don't think you need skippoint. A combination of setting "moveto"
with "continue" should suffice. continue implicitly skips the point,
and setting the moveto flag indicates to agg not to connect the
previous with the next point.
catch (...) {
moveto = true;
continue;
}
else
if (MPL_isnan64(thisx) || MPL_isnan64(thisy)) {
moveto = true;
continue;
}
JDH