public static GiCoreView createView(GiView view) { IntPtr cPtr = touchvgPINVOKE.GiCoreView_createView__SWIG_1(GiView.getCPtr(view)); GiCoreView ret = (cPtr == IntPtr.Zero) ? null : new GiCoreView(cPtr, false); return(ret); }
public static GiCoreView createMagnifierView(GiView newview, GiCoreView mainView, GiView mainDevView) { IntPtr cPtr = touchvgPINVOKE.GiCoreView_createMagnifierView(GiView.getCPtr(newview), GiCoreView.getCPtr(mainView), GiView.getCPtr(mainDevView)); GiCoreView ret = (cPtr == IntPtr.Zero) ? null : new GiCoreView(cPtr, false); return(ret); }
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); }
public void clean() { _coreView = null; _view = null; if (_adapter != null) { _adapter.Dispose(); _adapter = null; } }
internal static HandleRef getCPtr(GiCoreView obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public GiCoreView(GiCoreView mainView) : this(touchvgPINVOKE.new_GiCoreView__SWIG_0(GiCoreView.getCPtr(mainView)), true) { }
internal static HandleRef getCPtr(GiCoreView obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static GiCoreView createMagnifierView(GiView newview, GiCoreView mainView, GiView mainDevView) { IntPtr cPtr = touchvgPINVOKE.GiCoreView_createMagnifierView(GiView.getCPtr(newview), GiCoreView.getCPtr(mainView), GiView.getCPtr(mainDevView)); GiCoreView ret = (cPtr == IntPtr.Zero) ? null : new GiCoreView(cPtr, false); return ret; }
public GiMouseHelper(GiView view, GiCoreView coreView) : this(touchvgcsPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true) { }
public GiMouseHelper(GiView view, GiCoreView coreView) : this(touchvgPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true) { }
public static void registerCmds(GiCoreView coreView) { touchvgcsPINVOKE.EduCmds_registerCmds(GiCoreView.getCPtr(coreView)); }
public static int getDimensions(GiCoreView coreView, Floats vars, Chars types) { int ret = touchvgcsPINVOKE.EduCmds_getDimensions(GiCoreView.getCPtr(coreView), Floats.getCPtr(vars), Chars.getCPtr(types)); if (touchvgcsPINVOKE.SWIGPendingException.Pending) throw touchvgcsPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public WPFMainCanvas(GiCoreView coreView, GiView view) { this._coreView = coreView; this._view = view; this._adapter = new WPFCanvasAdapter(); }