C# 클래스 SvgComponents.SvgPictureBox

상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: codebutler/savagesvg 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ExecuteScripts void
InitializeComponent void
InitializeEvents void
UnloadEngines void
renderAndInvalidate void
updateAndInvalidate void

공개 메소드들

메소드 설명
CacheRenderingRegions ( ) : void
CreateEmptySvgDocument ( ) : SvgDocument

Create an empty SvgDocument and GdiRenderer for this control. The empty SvgDocument is returned. This method is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual window Src setting mechanism.

Draw ( Graphics gr ) : void
Draw ( Graphics gr, RectangleF rect ) : void
Draw ( Graphics gr, int offsetX, int offsetY ) : void
DrawTo ( IntPtr hdc ) : void
GetScriptEngineByMimeType ( string mimeType ) : ScriptEngine
Load ( string value ) : void
LoadXml ( string xml ) : void
OnRender ( RectangleF updatedRect ) : void
Render ( ) : void
SetMimeTypeEngineType ( string mimeType, Type engineType ) : void
SvgPictureBox ( ) : System
Update ( RectangleF rect ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( System e ) : void
OnResize ( EventArgs e ) : void
SetupStyleSheets ( ) : void

Loads the default user and agent stylesheets into the current SvgDocument

비공개 메소드들

메소드 설명
ExecuteScripts ( ) : void

Collect the text in all script elements, build engine and execute.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InitializeEvents ( ) : void

Add event listeners for on* events within the document

UnloadEngines ( ) : void

Clears the existing script engine list from any previously running instances

renderAndInvalidate ( ) : void
updateAndInvalidate ( RectangleF rect ) : void

메소드 상세

CacheRenderingRegions() 공개 메소드

public CacheRenderingRegions ( ) : void
리턴 void

CreateEmptySvgDocument() 공개 메소드

Create an empty SvgDocument and GdiRenderer for this control. The empty SvgDocument is returned. This method is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual window Src setting mechanism.
public CreateEmptySvgDocument ( ) : SvgDocument
리턴 SharpVectors.Dom.Svg.SvgDocument

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

public Draw ( Graphics gr ) : void
gr System.Drawing.Graphics
리턴 void

Draw() 공개 메소드

public Draw ( Graphics gr, RectangleF rect ) : void
gr System.Drawing.Graphics
rect System.Drawing.RectangleF
리턴 void

Draw() 공개 메소드

public Draw ( Graphics gr, int offsetX, int offsetY ) : void
gr System.Drawing.Graphics
offsetX int
offsetY int
리턴 void

DrawTo() 공개 메소드

public DrawTo ( IntPtr hdc ) : void
hdc System.IntPtr
리턴 void

GetScriptEngineByMimeType() 공개 메소드

public GetScriptEngineByMimeType ( string mimeType ) : ScriptEngine
mimeType string
리턴 SharpVectors.Scripting.ScriptEngine

Load() 공개 메소드

public Load ( string value ) : void
value string
리턴 void

LoadXml() 공개 메소드

public LoadXml ( string xml ) : void
xml string
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( System e ) : void
e System
리턴 void

OnRender() 공개 메소드

public OnRender ( RectangleF updatedRect ) : void
updatedRect System.Drawing.RectangleF
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

Render() 공개 메소드

public Render ( ) : void
리턴 void

SetMimeTypeEngineType() 공개 메소드

public SetMimeTypeEngineType ( string mimeType, Type engineType ) : void
mimeType string
engineType System.Type
리턴 void

SetupStyleSheets() 보호된 메소드

Loads the default user and agent stylesheets into the current SvgDocument
protected SetupStyleSheets ( ) : void
리턴 void

SvgPictureBox() 공개 메소드

public SvgPictureBox ( ) : System
리턴 System

Update() 공개 메소드

public Update ( RectangleF rect ) : void
rect System.Drawing.RectangleF
리턴 void