W3C home > Mailing lists > Public > www-svg@w3.org > March 2008

FW: jagged edges

From: Eric Hamacher <eric.hamacher@enetrix.com>
Date: Wed, 12 Mar 2008 07:37:14 -0500
Message-ID: <CDC26C59B5B0E74E8276FE547CEC34340C47CF3F@RENTXBE01.rent.local>
To: <www-svg@w3c.org>
Hello:

 

My star is now smooth!  I removed stroke-linejoin, stroke-miterlimit,
storke-dasharray and stroke-opacity.

 

Thank you for all your feedback!

 

________________________________

From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf
Of Eric Hamacher
Sent: Tuesday, March 11, 2008 3:52 PM
To: www-svg@w3c.org
Subject: jagged edges

 

 

I have have an SVG image that  I am writing to a PDF using Batik.   I am
also using Batik to add dynamic paths to the image.  I don't think this
is a Batik issue.  

The problem:  All of the elements in my image look great except for one
. . .  a star I drew from a compound line element.  Here is the code for
it:

 

<path
style="opacity:0.47222218;fill:#ef0000;fill-opacity:0.47222218;stroke:#0
00000;stroke-width:0;stroke-linejoin:round;stroke-miterlimit:4;stroke-da
sharray:none;stroke-opacity:1" id="starA" d="M 60,-19.31 L 29.96,10.14 L
36.68,51.09 L 0,32.01 L -36.68,51.09 L -29.96,10.14 L -60,-19.31 L
-18.61,-24.52 L 0,-61.79 L 18.61,-24.52 L 60,-19.31"></path>

 

No matter where the star appears in my image, it is rough and jagged.
(I know that elements can appear jagged as a function of their position
within the image, that is, when it is processed by a third party).

 

Is there a setting I can use to force a smooth draw of my star?

 

Thanks

 

 

 

 

Regards,

Eric Hamacher

 

******************************

THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND MAY
CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION. INTERCEPTION,
COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE ADDRESSEE(S) IS
PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE PRIVACY LAWS. IF YOU
RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT AND NOTIFY ME BY RETURN
EMAIL TO eric.hamacher@enetrix.com *******************************

 
Received on Wednesday, 12 March 2008 12:37:50 GMT

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