C# Class touchvg.core.CmdObserver

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

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode Description
Dispose ( ) : void
addShapeActions ( MgMotion sender, Ints actions, int n, MgShape sp ) : int
createCommand ( MgMotion sender, string name ) : MgCommand
createShape ( MgMotion sender, int type ) : touchvg.core.MgBaseShape
doAction ( MgMotion sender, int action ) : bool
doEndAction ( MgMotion sender, int action ) : bool
drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
onDocLoaded ( MgMotion sender ) : void
onEnterSelectCommand ( MgMotion sender ) : void
onShapeAdded ( MgMotion sender, MgShape sp ) : void
onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
onShapeDeleted ( MgMotion sender, MgShape sp ) : void
onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
onUnloadCommands ( MgCmdManager sender ) : void
selectActionsNeedHided ( MgMotion sender ) : bool

Private Methods

Méthode Description
CmdObserver ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( CmdObserver obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

addShapeActions() public méthode

public addShapeActions ( MgMotion sender, Ints actions, int n, MgShape sp ) : int
sender MgMotion
actions Ints
n int
sp MgShape
Résultat int

createCommand() public méthode

public createCommand ( MgMotion sender, string name ) : MgCommand
sender MgMotion
name string
Résultat MgCommand

createShape() public méthode

public createShape ( MgMotion sender, int type ) : touchvg.core.MgBaseShape
sender MgMotion
type int
Résultat touchvg.core.MgBaseShape

doAction() public méthode

public doAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
Résultat bool

doEndAction() public méthode

public doEndAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
Résultat bool

drawInSelectCommand() public méthode

public drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
sender MgMotion
sp MgShape
handleIndex int
gs GiGraphics
Résultat void

drawInShapeCommand() public méthode

public drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
sender MgMotion
cmd MgCommand
gs GiGraphics
Résultat void

onDocLoaded() public méthode

public onDocLoaded ( MgMotion sender ) : void
sender MgMotion
Résultat void

onEnterSelectCommand() public méthode

public onEnterSelectCommand ( MgMotion sender ) : void
sender MgMotion
Résultat void

onShapeAdded() public méthode

public onShapeAdded ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
Résultat void

onShapeCanRotated() public méthode

public onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanTransform() public méthode

public onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanUngroup() public méthode

public onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanUnlock() public méthode

public onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeDeleted() public méthode

public onShapeDeleted ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
Résultat void

onShapeMoved() public méthode

public onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
sender MgMotion
sp MgShape
segment int
Résultat void

onShapeWillAdded() public méthode

public onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeWillDeleted() public méthode

public onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onUnloadCommands() public méthode

public onUnloadCommands ( MgCmdManager sender ) : void
sender MgCmdManager
Résultat void

selectActionsNeedHided() public méthode

public selectActionsNeedHided ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool