W3C home > Mailing lists > Public > www-svg@w3.org > October 1999

Cross hatch fills support in svg

From: Jan Aarsaether <jaa@metis.no>
Date: 14 Oct 1999 13:08:01 +0200
To: www-svg@w3.org
Message-ID: <u4sfu8ajy.fsf@cenote.oslo.metis.no>


I've been looking for a convenient way of specifying cross hatch
patters on drawing primitive. While there is nice support for fill
opacity and color, there seems to be little direct support for
specifying something so commonly used as such patterns.

The only way I see achieving this is would be something like this:

 <defs>
  <pattern id="pattern2" x="0" y="0" width="30" height="30">
   <path style="stroke:black" d="_whatevernecessary_"/>
  </pattern>
 </defs>
 <g>
  <rect x="0" y="0" width="832" height="896" style="fill:url(#pattern2);"/>
 </g>

But it seems weird that such common functionality is not supported in
a more direct manner in svg. Please, tell me it is!!!!! Could anybody
refer me to any docs or examples on this?

--jaa
Received on Thursday, 14 October 1999 07:11:51 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:17 GMT