nanogui: GrFillPoly doesn't work on concave polygon


Previous by date: 1 Mar 2002 15:43:53 -0000 (È«º¸)ÃÖ°­È«º¸ÇÁ·Î±×·¥!!È«º¸°ÆÁ¤³¡., only1249@yahoo.com
Next by date: 1 Mar 2002 15:43:53 -0000 Re: GrFillPoly doesn't work on concave polygon], Jordan Crouse
Previous in thread:
Next in thread: 1 Mar 2002 15:43:53 -0000 Re: GrFillPoly doesn't work on concave polygon, Simon Wood

Subject: GrFillPoly doesn't work on concave polygon
From: "Patrice Mancini" ####@####.####
Date: 1 Mar 2002 15:43:53 -0000
Message-Id: <C4986887AFD0FE4FAB6D5EB312E9BDD30417BC@ncemx.smart-fusion.com>

 
If I try to fill a concave polygone, nothing is drawn...
 
 
 
GR_POINT pt1[5] = {{10,20},{150,30},{120,120},{60,60},{15,100}};
GR_POINT pt2[5] = {{10,20},{150,30},{120,120},{60,160},{15,100}};
 
 
GrPoly(w1,gc1,5,pt1); // OK
GrFillPoly(w1,gc1,5,pt1); // Fail to draw
 
GrPoly(w1,gc1,5,pt2);  // OK
GrFillPoly(w1,gc1,5,pt2); // OK 
 
I have this problem with the last release (0.89-pre-8) seems OK with previous release.
 
Patrice

Previous by date: 1 Mar 2002 15:43:53 -0000 (È«º¸)ÃÖ°­È«º¸ÇÁ·Î±×·¥!!È«º¸°ÆÁ¤³¡., only1249@yahoo.com
Next by date: 1 Mar 2002 15:43:53 -0000 Re: GrFillPoly doesn't work on concave polygon], Jordan Crouse
Previous in thread:
Next in thread: 1 Mar 2002 15:43:53 -0000 Re: GrFillPoly doesn't work on concave polygon, Simon Wood


Powered by ezmlm-browse 0.20.