C# Class touchvg.core.MgView

Inheritance: 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
cancel ( MgMotion sender ) : void
cmds ( ) : MgCmdManager
commandChanged ( ) : void
context ( ) : GiContext
doc ( ) : touchvg.core.MgShapeDoc
findCommand ( string name ) : MgCommand
getAction ( ) : MgActionDispatcher
getCmdSubject ( ) : touchvg.core.CmdSubject
getCommand ( ) : MgCommand
getCommandName ( ) : string
getLockData ( ) : MgLockData
getNewShapeID ( ) : int
getSelection ( ) : touchvg.core.MgSelection
getShapeFactory ( ) : MgShapeFactory
getSnap ( ) : MgSnap
graph ( ) : GiGraphics
isContextActionsVisible ( ) : bool
modelTransform ( ) : Matrix2d
redraw ( ) : void
regenAll ( ) : void
regenAppend ( ) : void
removeShape ( MgShape shape ) : bool
selectionChanged ( ) : void
setCommand ( MgMotion sender, string name ) : bool
setCurrentShapes ( touchvg.core.MgShapes shapes ) : bool
setNewShapeID ( int sid ) : void
shapeAdded ( MgShape shape ) : void
shapeCanRotated ( MgShape shape ) : bool
shapeCanTransform ( MgShape shape ) : bool
shapeCanUngroup ( MgShape shape ) : bool
shapeCanUnlock ( MgShape shape ) : bool
shapeMoved ( MgShape shape, int segment ) : void
shapeWillAdded ( MgShape shape ) : bool
shapeWillDeleted ( MgShape shape ) : bool
shapes ( ) : touchvg.core.MgShapes
useFinger ( ) : bool
xform ( ) : GiTransform

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

cancel() public method

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

cmds() public method

public cmds ( ) : MgCmdManager
return MgCmdManager

commandChanged() public method

public commandChanged ( ) : void
return void

context() public method

public context ( ) : GiContext
return GiContext

doc() public method

public doc ( ) : touchvg.core.MgShapeDoc
return touchvg.core.MgShapeDoc

findCommand() public method

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

getAction() public method

public getAction ( ) : MgActionDispatcher
return MgActionDispatcher

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

getLockData() public method

public getLockData ( ) : MgLockData
return MgLockData

getNewShapeID() public method

public getNewShapeID ( ) : int
return int

getSelection() public method

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

getShapeFactory() public method

public getShapeFactory ( ) : MgShapeFactory
return MgShapeFactory

getSnap() public method

public getSnap ( ) : MgSnap
return MgSnap

graph() public method

public graph ( ) : GiGraphics
return GiGraphics

isContextActionsVisible() public method

public isContextActionsVisible ( ) : bool
return bool

modelTransform() public method

public modelTransform ( ) : Matrix2d
return Matrix2d

redraw() public method

public redraw ( ) : void
return void

regenAll() public method

public regenAll ( ) : void
return void

regenAppend() public method

public regenAppend ( ) : void
return void

removeShape() public method

public removeShape ( MgShape shape ) : bool
shape MgShape
return bool

selectionChanged() public method

public selectionChanged ( ) : void
return void

setCommand() public method

public setCommand ( MgMotion sender, string name ) : bool
sender MgMotion
name string
return bool

setCurrentShapes() public method

public setCurrentShapes ( touchvg.core.MgShapes shapes ) : bool
shapes touchvg.core.MgShapes
return bool

setNewShapeID() public method

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

shapeAdded() public method

public shapeAdded ( MgShape shape ) : void
shape MgShape
return void

shapeCanRotated() public method

public shapeCanRotated ( MgShape shape ) : bool
shape MgShape
return bool

shapeCanTransform() public method

public shapeCanTransform ( MgShape shape ) : bool
shape MgShape
return bool

shapeCanUngroup() public method

public shapeCanUngroup ( MgShape shape ) : bool
shape MgShape
return bool

shapeCanUnlock() public method

public shapeCanUnlock ( MgShape shape ) : bool
shape MgShape
return bool

shapeMoved() public method

public shapeMoved ( MgShape shape, int segment ) : void
shape MgShape
segment int
return void

shapeWillAdded() public method

public shapeWillAdded ( MgShape shape ) : bool
shape MgShape
return bool

shapeWillDeleted() public method

public shapeWillDeleted ( MgShape shape ) : bool
shape MgShape
return bool

shapes() public method

public shapes ( ) : touchvg.core.MgShapes
return touchvg.core.MgShapes

useFinger() public method

public useFinger ( ) : bool
return bool

xform() public method

public xform ( ) : GiTransform
return GiTransform

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool