This project is read-only.

xlink:href

Dec 30, 2011 at 3:51 AM
Edited Dec 30, 2011 at 3:53 AM

With reference to all discussion to correct issues, I have been using the SVG engine with great satisfaction. Thanks to all the contributors. There are only 2 things I would appreciate very much if some ones can fix them:

- feGaussianBlur: the code is there, however it does not seem to work so far

- xlink:href for Gradient does not seem to work. Below is an example:

<radialGradient       cx="200.99496"       cy="183.04042"       r="86.833374"       fx="200.99496"       fy="183.04042"       id="radialGradient7485"       xlink:href="#linearGradient3959"       gradientUnits="userSpaceOnUse"       gradientTransform="matrix(-0.01247785,-0.77362204,0.9051095,-0.01459876,14.306029,334.58889)" />

<linearGradient       id="linearGradient3959">      <stop         id="stop3961"         style="stop-color:#00ffff;stop-opacity:1"         offset="0" />      <stop         id="stop3963"         style="stop-color:#00ffff;stop-opacity:0"         offset="1" />    </linearGradient>

An warning message shows:

Svg.vshost.exe Warning: 0 : Attribute 'href' cannot be set - type 'Svg.SvgGradientServer' cannot convert from string '#linearGradient3959'

Appreciated if some one can tackle the issues :-)

Vincent

Feb 5, 2012 at 7:39 AM

Solved the href issue by a 2nd pass. Had also implemented feGaussianBlur, looks very good. Has also by the way resolved radial gradient as well as linear gradient, which did not work properly, especially for the spread methods. After modification they work pretty well... below svg files from open clipart were tested:

http://openclipart.org/detail/166913/old-clocks-by-gustavorezende

http://openclipart.org/detail/167027/trilby-hat-by-pomprint

http://openclipart.org/detail/167422/fire-extinguisher-by-rones

http://openclipart.org/detail/116785/yellow-convertible-sports-car-by-netalloy

http://openclipart.org/detail/5636/knife-by-kobo

....

yet still a few nice graphs can't be displayed properly, still some way to go, but promising so far.

Vincent