Esempio n. 1
0
 public bool drawRect(GiContext ctx, Box2d rect, bool modelUnit)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawRect__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), Box2d.getCPtr(rect), modelUnit);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 2
0
 public virtual bool drawPerpMark(GiGraphics gs, GiContext ctx, Point2d a, Point2d b, Point2d perp, Point2d c, float len)
 {
     bool ret = touchvgPINVOKE.MgSnap_drawPerpMark(swigCPtr, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), Point2d.getCPtr(a), Point2d.getCPtr(b), Point2d.getCPtr(perp), Point2d.getCPtr(c), len);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 3
0
 public bool drawPolygon(GiContext ctx, int count, Point2d points)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawPolygon__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points));
     return ret;
 }
Esempio n. 4
0
 public bool drawQuadSplines(GiContext ctx, int count, Point2d ctlpts)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawQuadSplines__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(ctlpts));
     return ret;
 }
Esempio n. 5
0
        public GiContext copy(GiContext src, int mask)
        {
            GiContext ret = new GiContext(touchvgPINVOKE.GiContext_copy__SWIG_0(swigCPtr, GiContext.getCPtr(src), mask), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 public bool drawPath(GiContext ctx, MgPath path, bool fill)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawPath__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), MgPath.getCPtr(path), fill);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 7
0
        public bool drawHermiteSplines(GiContext ctx, int count, Point2d knots, Vector2d knotvs)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawHermiteSplines__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs));

            return(ret);
        }
Esempio n. 8
0
 public GiContext copy(GiContext src)
 {
     GiContext ret = new GiContext(touchvgPINVOKE.GiContext_copy__SWIG_1(swigCPtr, GiContext.getCPtr(src)), false);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 9
0
        public bool drawBeziers(GiContext ctx, int count, Point2d knot, Vector2d knotvs)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawBeziers__SWIG_5(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knot), Vector2d.getCPtr(knotvs));

            return(ret);
        }
Esempio n. 10
0
        public bool drawPolygon(GiContext ctx, int count, Point2d points)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawPolygon__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points));

            return(ret);
        }
Esempio n. 11
0
        public bool drawBeziers(GiContext ctx, int count, Point2d points, bool closed)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawBeziers__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points), closed);

            return(ret);
        }
Esempio n. 12
0
        public bool drawLines(GiContext ctx, int count, Point2d points, bool modelUnit)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawLines__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points), modelUnit);

            return(ret);
        }
Esempio n. 13
0
        public override bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
        {
            bool ret = touchvgPINVOKE.MgDiamond_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 14
0
 public int draw(GiGraphics gs, GiContext ctx)
 {
     int ret = touchvgPINVOKE.MgShapes_draw__SWIG_0(swigCPtr, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 15
0
        public bool drawQuadSplines(GiContext ctx, int count, Point2d ctlpts, bool closed)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawQuadSplines__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(ctlpts), closed);

            return(ret);
        }
Esempio n. 16
0
 public virtual GiContext getContext(bool forChange)
 {
     GiContext ret = new GiContext(touchvgPINVOKE.MgCoreView_getContext(swigCPtr, forChange), false);
     return ret;
 }
Esempio n. 17
0
 public virtual void setContext(GiContext ctx, int mask)
 {
     touchvgPINVOKE.MgShape_setContext__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), mask);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 18
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiContext obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 19
0
 public void setContext(GiContext ctx)
 {
     touchvgPINVOKE.MgShape_setContext__SWIG_1(swigCPtr, GiContext.getCPtr(ctx));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 20
0
 public bool drawLines(GiContext ctx, int count, Point2d points, bool modelUnit)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawLines__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points), modelUnit);
     return ret;
 }
Esempio n. 21
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. 22
0
 public bool drawPie(GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawPie__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(center), rx, ry, startAngle, sweepAngle);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 23
0
 public virtual GiContext context()
 {
     GiContext ret = new GiContext(touchvgPINVOKE.MgShape_context(swigCPtr), false);
     return ret;
 }
Esempio n. 24
0
 public bool drawQuadSplines(GiContext ctx, int count, Point2d ctlpts, bool closed, bool modelUnit)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawQuadSplines__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(ctlpts), closed, modelUnit);
     return ret;
 }
Esempio n. 25
0
 public bool drawArc3P(GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt, bool modelUnit)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawArc3P__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(startpt), Point2d.getCPtr(midpt), Point2d.getCPtr(endpt), modelUnit);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 26
0
 public bool drawRayline(GiContext ctx, Point2d startPt, Point2d endPt)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawRayline__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(startPt), Point2d.getCPtr(endPt));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 27
0
 public bool drawBeziers(GiContext ctx, int count, Point2d points, bool closed)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawBeziers__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(points), closed);
     return ret;
 }
Esempio n. 28
0
 public bool drawRoundRect(GiContext ctx, Box2d rect, float rx)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawRoundRect__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), Box2d.getCPtr(rect), rx);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 29
0
 public bool drawBeziers(GiContext ctx, int count, Point2d knot, Vector2d knotvs)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawBeziers__SWIG_5(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knot), Vector2d.getCPtr(knotvs));
     return ret;
 }
Esempio n. 30
0
 public virtual bool draw2(MgObject owner, int mode, GiGraphics gs, GiContext ctx, int segment)
 {
     bool ret = (SwigDerivedClassHasMethod("draw2", swigMethodTypes23) ? touchvgPINVOKE.MgBaseShape_draw2SwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment) : touchvgPINVOKE.MgBaseShape_draw2(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 31
0
 public bool drawCircle(GiContext ctx, Point2d center, float r)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawCircle__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(center), r);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 32
0
 public override bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
 {
     bool ret = touchvgPINVOKE.MgImageShape_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 33
0
 public bool drawEllipse(GiContext ctx, Point2d center, float rx, float ry, bool modelUnit)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawEllipse__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(center), rx, ry, modelUnit);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 34
0
 public virtual void setContext(GiContext ctx, int mask, int apply)
 {
     touchvgPINVOKE.MgCoreView_setContext__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), mask, apply);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 35
0
 public bool drawEllipse(GiContext ctx, Box2d rect)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawEllipse__SWIG_3(swigCPtr, GiContext.getCPtr(ctx), Box2d.getCPtr(rect));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 36
0
 public bool equals(GiContext src)
 {
     bool ret = touchvgPINVOKE.GiContext_equals(swigCPtr, GiContext.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 37
0
 public bool drawHermiteSplines(GiContext ctx, int count, Point2d knots, Vector2d knotvs)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawHermiteSplines__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs));
     return ret;
 }
Esempio n. 38
0
 public GiContext(GiContext src)
     : this(touchvgPINVOKE.new_GiContext__SWIG_6(GiContext.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 39
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiContext obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }