![](https://secure.gravatar.com/avatar/43d614f0b85861515f7ca51380433c9c.jpg?s=120&d=mm&r=g)
On 05-Aug-2014 09:57, Alexandre Prokoudine wrote:
05 авг. 2014 г. 20:34 пользователь "mathog" <mathog@...1176...> написал:
I'm a little unclear on the purpose of hatches
The spec explains that:
"Hatches are new in SVG 2. They were added to allow the kinds of patterns required for mapping, engraving, etc. where continuous lines are needed."
Also, hatch elments can be converted to pattern elements. Can you safely convert patterns to WMF/EMF? There you are.
Which brings me back to "the purpose of hatches". As far as I can tell their primary function is to make it easier to place lines into rectangular elements of a grid pattern so that the lines "line up" as desired between adjacent elements. No nicks or jags at the intersections, which can usually be removed now, but getting the pattern right to do so takes some work. Or they can be done with patterns and clipping for fill, but not for stroke.
The examples here:
http://www.w3.org/TR/SVG2/pservers.html#Hatches
were not very informative for me, it wasn't obvious what the improvement is over what we already have in SVG. There isn't, as far as I can see, one example, showing old and new, demonstrating why these new hatches are an improvement. I'm not saying they aren't, just that it isn't explained very well why this is worth the effort.
Regards,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech