Hide Comments
Hide Comments

Comments (0)

Defines a custom TBitmap codec for reading SVGs into a TBitmap

Note: for XE3+ only

noteNote

Unfortunately, because of how TCustomBitmapCodec works, there is no way to find out how big the requested bitmap should be and then drawing an SVG at that resolution. The size of the bitmap returned from TRSSVGCodec class will be the width and height of the SVG. This can be either the SVG ViewBox width and height (if defined) or calculated based on the SVG elements. This can be significantly smaller than the desired bitmap size if you were reading into a TImage for example. It is generally recommended that you create a TBitmap yourself at the size desired and then draw to the bitmap using DrawSVGToBitmap.

Namespace: FMX.RS.SVGCodec

expandingInheritance Hierarchy
expandingSyntax
expandingMethods
expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb