C# Class touchvg.core.MgSnap

Inheritance: IDisposable
Exibir arquivo Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
clearSnap ( ) : void
drawSnap ( MgMotion sender, GiGraphics gs ) : bool
getSnappedPoint ( Point2d fromPt, Point2d toPt ) : int
getSnappedType ( ) : int
snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d

Private Methods

Method Description
MgSnap ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( MgSnap obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

clearSnap() public method

public clearSnap ( ) : void
return void

drawSnap() public method

public drawSnap ( MgMotion sender, GiGraphics gs ) : bool
sender MgMotion
gs GiGraphics
return bool

getSnappedPoint() public method

public getSnappedPoint ( Point2d fromPt, Point2d toPt ) : int
fromPt Point2d
toPt Point2d
return int

getSnappedType() public method

public getSnappedType ( ) : int
return int

snapPoint() public method

public snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d
sender MgMotion
orignPt Point2d
return Point2d

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool