On Sat, 21 Jan 2012 19:19:36 +0100, philsvg <[email protected]> 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/

