summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-25 11:19:44 +0000
committerManolo Gouy <Manolo>2018-04-25 11:19:44 +0000
commite59a06f75328996b2f8277f10983c992239807c2 (patch)
tree2144cc06c297f0ff85164c897c4d226f71eed780 /src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
parentc82fca51fa649fe993dbadb846abe4c521177a5b (diff)
Windows: fix fl_copy_offscreen() when input offscreen is scaled and output surface is printer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
index 20d129e75..694fcc59d 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
@@ -114,6 +114,10 @@ void Fl_GDI_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offsc
DeleteDC(new_gc);
}
+void Fl_GDI_Printer_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offscreen bitmap, int srcx, int srcy) {
+ Fl_Graphics_Driver::copy_offscreen(x, y, w, h, bitmap, srcx, srcy);
+}
+
BOOL Fl_GDI_Graphics_Driver::alpha_blend_(int x, int y, int w, int h, HDC src_gc, int srcx, int srcy, int srcw, int srch) {
return fl_alpha_blend(gc_, x, y, w, h, src_gc, srcx, srcy, srcw, srch, blendfunc);
}