• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# core.GiContext类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: copy

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


示例17: drawHermiteSplines

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


示例18: drawClosedSplines

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


示例19: drawLines

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


示例20: drawArc3P

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# core.GiView类代码示例发布时间:2022-05-26
下一篇:
C# core.Box2d类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap