diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-23 00:42:18 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-23 00:42:18 +0000 |
| commit | 237ae161367455a103f2a5fb0c61cfbbc51ccf7d (patch) | |
| tree | f57868f78ef596af9346719ce0ee1bafbc7259db /src | |
| parent | d1d136fa1b94fe33c2b5a5884fbdcb4842102b22 (diff) | |
Last set of Xlib fixes for vertex drawing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/cfg_gfx/xlib_vertex.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cfg_gfx/xlib_vertex.cxx b/src/cfg_gfx/xlib_vertex.cxx index 082a446c3..9fe73a27c 100644 --- a/src/cfg_gfx/xlib_vertex.cxx +++ b/src/cfg_gfx/xlib_vertex.cxx @@ -52,10 +52,6 @@ void Fl_Xlib_Graphics_Driver::end_line() { if (n>1) XDrawLines(fl_display, fl_window, fl_gc, p, n, 0); } -void Fl_Xlib_Graphics_Driver::fixloop() { // remove equal points from closed path - while (n>2 && p[n-1].x == p[0].x && p[n-1].y == p[0].y) n--; -} - void Fl_Xlib_Graphics_Driver::end_loop() { fixloop(); if (n>2) transformed_vertex((COORD_T)p[0].x, (COORD_T)p[0].y); @@ -113,7 +109,7 @@ void Fl_Xlib_Graphics_Driver::circle(double x, double y,double r) { (fl_display, fl_window, fl_gc, llx, lly, w, h, 0, 360*64); } -#endif FL_CFG_GFX_XLIB_VERTEX_CXX +#endif // FL_CFG_GFX_XLIB_VERTEX_CXX // // End of "$Id$". |
