Comment 34 for bug 165780

Revision history for this message
David Eccles (gringer) (gringer) wrote :

The situation I mentioned previously regarding a modulus simplifies matters too much, because some patterns can extend beyond the bounds of the pattern source (e.g. see bug 167503).

Consider the attached document, where the circle is about 80x80, but the pattern is defined with a size of 30x30. In this case, one copy of the circle will creep into two adjacent pattern start boundaries to the right, and two adjacent start boundaries below, which means it's more difficult to work out what a single result image pixel will look like. I'm starting to see why stamping the image multiple times is necessary.