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 /src/drivers/Cocoa | |
| 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 'src/drivers/Cocoa')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H index c13c5ed05..3335a39ff 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H @@ -96,6 +96,7 @@ public: virtual void open_display_platform(); // --- compute dimensions of an Fl_Offscreen virtual void offscreen_size(Fl_Offscreen o, int &width, int &height); + virtual float retina_factor() { return 2; } }; |
