17#ifndef Fl_SVG_File_Surface_H
18#define Fl_SVG_File_Surface_H
20#include <FL/Fl_Widget_Surface.H>
49 int (*closef_)(FILE*);
A drawing surface producing a Scalable Vector Graphics (SVG) file.
Definition Fl_SVG_File_Surface.H:47
void untranslate() FL_OVERRIDE
Undoes the effect of a previous translate() call.
~Fl_SVG_File_Surface()
Destructor.
Fl_SVG_File_Surface(int width, int height, FILE *svg, int(*closef)(FILE *)=NULL)
Constructor of the SVG drawing surface.
void translate(int x, int y) FL_OVERRIDE
Translates the current graphics origin accounting for the current rotation.
void origin(int *x, int *y) FL_OVERRIDE
Computes the coordinates of the current origin of graphics functions.
FILE * file()
Returns the underlying FILE pointer.
void origin(int x, int y) FL_OVERRIDE
Sets the position of the origin of graphics in the drawable part of the drawing surface.
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46