Delphi SVG


The “SVG control package” is a library written in pascal for rendering SVG graphics.

The package can be used with Delphi (XE2 or later) and FPC Lazarus. FPC (3.0.4 or later)  and Lazarus (1.8.4 or later).

SVG or “Scalable Vector Graphics” is an XML based format developed by the “World Wide Web Consortium” for 2D vector graphics.

This package implements most of the SVG1.1 specification, including SVG and CSS animation using SMIL, filters, SVG fonts and events. Details can be found in the online documentation.

Most graphic applications offer functionality for producing SVG images or at least support the format for exporting. Also most internet browser can display SVG graphics.

SVG graphics have a wide field of application. Some examples how SVG graphics are used:

  • For automatic generation of raster images, icons, glyphs, png etc.
  • Maps, charts, UML diagrams
  • Displaying interactive scientific or educational graphics
  • SCADA applications
  • CAD applications
  • Clipart
  • Animations
  • Games

SVG graphics are not the most efficient to use in an application. A bitmap will always be much faster to render on the screen than a SVG graphic, but unlike a bitmap, the SVG graphic will scale without losing quality, and, you can always make a bitmap from an SVG but not the other way around.

I have put in a lot of effort to bring the library up to it’s current standard, many companies and individuals are using the library, and thanks to their feedback I have made many improvements and will continue to do so.

For evaluation purposes there is a free demo package available and a number of free demo applications with which you can test the SVG implementation.

For some more info, see these pages:

A short outline of the technical design of the implementation

Downloading demo package, demo applications or latest source code

License and ordering.

Made with Delphi and FPC Lazarus Featuring SVG xml graphics