Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » problems drawing in Linux (ubuntu 7.10)
Re: problems drawing in Linux (ubuntu 7.10) [message #15336 is a reply to message #15328] |
Wed, 16 April 2008 18:19   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Hi Mirek,
The code above appears to just draw each subpolygon as a filled polygon with no reference to the other subpolygons. This means that complex polygons containing holes cannot be drawn correctly. Having searched for information on drawing complex polygons with X11 it seems there is no way to do this. The XFillPolygon documentation talks about complex polygon but gives no way to actually draw one.
Got to say, sometimes Linux makes MS Windows look disappointingly good.
Nick
EDIT: I wonder how slow it would be to fill the polygons myself using line-crossing and an odd-even fill rule. I'll try to make time to look into this.
[Updated on: Wed, 16 April 2008 18:26] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jul 06 00:23:02 CEST 2025
Total time taken to generate the page: 0.03707 seconds
|