C# 클래스 touchvg.view.WPFCanvasAdapter

상속: touchvg.core.GiCanvas
파일 보기 프로젝트 열기: rhcad/touchvg-v0.6 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

BeginDraw() 공개 메소드

public BeginDraw ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndDraw() 공개 메소드

public EndDraw ( ) : void
리턴 void

WPFCanvasAdapter() 공개 메소드

public WPFCanvasAdapter ( ) : System
리턴 System

beginPath() 공개 메소드

public beginPath ( ) : void
리턴 void

bezierTo() 공개 메소드

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
리턴 void

clearRect() 공개 메소드

public clearRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
리턴 void

closePath() 공개 메소드

public closePath ( ) : void
리턴 void

drawBitmap() 공개 메소드

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
리턴 void

drawEllipse() 공개 메소드

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
리턴 void

drawHandle() 공개 메소드

public drawHandle ( float x, float y, int type ) : void
x float
y float
type int
리턴 void

drawLine() 공개 메소드

public drawLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
리턴 void

drawPath() 공개 메소드

public drawPath ( bool stroke, bool fill ) : void
stroke bool
fill bool
리턴 void

drawRect() 공개 메소드

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
리턴 void

drawTextAt() 공개 메소드

public drawTextAt ( string text, float x, float y, float h, int align ) : float
text string
x float
y float
h float
align int
리턴 float

lineTo() 공개 메소드

public lineTo ( float x, float y ) : void
x float
y float
리턴 void

moveTo() 공개 메소드

public moveTo ( float x, float y ) : void
x float
y float
리턴 void

quadTo() 공개 메소드

public quadTo ( float cpx, float cpy, float x, float y ) : void
cpx float
cpy float
x float
y float
리턴 void

setBrush() 공개 메소드

public setBrush ( int argb, int style ) : void
argb int
style int
리턴 void

setPen() 공개 메소드

public setPen ( int argb, float width, int style, float phase ) : void
argb int
width float
style int
phase float
리턴 void