[Fwd: [Moderator Action] Re: Patterns and Clipping]

 

Forwarded message 1

  • From: Vincent Hardy <vhardy@eng.sun.com>
  • Date: Thu, 14 Dec 2000 14:57:28 -0500 (EST)
  • Subject: [Moderator Action] Re: Patterns and Clipping
  • To: Jeff Tupper / Pedagoguery Software Inc <tupper@peda.com>
  • CC: www-svg@w3.org
  • Message-ID: <3A392454.CA6254AD@eng.sun.com>
Jeff,

The Batik SVG viewer does what you are asking for:

http://xml.apache.org/batik.

In the distribution, you can look at the
samples/tests/patternRegions.svg
example.

I hope this helps.
Regards.
Vincent.

Jeff Tupper / Pedagoguery Software Inc wrote:
> 
> Could someone please provide me with an example of an SVG graphic
> that contains an element filled with a pattern whose elements are not
> clipped to the bounds of the pattern tile (by appropriately setting
> the "overflow" property)?
> 
> I tried with the Adobe SVG browser plug-in (v2 beta) and didn't have much luck.
> 
> It seems that this should be possible. Here is a quote from the SVG
> specification:
> 
> --------------
> SVG's user agent style sheet sets the 'overflow' property for
> 'pattern' elements to hidden, which causes a rectangular clipping
> path to be created at the bounds of the pattern tile. Unless the
> 'overflow' property is overridden, any graphics within the pattern
> which goes outside of the pattern rectangle will be clipped.
> --------------

Received on Friday, 15 December 2000 13:21:39 UTC