The fill-rule property (see
http://www.w3.org/TR/SVG11/painting.html#FillRuleProperty) determines the
filling algorithm.  The spec even uses the star shape as an example.

Sam

-----Original Message-----
From: Joe Mihalich [mailto:jmihalich@;questerra.com] 
Sent: Thursday, November 07, 2002 2:20 PM
To: Batik Users
Subject: Overlapping Polygons



 
               Hi, I'm having a problem with an overlapping polygon and I'm
                Not sure whether its an SVG issue or a Batik rendering
issue.
 
               Suppose I draw a polygon (In SVG) shaped like a star, where 
                the lines Overlap, causing a hole in the middle of the
star.  On               Windows, When I draw that star using GDI, the
system clips 
                around that Hole and doesn't draw there.  However, the
SVG 
                representation Of that same polygon causes batik to not
clip 
                around the Hole and the entire inner part of the star
gets 
                filled.
 
                So, my questions is, is SVG the limiting factor here or 
                Is batik not filling it properly?  I can't seem to find
any
              Attribute that might change the filling algorithm on polygons
                in SVG.
 
            Thanks,
            Joe


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to