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


C# core.GiView类代码示例

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


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

示例1: WPFTempCanvas

 public WPFTempCanvas(GiCoreView coreView, GiView view)
 {
     this._coreView = coreView;
     this._view = view;
     this._adapter = new WPFCanvasAdapter();
     _helper = new GiMouseHelper(this._view, this._coreView);
     this.MouseDown += new MouseButtonEventHandler(TempCanvas_MouseDown);
     this.MouseUp += new MouseButtonEventHandler(TempCanvas_MouseUp);
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:9,代码来源:WPFMainCanvas.cs

示例2: createView

 public void createView(GiView view, int type)
 {
     touchvgPINVOKE.GiCoreView_createView__SWIG_0(swigCPtr, GiView.getCPtr(view), type);
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:4,代码来源:GiCoreView.cs

示例3: twoFingersMove

 public bool twoFingersMove(GiView view, GiGestureState state, float x1, float y1, float x2, float y2)
 {
     bool ret = touchvgPINVOKE.GiCoreView_twoFingersMove__SWIG_1(swigCPtr, GiView.getCPtr(view), (int)state, x1, y1, x2, y2);
     return ret;
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:5,代码来源:GiCoreView.cs

示例4: setBkColor

 public int setBkColor(GiView view, int argb)
 {
     int ret = touchvgPINVOKE.GiCoreView_setBkColor(swigCPtr, GiView.getCPtr(view), argb);
     return ret;
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:5,代码来源:GiCoreView.cs

示例5: onGesture

 public bool onGesture(GiView view, GiGestureType type, GiGestureState state, float x, float y)
 {
     bool ret = touchvgPINVOKE.GiCoreView_onGesture__SWIG_1(swigCPtr, GiView.getCPtr(view), (int)type, (int)state, x, y);
     return ret;
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:5,代码来源:GiCoreView.cs

示例6: drawAppend

 public bool drawAppend(GiView view, GiCanvas canvas)
 {
     bool ret = touchvgPINVOKE.GiCoreView_drawAppend(swigCPtr, GiView.getCPtr(view), GiCanvas.getCPtr(canvas));
     return ret;
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:5,代码来源:GiCoreView.cs

示例7: destoryView

 public void destoryView(GiView view)
 {
     touchvgPINVOKE.GiCoreView_destoryView(swigCPtr, GiView.getCPtr(view));
 }
开发者ID:hantu123,项目名称:touchvg,代码行数:4,代码来源:GiCoreView.cs

示例8: dynDraw

 public int dynDraw(GiView view, GiCanvas canvas)
 {
     int ret = touchvgPINVOKE.GiCoreView_dynDraw__SWIG_2(swigCPtr, GiView.getCPtr(view), GiCanvas.getCPtr(canvas));
     return ret;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:5,代码来源:GiCoreView.cs

示例9: drawAppend

 public int drawAppend(GiView view, GiCanvas canvas, int sid)
 {
     int ret = touchvgPINVOKE.GiCoreView_drawAppend__SWIG_1(swigCPtr, GiView.getCPtr(view), GiCanvas.getCPtr(canvas), sid);
     return ret;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:5,代码来源:GiCoreView.cs

示例10: calcPenWidth

 public float calcPenWidth(GiView view, float lineWidth)
 {
     float ret = touchvgPINVOKE.GiCoreView_calcPenWidth(swigCPtr, GiView.getCPtr(view), lineWidth);
     return ret;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:5,代码来源:GiCoreView.cs

示例11: GiMouseHelper

 public GiMouseHelper(GiView view, GiCoreView coreView)
     : this(touchvgcsPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true)
 {
 }
开发者ID:rhcad,项目名称:vglite,代码行数:4,代码来源:GiMouseHelper.cs

示例12: getCPtr

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

示例13: viewChanged

 public virtual void viewChanged(GiView oldview)
 {
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes10)) touchvgPINVOKE.GiView_viewChangedSwigExplicitGiView(swigCPtr, GiView.getCPtr(oldview)); else touchvgPINVOKE.GiView_viewChanged(swigCPtr, GiView.getCPtr(oldview));
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:4,代码来源:GiView.cs

示例14: stopRecord

 public void stopRecord(GiView view, bool forUndo)
 {
     touchvgPINVOKE.GiCoreView_stopRecord(swigCPtr, GiView.getCPtr(view), forUndo);
 }
开发者ID:stonelin129,项目名称:Touchvg,代码行数:4,代码来源:GiCoreView.cs

示例15: acquireGraphics

 public int acquireGraphics(GiView view)
 {
     int ret = touchvgPINVOKE.GiCoreView_acquireGraphics(swigCPtr, GiView.getCPtr(view));
     return ret;
 }
开发者ID:pankajcg,项目名称:TouchVG,代码行数:5,代码来源:GiCoreView.cs


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