Exemple #1
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 #2
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 #3
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 #4
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 #5
0
        public virtual bool setCurrentShapes(MgShapes shapes)
        {
            bool ret = touchvgPINVOKE.MgView_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));

            return(ret);
        }
Exemple #6
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Exemple #7
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Exemple #8
0
        public bool moveShapeTo(int sid, MgShapes dest)
        {
            bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest));

            return(ret);
        }
Exemple #9
0
        public int copyShapes(MgShapes src)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));

            return(ret);
        }
Exemple #10
0
        public int copyShapes(MgShapes src, bool deeply)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);

            return(ret);
        }
Exemple #11
0
 public MgShapeIterator(MgShapes s) : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(s)), true)
 {
 }
Exemple #12
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;
 }