Gradients in svg files lazarus / 54-FPvectorial ---------------------------------------------------------------------- pgarcia · 2013-11-04 11:32 Hi, FPvectorial don't work for svg gradients or is something grong in my code? procedure TForm1.Button1Click(Sender: TObject); var   Vec: TvVectorialDocument;   page: TvVectorialPage;   ts: TStringList; begin   ts := TStringList.Create();   ts.Add('');   ts.Add(' ');   ts.Add('');   ts.Add('  ');   ts.Add('');   ts.Add(' ');   Vec := TvVectorialDocument.Create;   try     Image1.Canvas.Brush.Color := clWhite;     Image1.Canvas.FillRect(0, 0, Image1.Width, Image1.Height);     vec.ReadFromStrings(ts, vfSVG);     page := vec.GetCurrentPageAsVectorial;     page.DrawBackground(image1.canvas);     page.Render(image1.Canvas, 0, image1.Height, 40, -40);     image1.Invalidate;   finally     Vec.Free;   end; end; This code is called form the onclick of a tbutton and image1 is a TImage. Thanks for the responses in advance ---------------------------------------------------------------------- felipemdc · 2014-12-27 18:55 Hello, I'm working in supporting gradients, but they are quite complex....