Simpler implementation of class SVG_Graphics_Driver is enough.

This commit is contained in:
ManoloFLTK 2018-12-04 12:31:55 +01:00
parent 549d3555a1
commit 45278560f2

View File

@ -50,51 +50,11 @@ protected:
void draw(const char *str, int n, int x, int y);
void draw(const char*, int, float, float) ;
void draw(int, const char*, int, int, int) ;
void rtl_draw(const char*, int, int, int) {}
void color(uchar r, uchar g, uchar b);
void color(Fl_Color c);
void draw_image(const uchar*, int, int, int, int, int, int) {}
void draw_image_mono(const uchar*, int, int, int, int, int, int) {}
void draw_image(void (*)(void*, int, int, int, uchar*), void*, int, int, int, int, int) {}
void draw_image_mono(void (*)(void*, int, int, int, uchar*), void*, int, int, int, int, int) {}
void draw(Fl_RGB_Image*, int, int, int, int, int, int) {}
void draw(Fl_Pixmap*, int, int, int, int, int, int) {}
void draw(Fl_Bitmap*, int, int, int, int, int, int) {}
double width(const char*, int) ;
int height() ;
int descent() ;
void push_clip(int x, int y, int w, int h) {}
void pop_clip(){}
void xyline(int x, int y, int x1){}
void xyline(int x, int y, int x1, int y2){}
void yxline(int x, int y, int y1){}
void yxline(int x, int y, int y1, int x2){}
virtual void point(int x, int y) {}
virtual void line(int x, int y, int x1, int y1, int x2, int y2) {}
virtual void xyline(int x, int y, int x1, int y2, int x3) {}
virtual void yxline(int x, int y, int y1, int x2, int y3) {}
virtual void loop(int x0, int y0, int x1, int y1, int x2, int y2) {}
virtual void loop(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3) {}
virtual void polygon(int x0, int y0, int x1, int y1, int x2, int y2) {}
virtual void polygon(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3) {}
virtual int clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H) {return 0;}
virtual int not_clipped(int x, int y, int w, int h) {return 0;}
virtual void push_no_clip() {}
virtual void begin_complex_polygon() {}
virtual void transformed_vertex(double xf, double yf) {}
virtual void vertex(double x, double y) {}
virtual void end_points() {}
virtual void end_line() {}
virtual void end_loop() {}
virtual void end_polygon() {}
virtual void end_complex_polygon() {}
virtual void gap() {}
virtual void circle(double x, double y, double r) {}
virtual void arc(int x, int y, int w, int h, double a1, double a2) {}
virtual void pie(int x, int y, int w, int h, double a1, double a2) {}
virtual Fl_Bitmask create_bitmask(int w, int h, const uchar *array) {return 0;}
virtual void delete_bitmask(Fl_Bitmask bm) {}
};
class SVG_File_Surface : public Fl_Surface_Device {