W3C home > Mailing lists > Public > www-svg@w3.org > November 2001

RE: Patterns and Clipping (Adobe SVG Plug-In and Batik)

From: <ronan@roasp.com>
Date: Wed, 7 Nov 2001 14:25:49 +0100
To: "Thomas E Deweese" <thomas.deweese@kodak.com>, "Jeff Tupper / Pedagoguery Software Inc" <tupper@peda.com>
Cc: "Vincent Hardy" <vincent.hardy@sun.com>, <www-svg@w3.org>
Message-ID: <EMENJCDHGFFGOCDJOBLMEEOECGAA.ronan@roasp.com>
This corresoponds with what I am finding by looking through the DOM on
webdraw. The tile is not a superposition of 2 triangles, but 2 triangles
above / below eachother.

Ronan

?-----Original Message-----
?From: www-svg-request@w3.org [mailto:www-svg-request@w3.org]On Behalf Of
?Thomas E Deweese
?Sent: Wednesday, November 07, 2001 1:47 PM
?To: Jeff Tupper / Pedagoguery Software Inc
?Cc: Vincent Hardy; www-svg@w3.org
?Subject: Re: Patterns and Clipping (Adobe SVG Plug-In and Batik)
?
?
?>>>>> "JT" == Jeff Tupper / Pedagoguery Software Inc
?<tupper@peda.com> writes:
?
?JT> I apologize for my omission.
?
?JT> The Tess file used to generate the SVG file has a pinkish triangle
?JT> over, and within, a larger yellow triangle. I am including a 1.7k
?JT> GIF file (tesstriangles.gif) to illustrate a portion of the
?JT> tiling.
?
?JT> With Batik, I see the entire yellow triangle but no pinkish
?JT> triangle.
?
?    This is due to an error in the SVG.  In looking at the SVG it
?appears that the pattern consists of a yellow triangle with a pink
?triangle drawn inside of it.  In reality the pattern is a yellow
?triangle with a slightly smaller pink triangle drawn one pattern tile
?height below the yellow triangle (see attached PNG).
?
?    Thus when we fill the tile drawing left->right, top->bottom.  the
?second row of triangles hides the pink triangle, so no pink triangles
?show up.  If you drew the pink triangle 'above' the yellow triangle it
?would show up.
?
?JT> With the Adobe plug-in, I see a portion of the pinkish triangle
?JT> and a portion of the yellow triangle.
?
?    They apparently don't handle overflow=visible so they only draw
?one copy of the graphic in the tile, so the next row doesn't obliterate
?the part of the pink triangle.
?
?JT> Jeff
?
?    Hope this helped.
?
?
Received on Wednesday, 7 November 2001 08:31:46 GMT

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