當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。