Re: [xep-support] SVG gradient

From: Steve Anderson <steveo@member.fsf.org>
Date: Mon Nov 17 2008 - 04:19:04 PST

I just happened to stumble across the answer to you question myself
yesterday. According to the documentation
(http://www.renderx.com/XEPUserGuide.pdf), "Gradient fill for
rectangles is not supported: solid fill color used."

       Steve

On Mon, Nov 17, 2008 at 2:28 AM, Mark Cilia Vincenti
<markciliavincenti@gmail.com> wrote:
>
> Hi,
>
> I have this SVG which shows up fine in Firefox, yet RenderX keeps outputting just the stroke without the gradient. Any ideas please?
>
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> <svg viewBox = "0 0 350 350" version = "1.1" xmlns="http://www.w3.org/2000/svg">
> <defs>
> <linearGradient id="grad1" x1="50%" y1 ="0%" x2 ="50%" y2 ="100%">
> <stop style="stop-color:rgb(255,255,255);stop-opacity:1" offset = "0%"/>
> <stop style="stop-color:rgb(100,100,100);stop-opacity:1" offset = "100%"/>
> </linearGradient>
> </defs>
> <rect width = "350" height = "350" stroke = "black" stroke-width = "1" fill = "url(#grad1)"/>
> </svg>

--
steveo at member.fsf.org
What you say does matter, and so does how you say it.
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Nov 17 04:35:51 2008

This archive was generated by hypermail 2.1.8 : Mon Nov 17 2008 - 04:35:57 PST