Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: RiverSoftAVG SVG Component Library (RSCL) > Getting Started

Using the TRSSVGPanel to create controls from SVGs (FMX)

Scroll Prev Top Next More

The TRSSVGPanel Component provides a panel for generating design-time or run-time controls (e.g., TLayout, TText, TRectangle, etc) for a SVG. Unlike the TRSSVGImage component, the TRSSVGPanel component does not draw the SVG using canvas operations. Rather, it generates the FMX controls to draw the SVG.  The TRSSVGPanel can be used at design-time to interpret an SVG, generate the FMX controls, and then delete the SVG document (requiring no files to deploy or parse).

 

Note that there is a TRSSVGPanel for VCL as well.  The TRSSVGPanel for the VCL is much more limited in capabilities and compatibility with the SVG specification than the FMX version. The limitations include no clipping, rotated and scaled controls may be clipped, and flickering. It is recommended to use the VCL TRSSVGPanel only on tested SVGs to prevent errors.

 

To use the TRSSVGPanel, perform the following steps:

 

 

 

 

 

 

 

 

 

 

 

 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb