On Thu, Mar 27, 2008 at 2:38 AM, Carl Worth &lt;<a href="mailto:cworth@cworth.org">cworth@cworth.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So presumably you could draw with EXTEND_REPEAT to a temporary surface<br>
that&#39;s sufficiently enlargened in one dimension and then draw from<br>
that one with EXTEND_PAD to the final. Or you could draw with<br>
EXTEND_PAD to a surface enlargened in the other dimension and then<br>
draw with EXTEND_REPEAT.<br>
</blockquote><div>&nbsp;<br>It&#39;s a bit more complicated than that because the area we want to restrict sampling to might actually cross a tile boundary (while being less than one full tile). The details are gruesome and not worth repeating here.<br>
</div></div><br>Rob<br>-- <br>&quot;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.&quot; [Isaiah 53:5-6]