summaryrefslogtreecommitdiff
path: root/FL/Fl_PostScript.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-03-10 21:06:22 +0000
committerManolo Gouy <Manolo>2015-03-10 21:06:22 +0000
commitdbde470f8d9803d6986ff57b7dfcb40d679508b7 (patch)
tree4d7fbeb02dcd207e96922506e6f0a71da796db45 /FL/Fl_PostScript.H
parentcc2436954d9c281b2a0589e5fc3fe89fa9d4aede (diff)
Added Fl_Shared_Image::scale(width, height) to support scaled image drawing (STR #3185).
Useful for printing, PostScript or PDF output, or retina displays. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_PostScript.H')
-rw-r--r--FL/Fl_PostScript.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H
index 8860e331f..19692c455 100644
--- a/FL/Fl_PostScript.H
+++ b/FL/Fl_PostScript.H
@@ -213,6 +213,8 @@ class Clip {
void draw(Fl_Pixmap * pxm,int XP, int YP, int WP, int HP, int cx, int cy);
void draw(Fl_Bitmap * bitmap,int XP, int YP, int WP, int HP, int cx, int cy);
void draw(Fl_RGB_Image * rgb,int XP, int YP, int WP, int HP, int cx, int cy);
+ int draw_scaled(Fl_RGB_Image *img, int XP, int YP, int WP, int HP);
+ int draw_scaled(Fl_Pixmap *img, int XP, int YP, int WP, int HP);
int clocale_printf(const char *format, ...);
~Fl_PostScript_Graphics_Driver();
};