Exemplo n.º 1
0
        public static MgShape findShapeByImageID(MgShapes shapes, string name)
        {
            IntPtr  cPtr = touchvgPINVOKE.MgImageShape_findShapeByImageID(MgShapes.getCPtr(shapes), name);
            MgShape ret  = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
 public void copyShapesTo(MgShapes dest)
 {
     touchvgPINVOKE.MgShapes_copyShapesTo(swigCPtr, MgShapes.getCPtr(dest));
 }
Exemplo n.º 3
0
        public bool moveShapeTo(int sid, MgShapes dest)
        {
            bool ret = touchvgPINVOKE.MgShapes_moveShapeTo(swigCPtr, sid, MgShapes.getCPtr(dest));

            return(ret);
        }
Exemplo n.º 4
0
        public int copyShapes(MgShapes src)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_2(swigCPtr, MgShapes.getCPtr(src));

            return(ret);
        }
Exemplo n.º 5
0
        public int copyShapes(MgShapes src, bool deeply)
        {
            int ret = touchvgPINVOKE.MgShapes_copyShapes__SWIG_1(swigCPtr, MgShapes.getCPtr(src), deeply);

            return(ret);
        }
Exemplo n.º 6
0
 public virtual void setParent(MgShapes p, int sid)
 {
     touchvgPINVOKE.MgShape_setParent(swigCPtr, MgShapes.getCPtr(p), sid);
 }
Exemplo n.º 7
0
        public bool setCurrentShapes(MgShapes shapes)
        {
            bool ret = touchvgPINVOKE.MgShapeDoc_setCurrentShapes(swigCPtr, MgShapes.getCPtr(shapes));

            return(ret);
        }
Exemplo n.º 8
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);
        }
Exemplo n.º 9
0
 public MgShapeIterator(MgShapes shapes) : this(touchvgPINVOKE.new_MgShapeIterator(MgShapes.getCPtr(shapes)), true)
 {
 }