<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Blank page when tiling pattern's cell is too far"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105905#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Blank page when tiling pattern's cell is too far"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105905">bug 105905</a>
from <span class="vcard"><a class="email" href="mailto:mkasik@redhat.com" title="Marek Kasik <mkasik@redhat.com>"> <span class="fn">Marek Kasik</span></a>
</span></b>
<pre>Hi,
I'm sorry for late answer.
(In reply to Jason Crain from <a href="show_bug.cgi?id=105905#c5">comment #5</a>)
<span class="quote">> I'm not sure if I understand how this works. Can you tell me if I've got
> this right?</span >
I think that you've got this right :).
<span class="quote">> You're transforming the translation components of pmat by pmat^(-1) to find
> how far that point is in the pattern's coordinate system. You set xoffset
> and yoffset to the number of repetitions of the pattern that are required to
> get there. Then shift pattern_matrix over by that amount?</span >
Yes, I have to shift the pattern_matrix so that when it is applied to the cairo
context in "cairo_transform (cairo, &pattern_matrix)" we get closer to (0,0).
Otherwise, cairo tries to allocate huge bitmap for the pattern.
I've tested the patch also for different types of translations (scale, skew and
rotation).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>