[cairo] Faulty pattern rendering in cairo 1.9.6
Franz Schmid
Franz.Schmid at altmuehlnet.de
Fri Feb 26 15:51:23 PST 2010
Hi all,
i just found out that in 1.9.6 patterns stop tiling when the pattern
source exceeds a certain size. 1.9.4 works without any problems.
I'm attaching 2 compileable source files
patterntestl.c reads patternl.png (400x400 px) and outputs patternltest.png
patterntests.c reads patterns.png (100x100 px) and outputs patternstest.png
compile the files with
gcc -I/usr/local/include/cairo -L/usr/local/lib -pthread -lcairo patterntestl.c -o patterntestl
and
gcc -I/usr/local/include/cairo -L/usr/local/lib -pthread -lcairo patterntestl.c -o patterntestl
patternstest.png shows the expected result, but in patternltest.png the pattern is only
rendered once.
Greetings,
Franz Schmid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patternl.png
Type: image/png
Size: 63964 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patterns.png
Type: image/png
Size: 2046 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patterntestl.c
Type: text/x-c++src
Size: 1137 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0002.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patterntests.c
Type: text/x-c++src
Size: 1137 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0003.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patternltest.png
Type: image/png
Size: 2162 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patternstest.png
Type: image/png
Size: 3254 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100227/1809e98e/attachment-0007.png>
More information about the cairo
mailing list