On Thu, 05 Apr 2012 03:16:27 +0200, David Dailey  
<[email protected]> wrote:

> http://cs.sru.edu/~ddailey/svg/V12.svg
>
>
> In the bottom right illustration on this page, note how the diagonal  
> lines
> (created through varying both size and viewBox attributes on a pattern  
> tag)
> have small discontinuities. (in all modern browsers)
>
>
> Does anyone see an obvious way around that?

Your can modify your pattern tiles, e.g like this:

<pattern id="NL1" patternUnits="userSpaceOnUse" width="20" height="30"  
viewBox="0 0 25 25" preserveAspectRatio="none">
   <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2" />
   <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2"  
transform="translate(25,0)"/>
   <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2"  
transform="translate(-25,0)"/>
</pattern>

The added lines+transforms just make sure that the overflow (from the  
neighboring tiles) that should go on each side ends up where it's supposed  
to.

-- 
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/

Reply via email to