[Clipart] Gradients: sugestion

Alberto Simões hashashin at gmail.com
Mon Jul 5 12:43:28 PDT 2004


Hmms..
This is more tricky than I though.
One of the problems, should be that I don't know SVG :-) I am trying
to learn by differences :)

So, we have a <linearGradient> in a gradient.svg file. To use it I must:
  1. put a defs around it
  2. add another linearGradient with stops (do not know well what's this)
  3. put the XML relative to the rectangle.

So, the point 3 is easy to understand.
The first, Is not. But, being necessary, it is easy to add.
The third point is tricky, specially because I can't understand it well.

Where am I wrong?
Or, if I am not wrong, can anybody help me with point 2?

Cheers,
Alberto

On Mon, 5 Jul 2004 19:57:32 +0100, Alberto Simões <hashashin at gmail.com> wrote:
> Having a problem: identifiers before normalization. I think I must
> take care of them too?
> 
> On Mon, 5 Jul 2004 09:34:29 -0700 (PDT), Bryce Harrington
> <bryce at bryceharrington.com> wrote:
> > Hi Alberto,
> >
> > I've uploaded an SVG that uses one of the gradient files to fill a
> > rect, to the ocal website.  Enjoy!  :-)
> >
> > Bryce
> >
> >
> >
> > On Mon, 5 Jul 2004, [ISO-8859-1] Alberto Simões wrote:
> >
> > > Bryce,
> > >  if you have the time to just take one of those gradient files and, by
> > > hand, add the box, and send it to me, I can try to make such a script.
> > >
> > >  Cheers,
> > > Alberto
> > >
> > > On Mon, 5 Jul 2004 09:20:24 -0700 (PDT), Bryce Harrington
> > > <bryce at bryceharrington.com> wrote:
> > > > On Mon, 5 Jul 2004, Alan Horkan wrote:
> > > > > On Mon, 5 Jul 2004, [ISO-8859-1] Alberto Simões wrote:
> > > > > I'm fairly sure adding that extra box would break compatibility with Jasc
> > > > > WebDraw (I will have to double check this).  The RDF metadata already
> > > > > breaks compatibilty but thankfully Bryce provided a way to strip out the
> > > > > metadata as well as to add it so something similar could probably done in
> > > > > this case to create sample objects using the gradients without breaking
> > > > > the original gradients.
> > > >
> > > > Well, the thought is to create an intermediary SVG file, so your
> > > > original is kept intact, as-is, but we would have a 'pre-render' svg
> > > > with the box in it, that would be used for creating the thumbnails.
> > > >
> > > > > I believe the plan for the next release is to seperate out definition only
> > > > > files (like gradients or patterns) into their own groups.  Hopefully
> > > > > someone will be inspired to put together a script or tool to help make
> > > > > previews.
> > > >
> > > > *Nod*
> > > >
> > > > Bryce
> > > >
> > >
> > >
> > >
> >
> 
> 
> --
> Alberto Simões
> 


-- 
Alberto Simões




More information about the clipart mailing list