diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-20 18:04:23 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-20 18:04:23 +1300 |
commit | f18ea4474bb4905a00e0b39e7205c177ee994196 (patch) | |
tree | 67a06833192e0f47695ab872badb88fb0970280a /src/c_fl_rgb_image.h | |
parent | c47bea48a24e51e178354f3e3bb53d8b9964b769 (diff) |
Improved binding for the FLTK.Images package subtree
Diffstat (limited to 'src/c_fl_rgb_image.h')
-rw-r--r-- | src/c_fl_rgb_image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c_fl_rgb_image.h b/src/c_fl_rgb_image.h index 3ec4c58..0e32539 100644 --- a/src/c_fl_rgb_image.h +++ b/src/c_fl_rgb_image.h @@ -11,7 +11,11 @@ typedef void* RGB_IMAGE; +extern "C" RGB_IMAGE new_fl_rgb_image(void *data, int w, int h, int d, int ld); +extern "C" RGB_IMAGE new_fl_rgb_image2(void *pix, unsigned int c); extern "C" void free_fl_rgb_image(RGB_IMAGE i); +extern "C" size_t fl_rgb_image_get_max_size(); +extern "C" void fl_rgb_image_set_max_size(size_t v); extern "C" RGB_IMAGE fl_rgb_image_copy(RGB_IMAGE i, int w, int h); extern "C" RGB_IMAGE fl_rgb_image_copy2(RGB_IMAGE i); @@ -22,6 +26,9 @@ extern "C" void fl_rgb_image_color_average(RGB_IMAGE i, int c, float b); extern "C" void fl_rgb_image_desaturate(RGB_IMAGE i); +extern "C" void fl_rgb_image_uncache(RGB_IMAGE i); + + extern "C" void fl_rgb_image_draw2(RGB_IMAGE i, int x, int y); extern "C" void fl_rgb_image_draw(RGB_IMAGE i, int x, int y, int w, int h, int cx, int cy); |