C# Class touchvg.core.MgCommandDraw

Inheritance: MgCommand
Mostrar archivo Open project: rhcad/touchvg-v0.6 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
MgCommandDraw ( ) : System
addShape ( MgMotion sender ) : MgShape
addShape ( MgMotion sender, MgShape shape ) : MgShape
addShape ( MgMotion sender, MgShape shape, bool autolock ) : MgShape
backStep ( MgMotion sender ) : bool
cancel ( MgMotion sender ) : bool
click ( MgMotion sender ) : bool
delayClear ( ) : void
draw ( MgMotion sender, GiGraphics gs ) : bool
dynshape ( ) : MgShape
gatherShapes ( MgMotion sender, touchvg.core.MgShapes shapes ) : int
getStep ( ) : int
initialize ( MgMotion sender, touchvg.core.MgStorage arg1 ) : bool
longPress ( MgMotion sender ) : bool
mouseHover ( MgMotion sender ) : bool
snapPoint ( MgMotion sender ) : Point2d
snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d
snapPoint ( MgMotion sender, Point2d orignPt, bool firstStep ) : Point2d
snapPoint ( MgMotion sender, bool firstStep ) : Point2d
touchBegan ( MgMotion sender ) : bool
touchBeganStep ( MgMotion sender ) : bool
touchEnded ( MgMotion sender ) : bool
touchEndedStep ( MgMotion sender ) : bool
touchMoved ( MgMotion sender ) : bool
touchMovedStep ( MgMotion sender ) : bool

Protected Methods

Method Description
createShape ( MgShapeFactory arg0 ) : MgShape
getMaxStep ( ) : int
setStepPoint ( int step, Point2d pt ) : void

Private Methods

Method Description
MgCommandDraw ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectorbackStep ( IntPtr sender ) : bool
SwigDirectorcancel ( IntPtr sender ) : bool
SwigDirectorclick ( IntPtr sender ) : bool
SwigDirectorcreateShape ( IntPtr arg0 ) : IntPtr
SwigDirectordoContextAction ( IntPtr sender, int action ) : bool
SwigDirectordoubleClick ( IntPtr sender ) : bool
SwigDirectordraw ( IntPtr sender, IntPtr gs ) : bool
SwigDirectorgatherShapes ( IntPtr sender, IntPtr shapes ) : int
SwigDirectorgetMaxStep ( ) : int
SwigDirectorgetName ( ) : string
SwigDirectorinitialize ( IntPtr sender, IntPtr arg1 ) : bool
SwigDirectorisDrawingCommand ( ) : bool
SwigDirectorisFloatingCommand ( ) : bool
SwigDirectorlongPress ( IntPtr sender ) : bool
SwigDirectormouseHover ( IntPtr sender ) : bool
SwigDirectorrelease ( ) : void
SwigDirectorsetStepPoint ( int step, IntPtr pt ) : void
SwigDirectortouchBegan ( IntPtr sender ) : bool
SwigDirectortouchEnded ( IntPtr sender ) : bool
SwigDirectortouchMoved ( IntPtr sender ) : bool
SwigDirectortwoFingersMove ( IntPtr sender ) : bool
getCPtr ( MgCommandDraw obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MgCommandDraw() public method

public MgCommandDraw ( ) : System
return System

addShape() public method

public addShape ( MgMotion sender ) : MgShape
sender MgMotion
return MgShape

addShape() public method

public addShape ( MgMotion sender, MgShape shape ) : MgShape
sender MgMotion
shape MgShape
return MgShape

addShape() public method

public addShape ( MgMotion sender, MgShape shape, bool autolock ) : MgShape
sender MgMotion
shape MgShape
autolock bool
return MgShape

backStep() public method

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

cancel() public method

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

click() public method

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

createShape() protected method

protected createShape ( MgShapeFactory arg0 ) : MgShape
arg0 MgShapeFactory
return MgShape

delayClear() public method

public delayClear ( ) : void
return void

draw() public method

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

dynshape() public method

public dynshape ( ) : MgShape
return MgShape

gatherShapes() public method

public gatherShapes ( MgMotion sender, touchvg.core.MgShapes shapes ) : int
sender MgMotion
shapes touchvg.core.MgShapes
return int

getMaxStep() protected method

protected getMaxStep ( ) : int
return int

getStep() public method

public getStep ( ) : int
return int

initialize() public method

public initialize ( MgMotion sender, touchvg.core.MgStorage arg1 ) : bool
sender MgMotion
arg1 touchvg.core.MgStorage
return bool

longPress() public method

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

mouseHover() public method

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

setStepPoint() protected method

protected setStepPoint ( int step, Point2d pt ) : void
step int
pt Point2d
return void

snapPoint() public method

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

snapPoint() public method

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

snapPoint() public method

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

snapPoint() public method

public snapPoint ( MgMotion sender, bool firstStep ) : Point2d
sender MgMotion
firstStep bool
return Point2d

touchBegan() public method

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

touchBeganStep() public method

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

touchEnded() public method

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

touchEndedStep() public method

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

touchMoved() public method

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

touchMovedStep() public method

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