Re: Patterns and Clipping (Adobe SVG Plug-In)

Vincent,

Thanks for the information.

When I try the samples/tests/patternRegions.svg example with the 
Adobe SVG plug-in (version 3 beta), the output doesn't match the 
output from Batik.

Is the Adobe SVG plug-in incorrectly handling patterns with visible 
overflow? I didn't see a mention of this in the CurrentSupport.pdf 
document.

I am trying to add SVG export to Tess (http://www.peda.com/tess) but 
not having much luck with patterned fills in SVG.

Thanks,
Jeff




>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 Sunday, 4 November 2001 19:53:19 UTC