Re: Cairo test

Yannick Poirier <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAJLBeVZBXFdQx6eTdCxHEAWS3JwUOX5Qk+r31qaLnPmHfWqEjg@mail.gmail.com>
Actually I'm able to reproduce this path with webkit when I draw a rounded
button.

What I see is that in composite_aligned_boxes(const cairo_spans_compositor_t
 *compositor,
 const cairo_composite_rectangles_t *extents,
 cairo_boxes_t *boxes)

extents->clip->is_region is false
extents->clip->path is not null

So I'm trying to be in the same configuration.



On 12 July 2013 13:02, Chris Wilson <[email protected]> wrote:

> On Fri, Jul 12, 2013 at 12:52:57PM +0200, Yannick Poirier wrote:
> >    I'm writting a cairo backend.
> >    To implement my missing functions, I would like to write a simple
> test to
> >    reproduce the following path :
> >    cairo-spans-compositor.c _cairo_spans_compositor_paint ()
> >    cairo-spans-compositor.c clip_and_composite_boxes ()
> >    cairo-spans-compositor.c composite_aligned_boxes ()
> >    compositor->composite_boxes(*_dst, op, source, mask, src_x, src_y,
> mask_x, mask_y,  dst_x, dst_y, boxes, extents)
>
> >    Where src and mask types are CAIRO_PATTERN_TYPE_SOLID
>
> This will be filtered out at a higher level and reduced to just a solid
> source.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
>

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.