RiverSoftAVG SVG Component Library
Home Up Feedback Search

Articles & Tips
Recommended Links


Other Links:
Delphi CodeSmith Blog  
RiverSoftAVG SVG Component Library Logo

RiverSoftAVG SVG Component Library

The RiverSoftAVG SVG Component Library (RSCL) is a scalable vector graphics (SVG) component library for Delphi XE8-Alexandria and supports both VCL and FMX.  The RSCL provides the ability to read, edit, display, and write SVGs in Delphi.  The RSCL provides an SVG viewer in both Vcl and FMX that adheres to the SVG specification version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML.  The RSCL provides Delphi developers access to the large library of free and commercial SVG graphics available from the web.  Easily load and display high-quality resolution independent graphics, modify any element of the graphic in real-time, and save your changes for later.  The RSCL is, for the most part (see SVG v1.1 specification compatibility), a conforming static SVG viewer (e.g., dynamics are provided through Delphi instead of through SVG scripting) and static SVG editor.  

For Delphi XE8-Alexandria (Win32/Win64/OSX/iOS/Android)

The RiverSoftAVG SVG Component Library is required for our exciting instrument add-on package, IMPACT.  IMPACT comes with a large suite of gauges and gadgets, including clocks, compasses, batteries, speedometers, lights, an altimeter, barometer, and more.  Easily add IMPACT to your applications with this addon from RiverSoftAVG.

Key Benefits

bullet 100% Source Code
bullet For VCL and FMX
bullet For Win32, Win64, OSX, iOS and Android
bullet Supports most features of SVG v1.1 Specification for static viewers, which indicates the features that an SVG viewer can process and render successfully (please see SVG 1.1 Specification Compatibility for detailed information) 
bullet SVG Image Viewer with mouse support
bullet SVG Threaded Image Viewer with mouse support
bullet SVG Image Lists (VCL and FMX-XE8+) save memory and disk space for your applications especially on mobile
bullet Edit and Save SVGs as SVG Files (XML) or Delphi Binary Files (Faster but Larger Files incompatible with other tools)
bullet Embed SVGs into your applications as SVG Files (XML) or Delphi Binary Files for easier deployment
bullet Improved Linear and Radial Gradient Support
bullet SVG FMX and VCL Controls (Convert SVG to design-time/run-time controls) (Note that the TRSSVGPanel for the VCL is very limited in capabilities and compatibility with the SVG specification compared to the rest of the library. It is recommended to use the TRSSVGPanel only on tested SVGs to prevent errors
bullet Integration with VCL TPicture architecture and FMX TBitmap codec architecture to transparently load SVGs as bitmaps
bullet CSS Style support for SVG element (for styles defined in same file)
bullet Integrated IDE Help Insight as well as Help File and Online Documentation (online documentation, v1)
bullet Requires Microsoft Vista, Windows 7, Windows 8, or Windows 10 for VCL

See the RSCL Version History page for full details on what has changed.Generate and Edit FMX Controls for your SVG

SVG v1.1 Specification Compatibility

The RiverSoftAVG SVG Component Library provides an SVG viewer in both VCL and FMX that adheres to the Scalable Vector Graphics (SVG) Specification Version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML .  The RSCL is, for the most part, a Conforming Static SVG Viewer (as opposed to a Conforming Dynamic SVG Viewer) and Static SVG Editor, which indicates the features of the SVG specification that an SVG viewer can process and render successfully (unsupported features are crossed out):

  1. Document Structure - Implemented
  2. Styling - Implemented
  3. Coordinate Systems, Transformations and Units - Implemented
  4. Paths - Implemented
  5. Basic Shapes - Implemented
  6. TextImplemented
  7. Painting: Filling, Stroking and Marker Symbols - Implemented except for Filters
  8. Color - Implemented except for color-profile
  9. Gradients and Patterns - Implemented
  10. Clipping, Masking and Compositing - Implemented simple alpha compositing (Vcl and FMX) and Clipping (Vcl Only)
  11. Filter Effects - Not implemented
  12. Interactivity - Not implemented, use Delphi
  13. Linking - Not implemented
  14. Scripting - Not implemented, use Delphi
  15. Animation - Not implemented, use Delphi
  16. Fonts - Delphi Fonts
  17. Metadata - Not implemented
Summary of Limitations:
  • Gradient Fills are limited on Mobile (limitation of FMX)
  • No Clipping support in FMX
  • No Masking support
  • No Filters support
  • No Animation support (must be implemented through Delphi)
  • No Dynamic SVG support (hyperlinking, scripting, etc)

Note that some performance comparisons of the RSCL on different platforms are discussed in this blog post.

How To Use

Using the RiverSoftAVG SVG Component Library (RSCL) is very quick and easy with many options for how you want to display SVGs.  Check out these tutorials from the online help:

There is also a long blog post that discuss the RSCL.


SVG Anatomy Explorer

SVG Editor Screenshot

Please try the demo applications before buying.  The demo applications are compiled applications for VCL and FMX.  Please try your SVG files with the demo applications to verify that they will work with the RSCL.  Note that the FMX demos uses the modified FMX.Canvas.D2D.pas discussed in our blog.

Streaming Demo Application Screenshot



There is an evaluation version of the RSCL available from the Downloads page.  The demo has no limitations except:

bullet No Design-Time support for Generating Controls from the SVG with the TRSSVGPanel control
bullet For Vcl (Win32/64) and FMX (Win 32) Only
bullet When Delphi is not running, applications compiled with the library will display a nag screen

*** The DEMO version is for EVALUATION PURPOSES ONLY ***


To check our prices or to order, go to the Order page.  Also, be sure to check out RiverSoftAVG IMPACT, an instrument package add-on for the RSCL!

Send mail to webmasterNO@SPAMRiverSoftAVG.com with questions or comments about this web site.
Copyright © 2014-2019 RiverSoftAVG
Last modified: December 26, 2019