public MgShape addShape(MgMotion sender) { IntPtr cPtr = touchvgPINVOKE.MgCommandDraw_addShape__SWIG_1(swigCPtr, MgMotion.getCPtr(sender)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape dynshape() { IntPtr cPtr = touchvgPINVOKE.MgCommandDraw_dynshape(swigCPtr); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public virtual MgShape createShape(int type) { IntPtr cPtr = touchvgPINVOKE.MgShapeFactory_createShape(swigCPtr, type); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public virtual MgShape addImageShape(MgMotion sender, string name, float xc, float yc, float w, float h) { IntPtr cPtr = touchvgPINVOKE.MgCmdManager_addImageShape__SWIG_1(swigCPtr, MgMotion.getCPtr(sender), name, xc, yc, w, h); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getNext() { IntPtr cPtr = touchvgPINVOKE.MgShapeIterator_getNext(swigCPtr); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getOwnerShape() { IntPtr cPtr = touchvgPINVOKE.MgComposite_getOwnerShape(swigCPtr); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape getLastShape() { IntPtr cPtr = touchvgPINVOKE.MgShapes_getLastShape(swigCPtr); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape addShape(MgShape src) { IntPtr cPtr = touchvgPINVOKE.MgShapes_addShape(swigCPtr, MgShape.getCPtr(src)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static MgShape getParentShape(MgShape shape) { IntPtr cPtr = touchvgPINVOKE.MgShapes_getParentShape(MgShape.getCPtr(shape)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape findShapeByType(int type) { IntPtr cPtr = touchvgPINVOKE.MgShapes_findShapeByType(swigCPtr, type); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape findShape(int sid) { IntPtr cPtr = touchvgPINVOKE.MgShapeDoc_findShape(swigCPtr, sid); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape addShapeByType(MgShapeFactory factory, int type) { IntPtr cPtr = touchvgPINVOKE.MgShapes_addShapeByType(swigCPtr, MgShapeFactory.getCPtr(factory), type); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public MgShape get(int index) { IntPtr cPtr = touchvgPINVOKE.ConstShapes_get(swigCPtr, index); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public static MgShape findShapeByImageID(MgShapes shapes, string name) { IntPtr cPtr = touchvgPINVOKE.MgImageShape_findShapeByImageID(MgShapes.getCPtr(shapes), name); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return(ret); }
public override int addShapeActions(MgMotion arg0, Ints arg1, int n, MgShape arg3) { int ret = (SwigDerivedClassHasMethod("addShapeActions", swigMethodTypes4) ? touchvgPINVOKE.CmdObserverDefault_addShapeActionsSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3)) : touchvgPINVOKE.CmdObserverDefault_addShapeActions(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3))); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } 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 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 onShapeMoved(MgMotion sender, MgShape sp, int segment) { if (SwigDerivedClassHasMethod("onShapeMoved", swigMethodTypes17)) { touchvgPINVOKE.CmdObserverDefault_onShapeMovedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); } else { touchvgPINVOKE.CmdObserverDefault_onShapeMoved(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); } }
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 setOwner(MgShape owner) { if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7)) { touchvgPINVOKE.MgComposite_setOwnerSwigExplicitMgComposite(swigCPtr, MgShape.getCPtr(owner)); } else { touchvgPINVOKE.MgComposite_setOwner(swigCPtr, MgShape.getCPtr(owner)); } }
public MgShape hitTest(Box2d limits, MgHitResult res) { IntPtr cPtr = touchvgPINVOKE.MgShapes_hitTest(swigCPtr, Box2d.getCPtr(limits), MgHitResult.getCPtr(res)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MgShape addShape(MgShape src) { IntPtr cPtr = touchvgPINVOKE.MgShapes_addShape(swigCPtr, MgShape.getCPtr(src)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void setOwner(MgShape owner) { if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7)) { touchvgPINVOKE.MgBaseShape_setOwnerSwigExplicitMgBaseShape(swigCPtr, MgShape.getCPtr(owner)); } else { touchvgPINVOKE.MgBaseShape_setOwner(swigCPtr, MgShape.getCPtr(owner)); } }
public ConstShapes(MgShape v1, MgShape v2) : this(touchvgPINVOKE.new_ConstShapes__SWIG_2(MgShape.getCPtr(v1), MgShape.getCPtr(v2)), true) { }
internal static HandleRef getCPtr(MgShape obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public virtual bool shapeWillDeleted(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeWillDeleted(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public virtual bool onShapeCanTransform(MgMotion sender, MgShape sp) { bool ret = touchvgPINVOKE.CmdObserver_onShapeCanTransform(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); return ret; }
public override bool onShapeCanRotated(MgMotion sender, MgShape sp) { bool ret = (SwigDerivedClassHasMethod("onShapeCanRotated", swigMethodTypes13) ? touchvgPINVOKE.CmdObserverDefault_onShapeCanRotatedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)) : touchvgPINVOKE.CmdObserverDefault_onShapeCanRotated(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp))); 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 setOwner(MgShape owner) { if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7)) touchvgPINVOKE.MgComposite_setOwnerSwigExplicitMgComposite(swigCPtr, MgShape.getCPtr(owner)); else touchvgPINVOKE.MgComposite_setOwner(swigCPtr, MgShape.getCPtr(owner)); }
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)); }
public virtual bool canOffsetShapeAlone(MgShape shape) { bool ret = (SwigDerivedClassHasMethod("canOffsetShapeAlone", swigMethodTypes33) ? touchvgPINVOKE.MgComposite_canOffsetShapeAloneSwigExplicitMgComposite(swigCPtr, MgShape.getCPtr(shape)) : touchvgPINVOKE.MgComposite_canOffsetShapeAlone(swigCPtr, MgShape.getCPtr(shape))); return(ret); }
public virtual bool onShapeWillDeleted(MgMotion sender, MgShape sp) { bool ret = touchvgPINVOKE.CmdObserver_onShapeWillDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); return ret; }
public virtual void onShapeDeleted(MgMotion sender, MgShape sp) { touchvgPINVOKE.CmdObserver_onShapeDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); }
public virtual void shapeMoved(MgShape shape, int segment) { touchvgPINVOKE.MgView_shapeMoved(swigCPtr, MgShape.getCPtr(shape), segment); }
public virtual bool shapeCanUngroup(MgShape shape) { bool ret = touchvgPINVOKE.MgView_shapeCanUngroup(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public virtual bool removeShape(MgShape shape) { bool ret = touchvgPINVOKE.MgView_removeShape(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 void set(int index, MgShape v1, MgShape v2) { touchvgPINVOKE.ConstShapes_set__SWIG_1(swigCPtr, index, MgShape.getCPtr(v1), MgShape.getCPtr(v2)); }
public virtual void setOwner(MgShape owner) { if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7)) touchvgPINVOKE.MgBaseShape_setOwnerSwigExplicitMgBaseShape(swigCPtr, MgShape.getCPtr(owner)); else touchvgPINVOKE.MgBaseShape_setOwner(swigCPtr, MgShape.getCPtr(owner)); }
public override int addShapeActions(MgMotion arg0, Ints arg1, int n, MgShape arg3) { int ret = (SwigDerivedClassHasMethod("addShapeActions", swigMethodTypes4) ? touchvgPINVOKE.CmdObserverDefault_addShapeActionsSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3)) : touchvgPINVOKE.CmdObserverDefault_addShapeActions(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3))); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool updateShape(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_updateShape__SWIG_1(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public override void onShapeDeleted(MgMotion sender, MgShape sp) { if (SwigDerivedClassHasMethod("onShapeDeleted", swigMethodTypes12)) touchvgPINVOKE.CmdObserverDefault_onShapeDeletedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); else touchvgPINVOKE.CmdObserverDefault_onShapeDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); }
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 virtual void onShapeMoved(MgMotion sender, MgShape sp, int segment) { touchvgPINVOKE.CmdObserver_onShapeMoved(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment); }
public bool addShapeDirect(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_addShapeDirect(swigCPtr, MgShape.getCPtr(shape)); return(ret); }
public static MgShape getParentShape(MgShape shape) { IntPtr cPtr = touchvgPINVOKE.MgShapes_getParentShape(MgShape.getCPtr(shape)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return ret; }
public virtual void shapeAdded(MgShape shape) { touchvgPINVOKE.MgView_shapeAdded(swigCPtr, MgShape.getCPtr(shape)); }
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 bool addShapeDirect(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_addShapeDirect__SWIG_1(swigCPtr, MgShape.getCPtr(shape)); return ret; }
public bool updateShape(MgShape shape) { bool ret = touchvgPINVOKE.MgShapes_updateShape__SWIG_1(swigCPtr, MgShape.getCPtr(shape)); return(ret); }
public bool addShapeToGroup(MgShape shape) { bool ret = touchvgPINVOKE.MgGroup_addShapeToGroup(swigCPtr, MgShape.getCPtr(shape)); 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 void set(int index, MgShape value) { touchvgPINVOKE.ConstShapes_set__SWIG_0(swigCPtr, index, MgShape.getCPtr(value)); }
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 virtual bool canOffsetShapeAlone(MgShape shape) { bool ret = (SwigDerivedClassHasMethod("canOffsetShapeAlone", swigMethodTypes33) ? touchvgPINVOKE.MgComposite_canOffsetShapeAloneSwigExplicitMgComposite(swigCPtr, MgShape.getCPtr(shape)) : touchvgPINVOKE.MgComposite_canOffsetShapeAlone(swigCPtr, MgShape.getCPtr(shape))); return ret; }