Hide Comments
Hide Comments

ScaleSize(Single,Single,Single,Single,TSVGImageWrapMode,Single) Method

Comments (0)

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

expandingSyntax

Delphi

 function ScaleSize( DefaultWidth, DefaultHeight: Single; SVGWidth, SVGHeight: Single;
  WrapMode: TSVGImageWrapMode = TSVGImageWrapMode.iwFit;
  ScaleFactor: Single = 1 ): TRSSize;
 

Parameters

DefaultWidth

Type: Single

DefaultHeight

Type: Single

SVGWidth

Type: Single

SVGHeight

Type: Single

WrapMode

Type: TSVGImageWrapMode

ScaleFactor

Type: Single

Return Value

Type: TRSSize

expandingSee Also

Reference

Comments (0)

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