C# Class touchvg.core.GiCanvas

Inheritance: global::System.IDisposable
ファイルを表示 Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GiCanvas ( ) : 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
clipPath ( ) : bool
clipRect ( float x, float y, float w, float h ) : bool
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
restoreClip ( ) : void
saveClip ( ) : void
setBrush ( int argb, int style ) : void
setPen ( int argb, float width, int style, float phase ) : void

Private Methods

Method Description
GiCanvas ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectorbeginPath ( ) : void
SwigDirectorbezierTo ( float c1x, float c1y, float c2x, float c2y, float x, float y ) : void
SwigDirectorclearRect ( float x, float y, float w, float h ) : void
SwigDirectorclipPath ( ) : bool
SwigDirectorclipRect ( float x, float y, float w, float h ) : bool
SwigDirectorclosePath ( ) : void
SwigDirectordrawBitmap ( string name, float xc, float yc, float w, float h, float angle ) : void
SwigDirectordrawEllipse ( float x, float y, float w, float h, bool stroke, bool fill ) : void
SwigDirectordrawHandle ( float x, float y, int type ) : void
SwigDirectordrawLine ( float x1, float y1, float x2, float y2 ) : void
SwigDirectordrawPath ( bool stroke, bool fill ) : void
SwigDirectordrawRect ( float x, float y, float w, float h, bool stroke, bool fill ) : void
SwigDirectordrawTextAt ( string text, float x, float y, float h, int align ) : float
SwigDirectorlineTo ( float x, float y ) : void
SwigDirectormoveTo ( float x, float y ) : void
SwigDirectorquadTo ( float cpx, float cpy, float x, float y ) : void
SwigDirectorrestoreClip ( ) : void
SwigDirectorsaveClip ( ) : void
SwigDirectorsetBrush ( int argb, int style ) : void
SwigDirectorsetPen ( int argb, float width, int style, float phase ) : void
getCPtr ( GiCanvas obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GiCanvas() public method

public GiCanvas ( ) : System
return System

beginPath() public method

public beginPath ( ) : void
return void

bezierTo() public method

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
return void

clearRect() public method

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

clipPath() public method

public clipPath ( ) : bool
return bool

clipRect() public method

public clipRect ( float x, float y, float w, float h ) : bool
x float
y float
w float
h float
return bool

closePath() public method

public closePath ( ) : void
return void

drawBitmap() public method

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
return void

drawEllipse() public method

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
return void

drawHandle() public method

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

drawLine() public method

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

drawPath() public method

public drawPath ( bool stroke, bool fill ) : void
stroke bool
fill bool
return void

drawRect() public method

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
return void

drawTextAt() public method

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

lineTo() public method

public lineTo ( float x, float y ) : void
x float
y float
return void

moveTo() public method

public moveTo ( float x, float y ) : void
x float
y float
return void

quadTo() public method

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

restoreClip() public method

public restoreClip ( ) : void
return void

saveClip() public method

public saveClip ( ) : void
return void

setBrush() public method

public setBrush ( int argb, int style ) : void
argb int
style int
return void

setPen() public method

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

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool