Hide Comments
Hide Comments

Comments (0)

TSVGImageFile implements the TGraphic class for reading SVG files. It also registers itself with TPicture so that it can be used with that class transparently.
 

Namespace: RSImaging.SVGImage

expandingInheritance Hierarchy

TGraphic
  RSImaging.SVGImage.TSVGImageFile
 

expandingSyntax

Delphi

type 
  TSVGImageFile = class(TGraphic) 
  end; 
 

expandingConstructors

 

Name

Description

public destructor

Destroy

Represents the destructor of the TSVGImageFile class.

Top

expandingProperties

 

Name

Description

public property

Bitmap

Returns a bitmap representation of the SVG. The size of the created TBitmap is the Width and Height read from the SVG unless the SetSize has overridden it.

protected property

Image

Represents property Image.

Top

expandingMethods

 

Name

Description

public method

Assign(TPersistent)

Represents method Assign(TPersistent).

protected method

AssignTo(TPersistent)

Represents method AssignTo(TPersistent).

public method

Clear

Clear the SVG image

protected method

Draw(TCanvas,TRect)

Represents method Draw(TCanvas,TRect).

protected method

GetEmpty

Represents method GetEmpty.

protected method

GetHeight

Represents method GetHeight.

protected method

GetSupportsPartialTransparency

Represents method GetSupportsPartialTransparency.

protected method

GetTransparent

Represents method GetTransparent.

protected method

GetWidth

Represents method GetWidth.

public method

LoadFromClipboardFormat(Word,THandle,HPALETTE)

Not implemented and raises an exception

public method

LoadFromStream(TStream)

Load the SVG from the stream. The size of the SVG is dependant on the SVG width and height, either from the ViewBox or from its contained elements.

public method

SaveToClipboardFormat(Word,THandle,HPALETTE)

Not implemented and raises an exception

public method

SaveToStream(TStream)

Not implemented and raises an exception

protected method

SetHeight(Integer)

Represents method SetHeight(Integer).

public method

SetSize(Integer,Integer)

Sets the size of the SVG and overrides the internal SVG width and height when generating a Bitmap.

protected method

SetWidth(Integer)

Represents method SetWidth(Integer).

Top

expandingSee Also

Reference

Comments (0)

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