Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Updates imlib_updates_merge_for_rendering ( Imlib_Updates  updates,
int  w,
int  h 

updates An updates list.
w The width of the rectangle.
h The height of the rectangle.
The updates handle.
Works almost exactly as imlib_updates_merge() but is more lenient on the spacing between update rectangles - if they are very close it amalgamates 2 smaller rectangles into 1 larger one.

Definition at line 3098 of file imlib2.c.

   ImlibUpdate        *u;

   if (!ctx)
      ctx = imlib_context_new();
   u = (ImlibUpdate *) updates;
   return (Imlib_Updates) __imlib_MergeUpdate(u, w, h, 3);

Generated by  Doxygen 1.6.0   Back to index