From de12eddb59bea9ba529230d14cccf3dbef5518e4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 23 Jan 2016 20:22:50 +0000 Subject: Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/cfg_gfx/opengl.H | 58 ++++++++++++++++++++++------------------------------ 1 file changed, 24 insertions(+), 34 deletions(-) (limited to 'src/cfg_gfx/opengl.H') diff --git a/src/cfg_gfx/opengl.H b/src/cfg_gfx/opengl.H index 86abea41a..dae36eb20 100644 --- a/src/cfg_gfx/opengl.H +++ b/src/cfg_gfx/opengl.H @@ -62,40 +62,30 @@ public: void pop_clip(); void restore_clip(); // --- implementation is in src/fl_vertex.cxx which includes src/cfg_gfx/xxx_rect.cxx -// void transformed_vertex0(COORD_T x, COORD_T y); -// void fixloop(); -// void push_matrix(); -// void pop_matrix(); -// void mult_matrix(double a, double b, double c, double d, double x, double y); -// void rotate(double d); -// void begin_points(); -// void begin_line(); -// void begin_loop(); -// void begin_polygon(); -// void begin_complex_polygon(); -// double transform_x(double x, double y); -// double transform_y(double x, double y); -// double transform_dx(double x, double y); -// double transform_dy(double x, double y); -// void transformed_vertex(double xf, double yf); -// void vertex(double x, double y); -// void end_points(); -// void end_line(); -// void end_loop(); -// void end_polygon(); -// void end_complex_polygon(); -// void gap(); -// void circle(double x, double y, double r); - void begin_complex_polygon() { } - void transformed_vertex(double xf, double yf) { } - void vertex(double x, double y) { } - void end_points() { } - void end_line() { } - void end_loop() { } - void end_polygon() { } - void end_complex_polygon() { } - void gap() { } - void circle(double x, double y, double r) { } + // void push_matrix(); + // void pop_matrix(); + // void mult_matrix(double a, double b, double c, double d, double x, double y); + // void rotate(double d); + // double transform_x(double x, double y); + // double transform_y(double x, double y); + // double transform_dx(double x, double y); + // double transform_dy(double x, double y); + void transformed_vertex0(COORD_T x, COORD_T y); + void transformed_vertex(double xf, double yf); + void vertex(double x, double y); + void begin_points(); + void end_points(); + void begin_line(); + void end_line(); + void begin_loop(); + void end_loop(); + void begin_polygon(); + void end_polygon(); + void begin_complex_polygon(); + void gap(); + void end_complex_polygon(); + void fixloop(); + void circle(double x, double y, double r); }; -- cgit v1.2.3