[Webkit-unassigned] [Bug 38704] SVG pattern size changed when resizing browser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 23:10:27 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38704





--- Comment #10 from Dirk Schulze <krit at webkit.org>  2010-05-06 23:10:27 PST ---
(In reply to comment #6)
> > While scale and translation isn't a problem, determine the visible size of a
> > pattern on skewing or rotation is realy difficult.
> 
> We should be able to deal with the easy case first: check if the affine
> transform matrix to see if is in the form:
> [ a 0 e ]
> [ 0 d f ]
> [ 0 0 1 ]
> So that we know if there's no rotation and skewing. The decomposition of this
> particular case is trivial.

We have isIdentityOrTranslationOrFlipped() you can start with. If we want to
clip to the target element boundaries, we need to be carefull, if we fil the
target or stroke the target with the pattern. It's saver to take the
strokeBoundaries of the object instead of the boundingBox.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list