diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-07-28 10:45:20 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-07-28 10:45:20 +1000 |
commit | 1e761c7b4491377fe9c91a37c438856178cc4f8e (patch) | |
tree | 2db00fc8f8179703dcf7ae6b3e3d22f6ae777b61 /src/c_fl_rgb_image.cpp | |
parent | fb37523537cdb69a31dede401a604981ce8b7b9d (diff) |
Finished up FLTK.Images and partially complete derivatives
Diffstat (limited to 'src/c_fl_rgb_image.cpp')
-rw-r--r-- | src/c_fl_rgb_image.cpp | 7 |
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); +} + + |