Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 11
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Esempio n. 12
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Esempio n. 13
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Esempio n. 14
0
        public int copyShapes(MgShapes src)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));

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

            return(ret);
        }
Esempio n. 16
0
 public bool setCurrentShapes(MgShapes shapes)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));
     return ret;
 }
Esempio n. 17
0
 public virtual bool setCurrentShapes(MgShapes shapes)
 {
     bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));
     return ret;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 20
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Esempio n. 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;
 }
Esempio n. 22
0
 public int copyShapes(MgShapes src)
 {
     int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));
     return ret;
 }
Esempio n. 23
0
 public int copyShapes(MgShapes src, bool deeply)
 {
     int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);
     return ret;
 }
Esempio n. 24
0
 public MgShapeIterator(MgShapes s)
     : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true)
 {
 }
Esempio n. 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;
 }
Esempio n. 26
0
 public bool moveShapeTo(int sid, MgShapes dest)
 {
     bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest));
     return ret;
 }
Esempio n. 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;
 }
Esempio n. 28
0
 public MgShapeIterator(MgShapes s) : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true)
 {
 }
Esempio n. 29
0
        public virtual bool setCurrentShapes(MgShapes shapes)
        {
            bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));

            return(ret);
        }
Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 32
0
        public int copyShapes(MgShapes src, bool deeply)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);

            return(ret);
        }
Esempio n. 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);
        }
Esempio n. 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;
 }