summaryrefslogtreecommitdiff
path: root/src/c_fl_rgb_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_rgb_image.cpp')
-rw-r--r--src/c_fl_rgb_image.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c_fl_rgb_image.cpp b/src/c_fl_rgb_image.cpp
index 96b5266..e91eec2 100644
--- a/src/c_fl_rgb_image.cpp
+++ b/src/c_fl_rgb_image.cpp
@@ -30,3 +30,10 @@ void fl_rgb_image_desaturate(RGB_IMAGE i) {
}
+
+
+void fl_rgb_image_draw(RGB_IMAGE i, int x, int y, int w, int h, int cx, int cy) {
+ reinterpret_cast<Fl_RGB_Image*>(i)->draw(x, y, w, h, cx, cy);
+}
+
+