当前位置: 首页>>代码示例>>C#>>正文


C# core.GiContext类代码示例

本文整理汇总了C#中touchvg.core.GiContext的典型用法代码示例。如果您正苦于以下问题:C# GiContext类的具体用法?C# GiContext怎么用?C# GiContext使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


GiContext类属于touchvg.core命名空间,在下文中一共展示了GiContext类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: setContext

 public virtual void setContext(GiContext ctx, int mask)
 {
     touchvgPINVOKE.MgShape_setContext(swigCPtr, GiContext.getCPtr(ctx), mask);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:vvhh2002,项目名称:TouchVG,代码行数:5,代码来源:MgShape.cs

示例2: drawRoundRect

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:6,代码来源:GiGraphics.cs

示例3: getContext

 public GiContext getContext(bool forChange)
 {
     GiContext ret = new GiContext(touchvgPINVOKE.GiCoreView_getContext(swigCPtr, forChange), false);
     return ret;
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:5,代码来源:GiCoreView.cs

示例4: drawPolygon

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:5,代码来源:GiGraphics.cs

示例5: drawQuadSplines

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:5,代码来源:GiGraphics.cs

示例6: drawLine

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:6,代码来源:GiGraphics.cs

示例7: drawPath

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:6,代码来源:GiGraphics.cs

示例8: getCPtr

 internal static HandleRef getCPtr(GiContext obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:4,代码来源:GiContext.cs

示例9: GiContext

 public GiContext(GiContext src)
     : this(touchvgPINVOKE.new_GiContext__SWIG_6(GiContext.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:GiContext.cs

示例10: dyndraw

 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;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:6,代码来源:MgShapes.cs

示例11: equals

 public bool equals(GiContext src)
 {
     bool ret = touchvgPINVOKE.GiContext_equals(swigCPtr, GiContext.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:6,代码来源:GiContext.cs

示例12: draw

 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;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:6,代码来源:MgShapes.cs

示例13: draw

 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;
 }
开发者ID:vvhh2002,项目名称:TouchVG,代码行数:6,代码来源:MgBaseShape.cs

示例14: context

 public virtual GiContext context()
 {
     GiContext ret = new GiContext(touchvgPINVOKE.MgShape_context(swigCPtr), false);
     return ret;
 }
开发者ID:vvhh2002,项目名称:TouchVG,代码行数:5,代码来源:MgShape.cs

示例15: drawEllipse

 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;
 }
开发者ID:nhbcyz,项目名称:TouchVG,代码行数:6,代码来源:GiGraphics.cs


注:本文中的touchvg.core.GiContext类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。