diff options
| author | Manolo Gouy <Manolo> | 2016-03-30 16:27:41 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-30 16:27:41 +0000 |
| commit | 730f2d12b275552cc142970f4f8a6a21e1beb5f0 (patch) | |
| tree | 99c1ff41911cfeb6001e8c830ef18f9271db7fbc /FL | |
| parent | 4a633d2aefd5fd538a3b446beaad17ce9a9caa6d (diff) | |
Continue removing platform-dependent code from Fl_PostScript.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 316264264..b9afb2c22 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -236,6 +236,8 @@ public: virtual uchar **mask_bitmap() { return 0; } /** Support for pixmap drawing */ virtual void mask_bitmap(uchar **) {} + // default implementation may be enough + virtual float scale_font_for_PostScript(Fl_Font_Descriptor *desc, int s) { return float(s); } // each platform implements that its own way static void add_rectangle_to_region(Fl_Region r, int x, int y, int w, int h); protected: |
