diff options
Diffstat (limited to 'src/fl_vertex.cxx')
| -rw-r--r-- | src/fl_vertex.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index 2e4313e6a..1a425895c 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -125,22 +125,6 @@ double Fl_Graphics_Driver::transform_dy(double x, double y) { return x*m.b + y*m.d; } -void Fl_Graphics_Driver::transformed_vertex0(COORD_T x, COORD_T y) { - if (!n || x != p[n-1].x || y != p[n-1].y) { - if (n >= p_size) { - p_size = p ? 2*p_size : 16; - p = (XPOINT*)realloc((void*)p, p_size*sizeof(*p)); - } - p[n].x = x; - p[n].y = y; - n++; - } -} - -void Fl_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--; -} - // // End of "$Id$". // |
