Draw the SVG graphic element into the bitmap. The SVG is stretched to fill the bitmap so the bitmap should be resized properly beforehand. Use the ScaleSize method to figure out an appropriate size for the SVG element.
Namespace: RSSVG
Delphi |
procedure DrawSVGToBitmap( aBitmap: TSVGBitmap; SVGRoot: TSVGGraphicElement |
Parameters
aBitmap
Type: System.Void
SVGRoot
Type: TSVGGraphicElement
Quality
Type: TRSGPSmoothingMode
Clear
Type: Boolean
Reference |