FLTK logo

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

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   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 Oct 24, 2020  
 
Paul,

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.
--
Ian
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 fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dYUsRtBXgqOvcvSupstqpoJpGHcsRN97MCFCYUC_K44kw%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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