From 68037c4d220302a9f7ab250b3a220a5f64217244 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 May 2014 18:54:13 +0200 Subject: strip unneded parts from giblib, part 1 Not all functions were examined yet. Also TODO: * check strdup / malloc calls (some are apparently unchecked in giblib), maybe use estrdup / emalloc for those * Check includes and update dependency list if needed --- src/gib_imlib.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gib_imlib.c') diff --git a/src/gib_imlib.c b/src/gib_imlib.c index 49eb5cb..5c9d9ef 100644 --- a/src/gib_imlib.c +++ b/src/gib_imlib.c @@ -151,6 +151,7 @@ gib_imlib_render_image_on_drawable(Drawable d, Imlib_Image im, int x, int y, imlib_render_image_on_drawable(x, y); } +/* void gib_imlib_render_image_on_drawable_with_rotation(Drawable d, Imlib_Image im, int x, int y, double angle, @@ -170,6 +171,7 @@ gib_imlib_render_image_on_drawable_with_rotation(Drawable d, Imlib_Image im, imlib_render_image_on_drawable(x, y); imlib_free_image(); } +*/ void gib_imlib_render_image_on_drawable_at_size(Drawable d, Imlib_Image im, int x, @@ -185,6 +187,8 @@ gib_imlib_render_image_on_drawable_at_size(Drawable d, Imlib_Image im, int x, imlib_render_image_on_drawable_at_size(x, y, w, h); } + +/* void gib_imlib_render_image_on_drawable_at_size_with_rotation(Drawable d, Imlib_Image im, @@ -207,6 +211,8 @@ gib_imlib_render_image_on_drawable_at_size_with_rotation(Drawable d, imlib_render_image_on_drawable_at_size(x, y, w, h); imlib_free_image_and_decache(); } +*/ + void gib_imlib_render_image_part_on_drawable_at_size(Drawable d, Imlib_Image im, @@ -225,6 +231,7 @@ gib_imlib_render_image_part_on_drawable_at_size(Drawable d, Imlib_Image im, dh); } + void gib_imlib_render_image_part_on_drawable_at_size_with_rotation(Drawable d, Imlib_Image im, @@ -252,6 +259,7 @@ gib_imlib_render_image_part_on_drawable_at_size_with_rotation(Drawable d, imlib_free_image_and_decache(); } + void gib_imlib_image_fill_rectangle(Imlib_Image im, int x, int y, int w, int h, int r, int g, int b, int a) @@ -418,6 +426,7 @@ gib_imlib_image_format(Imlib_Image im) return imlib_image_format(); } + void gib_imlib_blend_image_onto_image(Imlib_Image dest_image, Imlib_Image source_image, char merge_alpha, @@ -434,6 +443,8 @@ gib_imlib_blend_image_onto_image(Imlib_Image dest_image, dy, dw, dh); } + +/* void gib_imlib_blend_image_onto_image_with_rotation(Imlib_Image dest_image, Imlib_Image source_image, @@ -455,6 +466,7 @@ gib_imlib_blend_image_onto_image_with_rotation(Imlib_Image dest_image, dw = 0; dh = 0; } +*/ Imlib_Image gib_imlib_create_cropped_scaled_image(Imlib_Image im, int sx, int sy, int sw, int sh, -- cgit v1.2.3