Hi Kamal,

Kamal Bhatt <[EMAIL PROTECTED]> wrote on 08/15/2006 08:40:01 PM:

> >    If it is just the latter you can turn on anti-aliased clipping.
> > This can be done by adding: shape-rendering="geometricPrecision"
> > for the clipPath element.
 
> I was talking about anti-aliasing the image.
> 
> I tried geometricPrecision, but that had no visible effect what so ever.

   This works for me (trunk and release 1.6). 
   What version of Batik are you using?
   Also did you put shape-rendering on the clipPath element or 
   somewhere else?

  <svg:clipPath id="myClip" shape-rendering="geometricPrecision">

   Also I should mention that your 'd' attribute on the path
is illegal according to the SVG spec and we have started respecting
this (you can't have a comma between numbers and a path command).

> See the step look you get? Am I perhaps specifying my clipPath 
incorrectly.

   Yes, I wouldn't call those "severe jaggies", just jaggies 
(I reserve severe for multi-pixel jaggies).

> I am a newbie to SVG, but I don't understand how filter effects can be 
> used here. Does bevel mean something else aside from "rounding corners"? 

> Is it possible to apply a filter to blur the edges, thereby getting the 
> anti-aliasing look.

   In graphics bevel is commonly used to refer any of a number of 
"lighting" effects which make an object look raised and rounded
(so the top/left edges will have a 'glint', and the bottom/right
edges will be 'dark').

   This can be accomplished in SVG using the lighting filters,
also if filters are not properly specified it is possible for
them to cause multi-pixel jaggies.


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

Reply via email to