Re: Some comments on Xr on Xc
Vadim Plessky <[email protected]> Fri, 22 Nov 2002 23:29:44 +0300
| Newsgroups | gmane.comp.xfree86.render |
|---|---|
| Message-ID | <[email protected]> |
--Boundary-00=_4Op39t1A274ukjR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline On Friday 22 November 2002 7:59 am, Keith Packard wrote: | Around 22 o'clock on Nov 21, Owen Taylor wrote: [...] | | > Also, filling shapes with a gradient, image or pattern is | > a pretty fundamental operation which doesn't seem to | > be currently possible. | | Hmm. I think that's just a matter of specifying a surface as a pattern to | apply when painting. I'm wondering how sufficient the filtered image | transformations will be in satisfying the gradient needs. Render has some | gradient support that hasn't been implemented yet. Keith, what do you mean under "filtered image transformations" for gradients? To implement completed SVG support, we need Radial and Linear gradients, each can have 2 or more stop points (gradients with several stop points is a very nice tool). Each stop point has RGBA value (so, different stop points can have different transparency/opacity) See attached rectangle-gradient-rainbow.svg example which illustrates idea of multiple-stop-point gradients. I'd also vote, if possible, for Conical gradients support - as Adobe Illustrator has support for those, as I have been told. Also: we need filters support (<filter> from SVG specs) While those filters can be dumb at a moment, unified API with possibility to add new filters in the future is a MUST. [...] | | Keith Packard XFree86 Core Team HP Cambridge Research Lab | _______________________________________________ | Render mailing list | [email protected] | http://XFree86.Org/mailman/listinfo/render -- Vadim Plessky SVG Icons http://svgicons.sourceforge.net My KDE page http://kde2.newmail.ru (English) KDE mini-Themes http://kde2.newmail.ru/themes/ --Boundary-00=_4Op39t1A274ukjR Content-Type: image/svg+xml; name="rectangle-gradient-rainbow.svg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rectangle-gradient-rainbow.svg" <?xml version="1.0" encoding="iso-8859-1"?> <!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd" [ <!ENTITY st0 "fill:url(#aigrd1);"> <!ENTITY st1 "fill:url(#aigrd2);"> <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> ]> <svg width="91.722pt" height="109.144pt" viewBox="0 0 91.722 109.144" xml:space="preserve"> <g id="Layer_x0020_1" style="&st2;"> <linearGradient id="aigrd1" gradientUnits="userSpaceOnUse" x1="0.5" y1="22.7686" x2="90.8091" y2="22.7686"> <stop offset="0" style="stop-color:#FB0F0C"/> <stop offset="0.2" style="stop-color:#F7F619"/> <stop offset="0.4" style="stop-color:#168638"/> <stop offset="0.6" style="stop-color:#1A9ABF"/> <stop offset="0.8" style="stop-color:#19037A"/> <stop offset="1" style="stop-color:#EF097C"/> </linearGradient> <path style="&st0;" d="M90.809,45.037H0.5V0.5h90.309v44.537z"/> <radialGradient id="aigrd2" cx="46.0679" cy="86.376" r="35.6003" fx="46.0679" fy="86.376" gradientUnits="userSpaceOnUse"> <stop offset="0" style="stop-color:#FB0F0C"/> <stop offset="0.2" style="stop-color:#F7F619"/> <stop offset="0.4" style="stop-color:#168638"/> <stop offset="0.6" style="stop-color:#1A9ABF"/> <stop offset="0.8" style="stop-color:#19037A"/> <stop offset="1" style="stop-color:#EF097C"/> </radialGradient> <path style="&st1;" d="M91.222,108.644H0.913V64.107h90.309v44.536z"/> </g> </svg> --Boundary-00=_4Op39t1A274ukjR--