summaryrefslogtreecommitdiff
path: root/src/Fl_Bitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Bitmap.cxx')
-rw-r--r--src/Fl_Bitmap.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 450886d38..9baacf321 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -232,6 +232,11 @@ Fl_Image *Fl_Bitmap::copy(int W, int H) {
}
+int Fl_Bitmap::draw_scaled_(int X, int Y, int W, int H) {
+ return (W <= w() && H <= h()) ? fl_graphics_driver->draw_scaled(this, X, Y, W, H) : 0;
+}
+
+
//
// End of "$Id$".
//