Exemple #1
0
        public MgShapes getBackShapes(bool needClear)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.GiPlaying_getBackShapes(swigCPtr, needClear);
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
        public MgShapes getCurrentShapes()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapeDoc_getCurrentShapes(swigCPtr);
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #4
0
        public virtual MgShapes shapes()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgView_shapes(swigCPtr);
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #5
0
        public static MgShapes fromHandle(int h)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_fromHandle(h);
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #6
0
        public MgShapes shallowCopy()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_shallowCopy(swigCPtr);
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #7
0
        public static MgShapes create()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_create__SWIG_2();
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #8
0
        public static MgShapes create(MgObject owner)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_create__SWIG_1(MgObject.getCPtr(owner));
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemple #9
0
        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);
        }
Exemple #10
0
 public MgShapes shapes() {
   global::System.IntPtr cPtr = touchvgPINVOKE.MgShapeIterator_shapes(swigCPtr);
   MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);
   return ret;
 }
Exemple #11
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Exemple #12
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Exemple #13
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Exemple #14
0
        public int copyShapes(MgShapes src)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));

            return(ret);
        }
Exemple #15
0
        public bool moveShapeTo(int sid, MgShapes dest)
        {
            bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest));

            return(ret);
        }
Exemple #16
0
 public bool setCurrentShapes(MgShapes shapes)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));
     return ret;
 }
Exemple #17
0
 public virtual bool setCurrentShapes(MgShapes shapes)
 {
     bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));
     return ret;
 }
Exemple #18
0
 public virtual bool gatherShapes(MgMotion sender, MgShapes shapes)
 {
     bool ret = (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5) ? touchvgPINVOKE.MgCommand_gatherShapesSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender), MgShapes.getCPtr(shapes)) : touchvgPINVOKE.MgCommand_gatherShapes(swigCPtr, MgMotion.getCPtr(sender), MgShapes.getCPtr(shapes)));
     return ret;
 }
Exemple #19
0
 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;
 }
Exemple #20
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Exemple #21
0
 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;
 }
Exemple #22
0
 public int copyShapes(MgShapes src)
 {
     int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));
     return ret;
 }
Exemple #23
0
 public int copyShapes(MgShapes src, bool deeply)
 {
     int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);
     return ret;
 }
Exemple #24
0
 public MgShapeIterator(MgShapes s)
     : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true)
 {
 }
Exemple #25
0
 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;
 }
Exemple #26
0
 public bool moveShapeTo(int sid, MgShapes dest)
 {
     bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest));
     return ret;
 }
Exemple #27
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgShapes obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #28
0
 public MgShapeIterator(MgShapes s) : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true)
 {
 }
Exemple #29
0
        public virtual bool setCurrentShapes(MgShapes shapes)
        {
            bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));

            return(ret);
        }
Exemple #30
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgShapes obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #31
0
        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);
        }
Exemple #32
0
        public int copyShapes(MgShapes src, bool deeply)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);

            return(ret);
        }
Exemple #33
0
        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);
        }
Exemple #34
0
 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;
 }