[cairo] [PATCH 2/3] image: Proper handling of clip in _composite_boxes()
podain77 at gmail.com
Tue Jun 21 00:23:49 PDT 2011
We cannot assume that given boxes are already clipped within clip
region even when clip_region contains single rectangle. So if we
have single rectangle clip_region, we have to manually clip boxes
within the clip rectangle so that we can make clip region to NULL.
And if clip_region is not NULL (means multiple clip rectangles),
we should handle this. But previous code did not handle this
correctly. This patch fixes this too.
src/cairo-image-surface.c | 51 +++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 49 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2917 bytes
Desc: not available
More information about the cairo