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 static bool drawShape(MgShapes shapes, MgBaseShape sp, int mode, GiGraphics gs, GiContext ctx, int segment) { bool ret = touchvgPINVOKE.MgShape_drawShape(MgShapes.getCPtr(shapes), MgBaseShape.getCPtr(sp), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int applyUndoFile(MgShapeFactory f, MgShapeDoc doc, MgShapes dyns, int index, int curTick) { int ret = touchvgPINVOKE.MgRecordShapes_applyUndoFile(swigCPtr, MgShapeFactory.getCPtr(f), MgShapeDoc.getCPtr(doc), MgShapes.getCPtr(dyns), index, curTick); return(ret); }
public override bool gatherShapes(MgMotion sender, MgShapes shapes) { bool ret = (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5) ? touchvgPINVOKE.MgCommandDraw_gatherShapesSwigExplicitMgCommandDraw(swigCPtr, MgMotion.getCPtr(sender), MgShapes.getCPtr(shapes)) : touchvgPINVOKE.MgCommandDraw_gatherShapes(swigCPtr, MgMotion.getCPtr(sender), MgShapes.getCPtr(shapes))); return(ret); }
public virtual bool setCurrentShapes(MgShapes shapes) { bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes)); return(ret); }
public void copyShapesTo(MgShapes dest) { touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest)); }
public virtual void setParent(MgShapes p, int sid) { touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid); }
public bool moveShapeTo(int sid, MgShapes dest) { bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest)); return(ret); }
public int copyShapes(MgShapes src) { int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src)); return(ret); }
public int copyShapes(MgShapes src, bool deeply) { int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply); return(ret); }
public MgShapeIterator(MgShapes s) : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true) { }
public static MgShape findShapeByImageID(MgShapes shapes, string name) { global::System.IntPtr cPtr = touchvgPINVOKE.MgImageShape_findShapeByImageID(MgShapes.getCPtr(shapes), name); MgShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShape(cPtr, false); return ret; }