From 1e761c7b4491377fe9c91a37c438856178cc4f8e Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 28 Jul 2017 10:45:20 +1000 Subject: Finished up FLTK.Images and partially complete derivatives --- src/c_fl_rgb_image.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/c_fl_rgb_image.cpp') 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(i)->draw(x, y, w, h, cx, cy); +} + + -- cgit