>> Note that I have tested this up to the point of checking in the >> debugger that the correct fill rule is recognised by the viewer and >> the correct parameter is passed in to the wxWidgets fill function. >> This definitely works correctly both with and without -eofill >> specified for example 27. However I didn't spot a difference in the >> output. Maybe you can check it if you know how it should look > > > Hi Phil: > > I suspect you didn't go far enough into the pages of the example to > encounter the fill results for the more complex figures. If you do > that, e.g., page 19 of the example (see > <http://www.plplot.org/examples-data/demo27/x27.19.png> which was > generated with -dev pngcairo and the -eofill option), the result > should have many holes in the fill region relative to the same page > generated without the -eofill option. If you don't see that > difference on Windows, I feel that is likely due to a wxWidgets > library bug on Windows since that difference does show up in the Linux > case. > > Anyhow, thanks very much for this fix, and I have changed the status > of https://sourceforge.net/p/plplot/bugs/174/ to closed-fixed.
I get output just like that image without the -eofill parameter. I suspect that as you said this is a bug in wxWidgets on Windows. I'm not exactly sure how the differences are supposed to manifest. If you could send me a relatively simple polygon that should give different output depending upon which rule is used and a description of what should be different then I will generate a test case and submit a bug report. > > With regard to your remark concerning writing a plsfillrule() function > and systematically using it throughout src/plargs.c, I wouldn't want > to do that myself, but if you or Jim want to make such a change and it > passes comprehensive testing, I certainly would not object. I can add a new API function if you think it is useful, but I can only propagate it as far as the C and C++ APIs, someone else would have to propagate it to other languages as needed. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel