C# Class touchvg.core.MgCmdManager

Inheritance: global::System.IDisposable
Show file Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
addImageShape ( MgMotion sender, string name, float width, float height ) : MgShape
cancel ( MgMotion sender ) : bool
displayMmToModel ( float mm, GiGraphics gs ) : float
displayMmToModel ( float mm, MgMotion sender ) : float
doContextAction ( MgMotion sender, int action ) : bool
dynamicChangeEnded ( MgView view, bool apply ) : bool
findCommand ( string name ) : MgCommand
getActionDispatcher ( ) : MgActionDispatcher
getBoundingBox ( Box2d box, MgMotion sender ) : void
getCmdSubject ( ) : touchvg.core.CmdSubject
getCommand ( ) : MgCommand
getCommandName ( ) : string
getNewShapeID ( ) : int
getSelection ( ) : touchvg.core.MgSelection
getSnap ( ) : MgSnap
release ( ) : void
setCommand ( MgMotion sender, string name, touchvg.core.MgStorage s ) : bool
setNewShapeID ( int sid ) : void
unloadCommands ( ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

addImageShape() public method

public addImageShape ( MgMotion sender, string name, float width, float height ) : MgShape
sender MgMotion
name string
width float
height float
return MgShape

cancel() public method

public cancel ( MgMotion sender ) : bool
sender MgMotion
return bool

displayMmToModel() public method

public displayMmToModel ( float mm, GiGraphics gs ) : float
mm float
gs GiGraphics
return float

displayMmToModel() public method

public displayMmToModel ( float mm, MgMotion sender ) : float
mm float
sender MgMotion
return float

doContextAction() public method

public doContextAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
return bool

dynamicChangeEnded() public method

public dynamicChangeEnded ( MgView view, bool apply ) : bool
view MgView
apply bool
return bool

findCommand() public method

public findCommand ( string name ) : MgCommand
name string
return MgCommand

getActionDispatcher() public method

public getActionDispatcher ( ) : MgActionDispatcher
return MgActionDispatcher

getBoundingBox() public method

public getBoundingBox ( Box2d box, MgMotion sender ) : void
box Box2d
sender MgMotion
return void

getCmdSubject() public method

public getCmdSubject ( ) : touchvg.core.CmdSubject
return touchvg.core.CmdSubject

getCommand() public method

public getCommand ( ) : MgCommand
return MgCommand

getCommandName() public method

public getCommandName ( ) : string
return string

getNewShapeID() public method

public getNewShapeID ( ) : int
return int

getSelection() public method

public getSelection ( ) : touchvg.core.MgSelection
return touchvg.core.MgSelection

getSnap() public method

public getSnap ( ) : MgSnap
return MgSnap

release() public method

public release ( ) : void
return void

setCommand() public method

public setCommand ( MgMotion sender, string name, touchvg.core.MgStorage s ) : bool
sender MgMotion
name string
s touchvg.core.MgStorage
return bool

setNewShapeID() public method

public setNewShapeID ( int sid ) : void
sid int
return void

unloadCommands() public method

public unloadCommands ( ) : void
return void

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool