Returns the size needed for a bitmap which can fit the SVG using its width and height, wrapmode, and scalefactor. The DefaultWidth and DefaultHeight parameters specify the minimum size.
Namespace: RSSVGUtils
Delphi |
function ScaleSize( DefaultWidth, DefaultHeight: Single; SVGWidth, SVGHeight: Single; |
Parameters
DefaultWidth
Type: Single
DefaultHeight
Type: Single
SVGWidth
Type: Single
SVGHeight
Type: Single
WrapMode
Type: TSVGImageWrapMode
ScaleFactor
Type: Single
Type: TRSSize
Reference |