public MgShape addShape(MgShape src) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_addShape(swigCPtr, MgShape.getCPtr(src)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual MgShape addImageShape(MgMotion sender, string name, float xc, float yc, float w, float h, int tag) { global::System.IntPtr cPtr = touchvgPINVOKE.MgCmdManager_addImageShape__SWIG_1(swigCPtr, MgMotion.getCPtr(sender), name, xc, yc, w, h, tag); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape addShape(MgMotion sender) { global::System.IntPtr cPtr = touchvgPINVOKE.MgCommandDraw_addShape__SWIG_1(swigCPtr, MgMotion.getCPtr(sender)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getNext() { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapeIterator_getNext(swigCPtr); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getOwnerShape() { global::System.IntPtr cPtr = touchvgPINVOKE.MgComposite_getOwnerShape(swigCPtr); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape dynshape() { global::System.IntPtr cPtr = touchvgPINVOKE.MgCommandDraw_dynshape(swigCPtr); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public static MgShape Null() { global::System.IntPtr cPtr = touchvgPINVOKE.MgShape_Null(); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape findShape(int sid) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_findShape(swigCPtr, sid); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getShapeAtIndex(int index) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_getShapeAtIndex(swigCPtr, index); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public static MgShape getParentShape(MgShape shape) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_getParentShape(MgShape.getCPtr(shape)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape findShapeByTypeAndTag(int type, int tag) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_findShapeByTypeAndTag(swigCPtr, type, tag); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape cloneShape() { global::System.IntPtr cPtr = touchvgPINVOKE.MgShape_cloneShape(swigCPtr); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public static MgShape fromHandle(int h) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShape_fromHandle(h); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public static MgShape findGroup(MgShapes shapes, string name) { global::System.IntPtr cPtr = touchvgPINVOKE.MgGroup_findGroup(MgShapes.getCPtr(shapes), name); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public virtual MgShape createShapeCtx(int type) { global::System.IntPtr cPtr = touchvgPINVOKE.MgView_createShapeCtx__SWIG_1(swigCPtr, type); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public virtual MgShape addImageShape(MgMotion sender, string name, float width, float height) { global::System.IntPtr cPtr = touchvgPINVOKE.MgCmdManager_addImageShape__SWIG_0(swigCPtr, MgMotion.getCPtr(sender), name, width, height); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public virtual int addShapeActions(MgMotion sender, Ints actions, int n, MgShape sp) { int ret = touchvgPINVOKE.CmdObserver_addShapeActions(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override int addShapeActions(MgMotion sender, Ints actions, int n, MgShape sp) { int ret = (SwigDerivedClassHasMethod("addShapeActions", swigMethodTypes4) ? touchvgPINVOKE.CmdObserverDefault_addShapeActionsSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_addShapeActions(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp))); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual bool showInSelect(MgMotion sender, int selState, MgShape shape, Box2d selbox) { bool ret = touchvgPINVOKE.MgActionDispatcher_showInSelect(swigCPtr, MgMotion.getCPtr(sender), selState, MgShape.getCPtr(shape), Box2d.getCPtr(selbox)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void onPointSnapped(MgMotion sender, MgShape sp) { if (SwigDerivedClassHasMethod("onPointSnapped", swigMethodTypes26)) { touchvgPINVOKE.CmdObserverDefault_onPointSnappedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); } else { touchvgPINVOKE.CmdObserverDefault_onPointSnapped(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); } }
public MgShape hitTest(Box2d limits, MgHitResult res) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_hitTest(swigCPtr, Box2d.getCPtr(limits), MgHitResult.getCPtr(res)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MgShape addShape(MgShape src) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_addShape(swigCPtr, MgShape.getCPtr(src)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void drawInSelectCommand(MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs) { if (SwigDerivedClassHasMethod("drawInSelectCommand", swigMethodTypes8)) { touchvgPINVOKE.CmdObserverDefault_drawInSelectCommandSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs)); } else { touchvgPINVOKE.CmdObserverDefault_drawInSelectCommand(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs)); } }
public override void onShapeMoved(MgMotion sender, MgShape sp, int segment) { if (SwigDerivedClassHasMethod("onShapeMoved", swigMethodTypes19)) { touchvgPINVOKE.CmdObserverDefault_onShapeMovedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); } else { touchvgPINVOKE.CmdObserverDefault_onShapeMoved(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgShape obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public virtual bool canOffsetShapeAlone(MgShape shape) { bool ret = (SwigDerivedClassHasMethod("canOffsetShapeAlone", swigMethodTypes36) ? touchvgPINVOKE.MgComposite_canOffsetShapeAloneSwigExplicitMgComposite(swigCPtr, MgShape.getCPtr(shape)) : touchvgPINVOKE.MgComposite_canOffsetShapeAlone(swigCPtr, MgShape.getCPtr(shape))); return ret; }
public virtual bool showInSelect(MgMotion sender, int selState, MgShape shape, Box2d selbox) { bool ret = touchvgPINVOKE.MgActionDispatcher_showInSelect(swigCPtr, MgMotion.getCPtr(sender), selState, MgShape.getCPtr(shape), Box2d.getCPtr(selbox)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public override bool onShapeCanUngroup(MgMotion sender, MgShape sp) { bool ret = (SwigDerivedClassHasMethod("onShapeCanUngroup", swigMethodTypes17) ? touchvgPINVOKE.CmdObserverDefault_onShapeCanUngroupSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_onShapeCanUngroup(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp))); return(ret); }
public virtual bool shapeDblClick(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeDblClick(swigCPtr, MgShape.getCPtr(shape)); return(ret); }
public virtual void shapeMoved(MgShape shape, int segment) { touchvgPINVOKE.MgView_shapeMoved(swigCPtr, MgShape.getCPtr(shape), segment); }
public virtual int removeShape(MgShape shape) { int ret = touchvgPINVOKE.MgView_removeShape(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public virtual bool shapeClicked(MgShape shape, float x, float y) { bool ret = touchvgPINVOKE.MgView_shapeClicked(swigCPtr, MgShape.getCPtr(shape), x, y); return ret; }
public override void onShapeChanged(MgMotion sender, MgShape shape) { if (SwigDerivedClassHasMethod("onShapeChanged", swigMethodTypes21)) touchvgPINVOKE.CmdObserverDefault_onShapeChangedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(shape)); else touchvgPINVOKE.CmdObserverDefault_onShapeChanged(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(shape)); }
public static MgShape getParentShape(MgShape shape) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_getParentShape(MgShape.getCPtr(shape)); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return ret; }
public bool updateShape(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_updateShape__SWIG_1(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public bool saveShape(MgStorage s, MgShape shape, int index) { bool ret = touchvgPINVOKE.MgShapes_saveShape(swigCPtr, MgStorage.getCPtr(s), MgShape.getCPtr(shape), index); return ret; }
public override void onShapeMoved(MgMotion sender, MgShape sp, int segment) { if (SwigDerivedClassHasMethod("onShapeMoved", swigMethodTypes19)) touchvgPINVOKE.CmdObserverDefault_onShapeMovedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); else touchvgPINVOKE.CmdObserverDefault_onShapeMoved(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); }
public virtual bool shapeWillDeleted(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeWillDeleted(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public virtual bool shapeWillChanged(MgShape shape, MgShape oldsp) { bool ret = touchvgPINVOKE.MgView_shapeWillChanged(swigCPtr, MgShape.getCPtr(shape), MgShape.getCPtr(oldsp)); return ret; }
public override bool onShapeCanMovedHandle(MgMotion sender, MgShape sp, int index) { bool ret = (SwigDerivedClassHasMethod("onShapeCanMovedHandle", swigMethodTypes18) ? touchvgPINVOKE.CmdObserverDefault_onShapeCanMovedHandleSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), index) : touchvgPINVOKE.CmdObserverDefault_onShapeCanMovedHandle(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), index)); return ret; }
public virtual void shapeChanged(MgShape shape) { touchvgPINVOKE.MgView_shapeChanged(swigCPtr, MgShape.getCPtr(shape)); }
public override void drawInSelectCommand(MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs) { if (SwigDerivedClassHasMethod("drawInSelectCommand", swigMethodTypes8)) touchvgPINVOKE.CmdObserverDefault_drawInSelectCommandSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs)); else touchvgPINVOKE.CmdObserverDefault_drawInSelectCommand(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs)); }
public virtual bool shapeClicked(MgShape shape, float x, float y) { bool ret = touchvgPINVOKE.MgView_shapeClicked(swigCPtr, MgShape.getCPtr(shape), x, y); return(ret); }
public override int addShapeActions(MgMotion sender, Ints actions, int n, MgShape sp) { int ret = (SwigDerivedClassHasMethod("addShapeActions", swigMethodTypes4) ? touchvgPINVOKE.CmdObserverDefault_addShapeActionsSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_addShapeActions(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp))); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public override int onShapeDeleted(MgMotion sender, MgShape sp) { int ret = (SwigDerivedClassHasMethod("onShapeDeleted", swigMethodTypes13) ? touchvgPINVOKE.CmdObserverDefault_onShapeDeletedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_onShapeDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp))); return(ret); }
public virtual bool shapeDblClick(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeDblClick(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public override bool onShapeCanMovedHandle(MgMotion sender, MgShape sp, int index) { bool ret = (SwigDerivedClassHasMethod("onShapeCanMovedHandle", swigMethodTypes18) ? touchvgPINVOKE.CmdObserverDefault_onShapeCanMovedHandleSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), index) : touchvgPINVOKE.CmdObserverDefault_onShapeCanMovedHandle(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), index)); return(ret); }
public virtual bool showInDrawing(MgMotion sender, MgShape shape) { bool ret = touchvgPINVOKE.MgActionDispatcher_showInDrawing(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(shape)); return ret; }
public override bool onShapeWillChanged(MgMotion sender, MgShape sp, MgShape oldsp) { bool ret = (SwigDerivedClassHasMethod("onShapeWillChanged", swigMethodTypes20) ? touchvgPINVOKE.CmdObserverDefault_onShapeWillChangedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), MgShape.getCPtr(oldsp)) : touchvgPINVOKE.CmdObserverDefault_onShapeWillChanged(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), MgShape.getCPtr(oldsp))); return(ret); }
public bool addShapeToGroup(MgShape shape) { bool ret = touchvgPINVOKE.MgGroup_addShapeToGroup(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public virtual bool shapeCanUngroup(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeCanUngroup(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public override bool onShapeWillDeleted(MgMotion sender, MgShape sp) { bool ret = (SwigDerivedClassHasMethod("onShapeWillDeleted", swigMethodTypes12) ? touchvgPINVOKE.CmdObserverDefault_onShapeWillDeletedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_onShapeWillDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp))); return ret; }
public ConstShapes(MgShape v1, MgShape v2) : this(touchvgPINVOKE.new_ConstShapes__SWIG_2(MgShape.getCPtr(v1), MgShape.getCPtr(v2)), true) { }
public void set(int index, MgShape value) { touchvgPINVOKE.ConstShapes_set__SWIG_0(swigCPtr, index, MgShape.getCPtr(value)); }
public virtual bool shapeCanMovedHandle(MgShape shape, int index) { bool ret = touchvgPINVOKE.MgView_shapeCanMovedHandle(swigCPtr, MgShape.getCPtr(shape), index); return ret; }
public ConstShapes(MgShape v1, MgShape v2, MgShape v3, MgShape v4) : this(touchvgPINVOKE.new_ConstShapes__SWIG_3(MgShape.getCPtr(v1), MgShape.getCPtr(v2), MgShape.getCPtr(v3), MgShape.getCPtr(v4)), true) { }
public bool addShapeDirect(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_addShapeDirect__SWIG_1(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public void set(int index, MgShape v1, MgShape v2) { touchvgPINVOKE.ConstShapes_set__SWIG_1(swigCPtr, index, MgShape.getCPtr(v1), MgShape.getCPtr(v2)); }
public virtual void drawInSelectCommand(MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs) { touchvgPINVOKE.CmdObserver_drawInSelectCommand(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs)); }