[cairo] Recording Surfaces (was Re: virtual surfaces and composition)

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sat Dec 12 16:57:05 PST 2015

I wrote:

> On Sat, 12 Dec 2015 21:26:50 +1030, Adrian Johnson wrote:
>> On 10/12/15 07:56, Lawrence D'Oliveiro wrote:
>>> However, when I scaled up the pattern, it looked blurred.  
>> It works for me.  
> Hmm, maybe it is working for me. It seems a bit blurred when I scale
> up by 2:1, but at 3:1 it looks perfectly sharp.

I have investigated a bit further. I have a test script which generates
simple filled circle patterns at various reduced scale factors, and then
draws them side-by-side with corresponding inverse scale factors so they
appear the same size.

When using a recording surface, they all look nice and sharp--until I
set an extend value of EXTEND_REPEAT. Then they go blurry, just like
the image-surface versions.

More information about the cairo mailing list