Author: manolo
Date: 2012-05-08 09:17:44 -0700 (Tue, 08 May 2012)
New Revision: 9464
Log:
Fixed fltk3::GDIGraphicsDriver::gap()

Modified:
   branches/branch-3.0/src/fltk3/vertex.cxx

Modified: branches/branch-3.0/src/fltk3/vertex.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/vertex.cxx    2012-05-08 16:15:34 UTC (rev 
9463)
+++ branches/branch-3.0/src/fltk3/vertex.cxx    2012-05-08 16:17:44 UTC (rev 
9464)
@@ -272,7 +272,7 @@
 void fltk3::GDIGraphicsDriver::gap() {
   while (n>gap_+2 && p[n-1].x == p[gap_].x && p[n-1].y == p[gap_].y) n--;
   if (n > gap_+2) {
-    transformed_vertex((COORD_T)p[gap_].x, (COORD_T)p[gap_].y);
+    transformed_vertex((COORD_T)p[gap_].x-origin_x(), 
(COORD_T)p[gap_].y-origin_y());
     counts[numcount++] = n-gap_;
     gap_ = n;
   } else {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to