xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Ross" <ianc...@hotmail.com>
Subject Re: filter element problem
Date Tue, 02 Sep 2003 11:52:24 GMT
hi Thomas
Thanks for the reply. I tried what u said but i still get the black 
rectangle. Also im confused about one small thing. When you set and 
attribute do u use the svg namespace or the null namesspace??
Thanks
Ian


>From: Thomas DeWeese <Thomas.DeWeese@Kodak.com>
>Reply-To: "Batik Users" <batik-users@xml.apache.org>
>To: Batik Users <batik-users@xml.apache.org>
>Subject: Re: filter element problem
>Date: Tue, 02 Sep 2003 07:39:17 -0400
>
>Ian Ross wrote:
>>Hi
>>I use the following to create a bevel effect for a button. The problem is 
>>that the button shows up as a black box on the svg canvas. However when i 
>>view the svg file created, on IE, it appears the way i want it to. Can 
>>anyone spot any problems?
>>Any help will be greatly appreciated. thanks in advance.
>>Ian
>>
>>In the code below 'root' refers to the svg element and is passed to this 
>>method as an argument.
>
>>        e.setAttributeNS(xlinkNS, "style", 
>>"fill:rgb(0,128,128);stroke:rgb(0,0,0);stroke-width:1;filter:url(#Bevel)");
>
>Hi Ian,
>
>     I think this is a typo, the 'style' attribute is _not_ in the
>xlink namespace, it is in the 'null' namespace.
>
>>        root.appendChild(e);
>>
>>_________________________________________________________________
>>Get less junk mail with ninemsn Premium. Click here  
>>http://ninemsn.com.au/premium/landing.asp
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org
>

_________________________________________________________________
E-mail just got a whole lot better. New ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message