C# Class touchvg.view.WPFCanvasAdapter

Inheritance: touchvg.core.GiCanvas
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Méthodes publiques

Méthode Description
BeginDraw ( System.Windows.Media.DrawingContext dc ) : void
Dispose ( ) : void
EndDraw ( ) : void
WPFCanvasAdapter ( ) : System
beginPath ( ) : void
bezierTo ( float c1x, float c1y, float c2x, float c2y, float x, float y ) : void
clearRect ( float x, float y, float w, float h ) : void
closePath ( ) : void
drawBitmap ( string name, float xc, float yc, float w, float h, float angle ) : void
drawEllipse ( float x, float y, float w, float h, bool stroke, bool fill ) : void
drawHandle ( float x, float y, int type ) : void
drawLine ( float x1, float y1, float x2, float y2 ) : void
drawPath ( bool stroke, bool fill ) : void
drawRect ( float x, float y, float w, float h, bool stroke, bool fill ) : void
drawTextAt ( string text, float x, float y, float h, int align ) : float
lineTo ( float x, float y ) : void
moveTo ( float x, float y ) : void
quadTo ( float cpx, float cpy, float x, float y ) : void
setBrush ( int argb, int style ) : void
setPen ( int argb, float width, int style, float phase ) : void

Method Details

BeginDraw() public méthode

public BeginDraw ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndDraw() public méthode

public EndDraw ( ) : void
Résultat void

WPFCanvasAdapter() public méthode

public WPFCanvasAdapter ( ) : System
Résultat System

beginPath() public méthode

public beginPath ( ) : void
Résultat void

bezierTo() public méthode

public bezierTo ( float c1x, float c1y, float c2x, float c2y, float x, float y ) : void
c1x float
c1y float
c2x float
c2y float
x float
y float
Résultat void

clearRect() public méthode

public clearRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
Résultat void

closePath() public méthode

public closePath ( ) : void
Résultat void

drawBitmap() public méthode

public drawBitmap ( string name, float xc, float yc, float w, float h, float angle ) : void
name string
xc float
yc float
w float
h float
angle float
Résultat void

drawEllipse() public méthode

public drawEllipse ( float x, float y, float w, float h, bool stroke, bool fill ) : void
x float
y float
w float
h float
stroke bool
fill bool
Résultat void

drawHandle() public méthode

public drawHandle ( float x, float y, int type ) : void
x float
y float
type int
Résultat void

drawLine() public méthode

public drawLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Résultat void

drawPath() public méthode

public drawPath ( bool stroke, bool fill ) : void
stroke bool
fill bool
Résultat void

drawRect() public méthode

public drawRect ( float x, float y, float w, float h, bool stroke, bool fill ) : void
x float
y float
w float
h float
stroke bool
fill bool
Résultat void

drawTextAt() public méthode

public drawTextAt ( string text, float x, float y, float h, int align ) : float
text string
x float
y float
h float
align int
Résultat float

lineTo() public méthode

public lineTo ( float x, float y ) : void
x float
y float
Résultat void

moveTo() public méthode

public moveTo ( float x, float y ) : void
x float
y float
Résultat void

quadTo() public méthode

public quadTo ( float cpx, float cpy, float x, float y ) : void
cpx float
cpy float
x float
y float
Résultat void

setBrush() public méthode

public setBrush ( int argb, int style ) : void
argb int
style int
Résultat void

setPen() public méthode

public setPen ( int argb, float width, int style, float phase ) : void
argb int
width float
style int
phase float
Résultat void