Re: [fltk.general] Re: filled non-convex polygon disappears when rotated

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: filled non-convex polygon disappears when rotated imm 05:17 Oct 24 top right image

On the basis of not having tried, or even looked at, your code (I'm on my phone today...) my initial reaction is to check the winding order of your polygon.

I can't remember if fltk winds clockwise or anticlockwise, but I know I've been caught by that in the past, since that defines whether right or left of the line is "inside" the polygon for filling.
From my Fairphone FP3

You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2020 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.