summaryrefslogtreecommitdiff
path: root/src/fl_vertex.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-26 14:36:11 +0000
committerManolo Gouy <Manolo>2016-03-26 14:36:11 +0000
commit915d6c643a8b4e31ea79fdad81761d26b42530f5 (patch)
tree8756c72f988596beb8e55382f40ff04142816057 /src/fl_vertex.cxx
parente86e4a6ab0e3ad8ccbb694909383f5d72b9b4c92 (diff)
Isolate the definition of the 3 public, OS-dependent types (Fl_Offscreen, Fl_Region, Fl_Bitmask).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_vertex.cxx')
-rw-r--r--src/fl_vertex.cxx16
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$".
//