Esempio n. 1
0
        public MgStorage storageForRead(string content)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgJsonStorage_storageForRead__SWIG_0(swigCPtr, content);
            MgStorage             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgStorage(cPtr, false);

            return(ret);
        }
Esempio n. 2
0
        public MgStorage storageForWrite()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgJsonStorage_storageForWrite(swigCPtr);
            MgStorage             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgStorage(cPtr, false);

            return(ret);
        }
Esempio n. 3
0
        public MgStorage storageForRead(MgJsonFile file)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgJsonStorage_storageForRead__SWIG_1(swigCPtr, MgJsonFile.getCPtr(file));
            MgStorage             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgStorage(cPtr, false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
 public bool load(MgShapeFactory factory, MgStorage s, bool addOnly)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), addOnly);
     return ret;
 }
Esempio n. 5
0
        public override bool load(MgShapeFactory factory, MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgDiamond_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 6
0
        public virtual bool load(MgShapeFactory factory, MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgShape_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 7
0
 public override bool save(MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgImageShape_save(swigCPtr, MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 8
0
        public int load(MgShapeFactory factory, MgStorage s)
        {
            int ret = touchvgPINVOKE.MgShapes_load__SWIG_1(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 9
0
        public bool saveShape(MgStorage s, MgShape shape, int index)
        {
            bool ret = touchvgPINVOKE.MgShapes_saveShape(swigCPtr, MgStorage.getCPtr(s), MgShape.getCPtr(shape), index);

            return(ret);
        }
Esempio n. 10
0
        public bool saveAll(MgStorage s, GiTransform xform)
        {
            bool ret = touchvgPINVOKE.MgShapeDoc_saveAll(swigCPtr, MgStorage.getCPtr(s), GiTransform.getCPtr(xform));

            return(ret);
        }
Esempio n. 11
0
        public virtual bool loadShapes(MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgCoreView_loadShapes__SWIG_1(swigCPtr, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 12
0
        public virtual bool saveShapes(int doc, MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgCoreView_saveShapes__SWIG_0(swigCPtr, doc, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 13
0
 public virtual bool setCommand(MgMotion sender, string name, MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_setCommand(swigCPtr, MgMotion.getCPtr(sender), name, MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 14
0
        public bool loadAll(MgShapeFactory factory, MgStorage s, GiTransform xform)
        {
            bool ret = touchvgPINVOKE.MgShapeDoc_loadAll(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), GiTransform.getCPtr(xform));

            return(ret);
        }
Esempio n. 15
0
        public bool load(MgShapeFactory factory, MgStorage s, bool addOnly)
        {
            bool ret = touchvgPINVOKE.MgShapeDoc_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), addOnly);

            return(ret);
        }
Esempio n. 16
0
 public bool save(MgStorage s, int startIndex)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_save(swigCPtr, MgStorage.getCPtr(s), startIndex);
     return ret;
 }
Esempio n. 17
0
        public override bool initialize(MgMotion sender, MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgCmdArc3P_initialize(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 18
0
 public override bool save(MgStorage s) {
   bool ret = touchvgPINVOKE.MgImageShape_save(swigCPtr, MgStorage.getCPtr(s));
   return ret;
 }
Esempio n. 19
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgStorage obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 20
0
 public virtual bool saveShapes(int doc, MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCoreView_saveShapes__SWIG_0(swigCPtr, doc, MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 21
0
 public override bool load(MgShapeFactory factory, MgStorage s) {
   bool ret = touchvgPINVOKE.MgImageShape_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));
   return ret;
 }
Esempio n. 22
0
 public virtual bool initialize(MgMotion sender, MgStorage s)
 {
     bool ret = (SwigDerivedClassHasMethod("initialize", swigMethodTypes2) ? touchvgPINVOKE.MgCommand_initializeSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)) : touchvgPINVOKE.MgCommand_initialize(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)));
     return ret;
 }
Esempio n. 23
0
        public virtual bool save(MgStorage s)
        {
            bool ret = (SwigDerivedClassHasMethod("save", swigMethodTypes25) ? touchvgPINVOKE.MgBaseShape_saveSwigExplicitMgBaseShape(swigCPtr, MgStorage.getCPtr(s)) : touchvgPINVOKE.MgBaseShape_save(swigCPtr, MgStorage.getCPtr(s)));

            return(ret);
        }
Esempio n. 24
0
        public int load(MgShapeFactory factory, MgStorage s, bool addOnly)
        {
            int ret = touchvgPINVOKE.MgShapes_load__SWIG_0(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), addOnly);

            return(ret);
        }
Esempio n. 25
0
        public virtual bool load(MgShapeFactory factory, MgStorage s)
        {
            bool ret = (SwigDerivedClassHasMethod("load", swigMethodTypes26) ? touchvgPINVOKE.MgBaseShape_loadSwigExplicitMgBaseShape(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s)) : touchvgPINVOKE.MgBaseShape_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s)));

            return(ret);
        }
Esempio n. 26
0
 public override bool load(MgShapeFactory factory, MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgImageShape_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 27
0
 public override bool initialize(MgMotion sender, MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCmdSector_initialize(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 28
0
        public virtual bool save(MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgShape_save(swigCPtr, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 29
0
 public override bool initialize(MgMotion sender, MgStorage s)
 {
     bool ret = (SwigDerivedClassHasMethod("initialize", swigMethodTypes2) ? touchvgPINVOKE.MgCmdDrawRect_initializeSwigExplicitMgCmdDrawRect(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)) : touchvgPINVOKE.MgCmdDrawRect_initialize(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)));
     return ret;
 }
Esempio n. 30
0
        public override bool save(MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgDiamond_save(swigCPtr, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 31
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgStorage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 32
0
        public override bool initialize(MgMotion sender, MgStorage s)
        {
            bool ret = (SwigDerivedClassHasMethod("initialize", swigMethodTypes2) ? touchvgPINVOKE.MgCommandDraw_initializeSwigExplicitMgCommandDraw(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)) : touchvgPINVOKE.MgCommandDraw_initialize(swigCPtr, MgMotion.getCPtr(sender), MgStorage.getCPtr(s)));

            return(ret);
        }
Esempio n. 33
0
 public virtual bool load(MgShapeFactory factory, MgStorage s)
 {
     bool ret = (SwigDerivedClassHasMethod("load", swigMethodTypes26) ? touchvgPINVOKE.MgBaseShape_loadSwigExplicitMgBaseShape(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s)) : touchvgPINVOKE.MgBaseShape_load(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s)));
     return ret;
 }
Esempio n. 34
0
 public bool loadAll(MgShapeFactory factory, MgStorage s, GiTransform xform)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_loadAll(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), GiTransform.getCPtr(xform));
     return ret;
 }
Esempio n. 35
0
 public virtual bool save(MgStorage s)
 {
     bool ret = (SwigDerivedClassHasMethod("save", swigMethodTypes25) ? touchvgPINVOKE.MgBaseShape_saveSwigExplicitMgBaseShape(swigCPtr, MgStorage.getCPtr(s)) : touchvgPINVOKE.MgBaseShape_save(swigCPtr, MgStorage.getCPtr(s)));
     return ret;
 }
Esempio n. 36
0
 public bool saveAll(MgStorage s, GiTransform xform)
 {
     bool ret = touchvgPINVOKE.MgShapeDoc_saveAll(swigCPtr, MgStorage.getCPtr(s), GiTransform.getCPtr(xform));
     return ret;
 }
Esempio n. 37
0
 public int load(MgShapeFactory factory, MgStorage s, bool addOnly)
 {
     int ret = touchvgPINVOKE.MgShapes_load__SWIG_0(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s), addOnly);
     return ret;
 }
Esempio n. 38
0
 public int load(MgShapeFactory factory, MgStorage s)
 {
     int ret = touchvgPINVOKE.MgShapes_load__SWIG_1(swigCPtr, MgShapeFactory.getCPtr(factory), MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 39
0
 public bool saveShape(MgStorage s, MgShape shape, int index)
 {
     bool ret = touchvgPINVOKE.MgShapes_saveShape(swigCPtr, MgStorage.getCPtr(s), MgShape.getCPtr(shape), index);
     return ret;
 }
Esempio n. 40
0
 public virtual bool loadShapes(MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCoreView_loadShapes__SWIG_1(swigCPtr, MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 41
0
        public bool save(MgStorage s, int startIndex)
        {
            bool ret = touchvgPINVOKE.MgShapes_save__SWIG_0(swigCPtr, MgStorage.getCPtr(s), startIndex);

            return(ret);
        }
Esempio n. 42
0
 public bool saveShapes(MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCoreView_saveShapes__SWIG_1(swigCPtr, MgStorage.getCPtr(s));
     return ret;
 }
Esempio n. 43
0
        public bool save(MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgShapes_save__SWIG_1(swigCPtr, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 44
0
        public virtual bool setCommand(MgMotion sender, string name, MgStorage s)
        {
            bool ret = touchvgPINVOKE.MgCmdManager_setCommand(swigCPtr, MgMotion.getCPtr(sender), name, MgStorage.getCPtr(s));

            return(ret);
        }
Esempio n. 45
0
 public virtual bool save(MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgShape_save(swigCPtr, MgStorage.getCPtr(s));
     return ret;
 }