|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.
ctx = imlib_context_new();
u = (ImlibUpdate *) updates;
return (Imlib_Updates) __imlib_MergeUpdate(u, w, h, 0);