Inheritance: IDisposable
Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
 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);
 }
Example #4
0
 public void clean()
 {
     _coreView = null;
     _view = null;
     if (_adapter != null)
     {
         _adapter.Dispose();
         _adapter = null;
     }
 }
Example #5
0
 internal static HandleRef getCPtr(GiCoreView obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #6
0
 public GiCoreView(GiCoreView mainView)
     : this(touchvgPINVOKE.new_GiCoreView__SWIG_0(GiCoreView.getCPtr(mainView)), true)
 {
 }
Example #7
0
 internal static HandleRef getCPtr(GiCoreView obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #8
0
 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;
 }
Example #9
0
 public GiMouseHelper(GiView view, GiCoreView coreView)
     : this(touchvgcsPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true)
 {
 }
Example #10
0
 public GiMouseHelper(GiView view, GiCoreView coreView) : this(touchvgPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true)
 {
 }
Example #11
0
 public static void registerCmds(GiCoreView coreView)
 {
     touchvgcsPINVOKE.EduCmds_registerCmds(GiCoreView.getCPtr(coreView));
 }
Example #12
0
 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;
 }
Example #13
0
 public WPFMainCanvas(GiCoreView coreView, GiView view)
 {
     this._coreView = coreView;
     this._view = view;
     this._adapter = new WPFCanvasAdapter();
 }