本文整理汇总了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);
}
示例2: createView
public void createView(GiView view, int type)
{
touchvgPINVOKE.GiCoreView_createView__SWIG_0(swigCPtr, GiView.getCPtr(view), type);
}
示例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;
}
示例4: setBkColor
public int setBkColor(GiView view, int argb)
{
int ret = touchvgPINVOKE.GiCoreView_setBkColor(swigCPtr, GiView.getCPtr(view), argb);
return ret;
}
示例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;
}
示例6: drawAppend
public bool drawAppend(GiView view, GiCanvas canvas)
{
bool ret = touchvgPINVOKE.GiCoreView_drawAppend(swigCPtr, GiView.getCPtr(view), GiCanvas.getCPtr(canvas));
return ret;
}
示例7: destoryView
public void destoryView(GiView view)
{
touchvgPINVOKE.GiCoreView_destoryView(swigCPtr, GiView.getCPtr(view));
}
示例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;
}
示例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;
}
示例10: calcPenWidth
public float calcPenWidth(GiView view, float lineWidth)
{
float ret = touchvgPINVOKE.GiCoreView_calcPenWidth(swigCPtr, GiView.getCPtr(view), lineWidth);
return ret;
}
示例11: GiMouseHelper
public GiMouseHelper(GiView view, GiCoreView coreView)
: this(touchvgcsPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true)
{
}
示例12: getCPtr
internal static HandleRef getCPtr(GiView obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例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));
}
示例14: stopRecord
public void stopRecord(GiView view, bool forUndo)
{
touchvgPINVOKE.GiCoreView_stopRecord(swigCPtr, GiView.getCPtr(view), forUndo);
}
示例15: acquireGraphics
public int acquireGraphics(GiView view)
{
int ret = touchvgPINVOKE.GiCoreView_acquireGraphics(swigCPtr, GiView.getCPtr(view));
return ret;
}