[cairo] Deprecate cairo_rectangle_list_t?
Behdad Esfahbod
behdad at behdad.org
Mon Sep 13 13:32:40 PDT 2010
On 09/13/10 15:24, Benjamin Otte wrote:
> On Mon, 2010-09-13 at 15:17 -0400, Behdad Esfahbod wrote:
>> Now that we have a region type, shall we just deprecate
>> cairo_rectangle_list_t? We would then add a:
>>
>> cairo_copy_clip_region ()
>>
> So how exact is that clip region? Does it contain every pixel touched by
> the clip? Or just those above a certain threshold? Or does it only do a
> rough approximation of the clip (like cairo_clip_extents does)?
Should definitely be inclusive. Anything other than that would be less useful
IMO, but I do understand why we have %CAIRO_STATUS_CLIP_NOT_REPRESENTABLE.
So, not sure.
FWIW, we are going to use cairo_copy_clip_rectangles in vte port to your
rendering-cleanup to avoid needless work.
behdad
More information about the cairo
mailing list