diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2014-05-04 18:54:13 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2014-05-04 18:57:00 +0200 | 
| commit | 68037c4d220302a9f7ab250b3a220a5f64217244 (patch) | |
| tree | f7c200119ab5f9ed30dd1d861d985dfee99a5bf3 /src/gib_imlib.c | |
| parent | c7d0afa8cde1d351cedc09c111b0f872fbcae15e (diff) | |
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
Diffstat (limited to 'src/gib_imlib.c')
| -rw-r--r-- | src/gib_imlib.c | 12 | 
1 files changed, 12 insertions, 0 deletions
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,  | 
