Inheritance: IDisposable
コード例 #1
0
ファイル: MgShape.cs プロジェクト: vvhh2002/TouchVG
 public virtual void setContext(GiContext ctx, int mask)
 {
     touchvgPINVOKE.MgShape_setContext(swigCPtr, GiContext.getCPtr(ctx), mask);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #2
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #3
0
ファイル: GiCoreView.cs プロジェクト: hantu123/touchvg
 public GiContext getContext(bool forChange)
 {
     GiContext ret = new GiContext(touchvgPINVOKE.GiCoreView_getContext(swigCPtr, forChange), false);
     return ret;
 }
コード例 #4
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #5
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #6
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 public bool drawLine(GiContext ctx, Point2d startPt, Point2d endPt)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawLine__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), Point2d.getCPtr(startPt), Point2d.getCPtr(endPt));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #7
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 public bool drawPath(GiContext ctx, GiPath path, bool fill)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawPath__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), GiPath.getCPtr(path), fill);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #8
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 internal static HandleRef getCPtr(GiContext obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #9
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 public GiContext(GiContext src)
     : this(touchvgPINVOKE.new_GiContext__SWIG_6(GiContext.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #10
0
ファイル: MgShapes.cs プロジェクト: pankajcg/TouchVG
 public int dyndraw(int mode, GiGraphics gs, GiContext ctx, int segment)
 {
     int ret = touchvgPINVOKE.MgShapes_dyndraw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #11
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 public bool equals(GiContext src)
 {
     bool ret = touchvgPINVOKE.GiContext_equals(swigCPtr, GiContext.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #12
0
ファイル: MgShapes.cs プロジェクト: pankajcg/TouchVG
 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;
 }
コード例 #13
0
ファイル: MgBaseShape.cs プロジェクト: vvhh2002/TouchVG
 public virtual bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
 {
     bool ret = (SwigDerivedClassHasMethod("draw", swigMethodTypes23) ? touchvgPINVOKE.MgBaseShape_drawSwigExplicitMgBaseShape(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment) : touchvgPINVOKE.MgBaseShape_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #14
0
ファイル: MgShape.cs プロジェクト: vvhh2002/TouchVG
 public virtual GiContext context()
 {
     GiContext ret = new GiContext(touchvgPINVOKE.MgShape_context(swigCPtr), false);
     return ret;
 }
コード例 #15
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #16
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 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;
 }
コード例 #17
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #18
0
ファイル: GiGraphics.cs プロジェクト: rhcad/touchvg-v0.6
 public bool drawClosedSplines(GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit) {
   bool ret = touchvgPINVOKE.GiGraphics_drawClosedSplines__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), modelUnit);
   return ret;
 }
コード例 #19
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #20
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #21
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #22
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #23
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #24
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #25
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #26
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #27
0
ファイル: MgEllipse.cs プロジェクト: vvhh2002/TouchVG
 public override bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
 {
     bool ret = touchvgPINVOKE.MgEllipse_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #28
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #29
0
ファイル: GiCoreView.cs プロジェクト: hantu123/touchvg
 public void setContext(GiContext ctx, int mask, int apply)
 {
     touchvgPINVOKE.GiCoreView_setContext__SWIG_0(swigCPtr, GiContext.getCPtr(ctx), mask, apply);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #30
0
ファイル: MgShape.cs プロジェクト: pankajcg/TouchVG
 public void setContext(GiContext ctx)
 {
     touchvgPINVOKE.MgShape_setContext__SWIG_1(swigCPtr, GiContext.getCPtr(ctx));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }