giblib 1.2.4 review

Download
by rbytes.net on

Giblib is a utility library used by many of the applications I write

License: GPL (GNU General Public License)
File size: 280K
Developer: Tom Gilbert
0 stars award from rbytes.net

Giblib is a utility library used by many of the applications I write. It incorporates doubly linked lists, some string functions, and a wrapper for imlib2. The wrapper does two things. It gives you access to fontstyles, which can be loaded from files, saved to files or defined dynamically through the API. It also, and more importantly, wraps imlib2's context API changing this sections:


imlib_context_set_image(image);
imlib_context_set_blend(1);
imlib_context_set_dither(0);
imlib_context_set_anti_alias(1);
imlib_context_set_operation(IMLIB_OP_COPY);
imlib_blend_image_onto_image(src,0,0,0,w,h,0,0,w,h);
imlib_context_set_image(image2);
imlib_context_set_color(255,255,255,255);
imlib_image_draw_rectangle(0,0,50,50);

to this:

gib_imlib_blend_image_onto_image(image,src,0,0,0,w,h,0,0,w,h,0,1,1);
gib_imlib_image_draw_rectangle(image2,0,0,50,50,255,255,255,255);

To use giblib in your own applications, simply #include , and compile using CFLAGS=`giblib-config --cflags` LIBS=`giblib-config --libs`.

What's New in This Release:
Applied patch from Claes Nasten
fixes some gib_hash glitches including a possible core dump

giblib 1.2.4 keywords