Thank You Erik, You're right in your assumption : I want my pattern tile to be 100x100 user units (and its origin to 0,0 and use this position to cut the pattern where i want).
I replace patternUnits="objectBoundingBox" by patternUnits="userSpaceOnUse", and it solves overload in FFX and rendering in Opera and Chrome. And your explanation is the simplest and clearest one i have ever read about patternUnits. Thank you again for this lesson. I tested with patternUnits="objectBoundingBox" and width="1" and the rendering is ok too. If i increase width (and duplicate the pattern in memory) i can see bluring increase too (opera only)... I tested with patternUnits="objectBoundingBox" and width="1" and no viewBox with firefox, and i have the same cutting with Opera ... but chrome shrink the mire in the bouncing rectangle of the cut. But if i use patternUnits="objectBoundingBox" and width="2", it renders in FFX as if patternUnits="userSpaceOnUse" that seems logical, but rendering is different for opera who cuts like width="1" and for chrome who cuts in a different way. try it! With FFX, if i use width="1" height="1" patternUnits="objectBoundingBox" viewBox="0,0,100,100", tiling disappear but it is rendered in Opera and chrome ... Thanks for this help Philippe --- In [email protected], "Erik Dahlstrom" <ed@...> wrote: > > On Sat, 21 Jan 2012 19:19:36 +0100, philsvg <philsvg@...> wrote: > > > ... Ok but slow in FFX 8 (kubuntu) > > > > Hi svg developpers, > > > > i'm playing with bitmap, pattern, transform and cutting and i found some > > huge rendering problem. > > > > First, you can check your prefered navigator here : > > http://www.visualkit.com/emao/bugsvg/fit_01.html > > Ok, so you use patternUnits="objectBoundingBox" and width and height="100" > on the <pattern> element. That means that you just expressed "I want my > pattern tile to be 100 times the size of the boundingbox of the element > that uses the pattern". If on the other hand you were to use > patternUnits="userSpaceOnUse", it would be "I want my pattern tile to be > 100x100 user units", which in your example is what you seem to want. > > You could also keep patternUnits="objectBoundingBox" and change the > pattern width and height to be "1" instead of "100", that makes the > pattern tile be the same size as the boundingbox of the element that uses > the pattern. In this case you may also want to add a viewBox attribute on > the pattern element to specify the coordinate system inside the pattern > (in your case probably viewBox="0 0 100 100"). > > Hope this helps > -- > Erik Dahlstrom, Core Technology Developer, Opera Software > Co-Chair, W3C SVG Working Group > Personal blog: http://my.opera.com/macdev_ed > ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

