C# Class SharpVectors.Dom.Svg.SvgWindow

Inheritance: ISvgWindow
ファイルを表示 Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
Alert ( string message ) : void
CreateEmptySvgDocument ( ) : SvgDocument

Create and assign an empty SvgDocument to this window. This is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual LoadSvgDocument mechanism.

ParseXML ( string source, XmlDocument document ) : XmlDocumentFragment
PrintNode ( System node ) : string
Resize ( int innerWidth, int innerHeight ) : void

This is expected to be called by the host

SvgWindow ( SvgWindow parentWindow, long innerWidth, long innerHeight ) : System
SvgWindow ( long innerWidth, long innerHeight, ISvgRenderer renderer ) : System

Private Methods

Method Description
SvgWindow ( long innerWidth, long innerHeight ) : System

Method Details

Alert() public method

public Alert ( string message ) : void
message string
return void

CreateEmptySvgDocument() public method

Create and assign an empty SvgDocument to this window. This is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual LoadSvgDocument mechanism.
public CreateEmptySvgDocument ( ) : SvgDocument
return SvgDocument

ParseXML() public method

public ParseXML ( string source, XmlDocument document ) : XmlDocumentFragment
source string
document System.Xml.XmlDocument
return System.Xml.XmlDocumentFragment

PrintNode() public method

public PrintNode ( System node ) : string
node System
return string

Resize() public method

This is expected to be called by the host
public Resize ( int innerWidth, int innerHeight ) : void
innerWidth int
innerHeight int
return void

SvgWindow() public method

public SvgWindow ( SvgWindow parentWindow, long innerWidth, long innerHeight ) : System
parentWindow SvgWindow
innerWidth long
innerHeight long
return System

SvgWindow() public method

public SvgWindow ( long innerWidth, long innerHeight, ISvgRenderer renderer ) : System
innerWidth long
innerHeight long
renderer ISvgRenderer
return System