Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Updates imlib_updates_merge ( 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.
Takes an updates list, and modifies it by merging overlapped rectangles and lots of tiny rectangles into larger rectangles to minimize the number of rectangles in the list for optimized redrawing. The new updates handle is now valid and the old one passed in is not.

Definition at line 3077 of file imlib2.c.

   ImlibUpdate        *u;

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

Generated by  Doxygen 1.6.0   Back to index