On 2011-03-02 13:37-0800 Alan W. Irwin wrote:

> For the wingcc device, I believe you need to call the SetPolyFillMode
> Function (http://msdn.microsoft.com/en-us/library/dd145080.aspx) to
> set up either the oddeven (ALTERNATE) or nonzero (WINDING) fill modes
> for self-intersecting boundaries.  Could somebody with access to
> windows implement one of the two possible calls of SetPolyFillMode
> depending on the value of pls->dev_eofill (set by the -eofill option)?

hmm.  I just remembered I have access to a Windows platform myself
(wine), and this change (revision 11589) worked well there.  For the
"MSYS Makefiles" generator the test was straightforward (after running
cmake with the -DBUILD_TEST=ON option):

make -j4 wingcc
make x27c
examples/c/x27c.exe -dev wingcc -eofill
examples/c/x27c.exe -dev wingcc

The -eofill run-time option (or dropping that option) with
-dev wingcc now gives the same results for example 27 under wine as
-dev xwin under Linux.  A probably explanation is the wine display must
ultimately be translated into an X display (assuming the wine
implementation of Windows does not do its own fill rules).

A more interesting experiment would be to run -dev wingcc under
Microsoft Windows with and without the -eofill option for example 27
to see what the Microsoft fill rules look like.  Therefore, could
somebody please do these two Microsoft Windows platform tests and
report back what is seen for the two different fill rules?  In
particular do you get the same results as the screenshot attachments
located at https://bugs.freedesktop.org/show_bug.cgi?id=34877?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to