diff options
| author | Manolo Gouy <Manolo> | 2017-09-13 16:15:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-09-13 16:15:34 +0000 |
| commit | 435d135825fd276edc5246a55f37b6873feb2ae2 (patch) | |
| tree | eded8a63366c058673e4b152ccb74c3fa4985ff6 /FL/Fl_Graphics_Driver.H | |
| parent | be7e7f0ee88f18da253f86804f8d58a8bbbb1f76 (diff) | |
SVG support: draw images at full screen resolution also when there are several pixels per graphical unit, as with Apple retina displays.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 1a45d375f..1d740a055 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -167,7 +167,6 @@ protected: */ virtual void draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) {} virtual void draw(Fl_Shared_Image *shared, int X, int Y); - virtual int draw_scaled(Fl_Image *img, int X, int Y, int W, int H); virtual void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); /** Support function for image drawing */ @@ -389,6 +388,8 @@ public: virtual const char *font_name(int num) {return NULL;} /** Support for Fl::set_font() */ virtual void font_name(int num, const char *name) {} + /** Support function for Fl_Shared_Image drawing */ + virtual int draw_scaled(Fl_Image *img, int X, int Y, int W, int H); }; #ifndef FL_DOXYGEN |
