[cairo] another pixman issue

Robert O'Callahan robert at ocallahan.org
Wed Mar 26 02:44:37 PDT 2008


On Tue, Mar 25, 2008 at 2:46 AM, Carl Worth <cworth at cworth.org> wrote:

> So is this just a case of you really wanting CAIRO_EXTEND_PAD as the
> extend mode when you're scaling?
>

It's mainly a case of me being an idiot.

But the underlying problem I'm working on is that CSS allows background
images to repeat in only one direction (horizontally or vertically) and
cairo doesn't support that directly --- we really want CAIRO_EXTEND_PAD on
one axis and CAIRO_EXTEND_REPEAT on the other. So I have to hack around it
with temporary surfaces and explicit padding.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080326/3344b5c9/attachment.html 


More information about the cairo mailing list