예제 #1
0
 public virtual void viewChanged(GiView oldview)
 {
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes12))
     {
         touchvgPINVOKE.GiView_viewChangedSwigExplicitGiView(swigCPtr, GiView.getCPtr(oldview));
     }
     else
     {
         touchvgPINVOKE.GiView_viewChanged(swigCPtr, GiView.getCPtr(oldview));
     }
 }
예제 #2
0
        public int exportSVG(GiView view, string filename)
        {
            int ret = touchvgPINVOKE.GiCoreView_exportSVG__SWIG_1(swigCPtr, GiView.getCPtr(view), filename);

            return(ret);
        }
예제 #3
0
 public void setZoomEnabled(GiView view, bool enabled)
 {
     touchvgPINVOKE.GiCoreView_setZoomEnabled(swigCPtr, GiView.getCPtr(view), enabled);
 }
예제 #4
0
        public bool isZoomEnabled(GiView view)
        {
            bool ret = touchvgPINVOKE.GiCoreView_isZoomEnabled(swigCPtr, GiView.getCPtr(view));

            return(ret);
        }
예제 #5
0
        public float calcPenWidth(GiView view, float lineWidth)
        {
            float ret = touchvgPINVOKE.GiCoreView_calcPenWidth(swigCPtr, GiView.getCPtr(view), lineWidth);

            return(ret);
        }
예제 #6
0
        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);
        }
예제 #7
0
        public int acquireGraphics(GiView view)
        {
            int ret = touchvgPINVOKE.GiCoreView_acquireGraphics(swigCPtr, GiView.getCPtr(view));

            return(ret);
        }
예제 #8
0
        public static GiCoreView createMagnifierView(GiView newview, GiCoreView mainView, GiView mainDevView)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.GiCoreView_createMagnifierView(GiView.getCPtr(newview), GiCoreView.getCPtr(mainView), GiView.getCPtr(mainDevView));
            GiCoreView            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GiCoreView(cPtr, false);

            return(ret);
        }
예제 #9
0
        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);
        }
예제 #10
0
 public void setGestureVelocity(GiView view, float vx, float vy)
 {
     touchvgPINVOKE.GiCoreView_setGestureVelocity(swigCPtr, GiView.getCPtr(view), vx, vy);
 }
예제 #11
0
 public void setPenWidthRange(GiView view, float minw, float maxw)
 {
     touchvgPINVOKE.GiCoreView_setPenWidthRange(swigCPtr, GiView.getCPtr(view), minw, maxw);
 }
예제 #12
0
 public void setViewScaleRange(GiView view, float minScale, float maxScale)
 {
     touchvgPINVOKE.GiCoreView_setViewScaleRange(swigCPtr, GiView.getCPtr(view), minScale, maxScale);
 }
예제 #13
0
 public void onSize(GiView view, int w, int h)
 {
     touchvgPINVOKE.GiCoreView_onSize(swigCPtr, GiView.getCPtr(view), w, h);
 }
예제 #14
0
        public int setBkColor(GiView view, int argb)
        {
            int ret = touchvgPINVOKE.GiCoreView_setBkColor(swigCPtr, GiView.getCPtr(view), argb);

            return(ret);
        }
예제 #15
0
        public int dynDraw(GiView view, GiCanvas canvas)
        {
            int ret = touchvgPINVOKE.GiCoreView_dynDraw__SWIG_2(swigCPtr, GiView.getCPtr(view), GiCanvas.getCPtr(canvas));

            return(ret);
        }
예제 #16
0
        public bool redo(GiView view)
        {
            bool ret = touchvgPINVOKE.GiCoreView_redo(swigCPtr, GiView.getCPtr(view));

            return(ret);
        }
예제 #17
0
        public static GiCoreView createView(GiView view)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.GiCoreView_createView__SWIG_1(GiView.getCPtr(view));
            GiCoreView            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GiCoreView(cPtr, false);

            return(ret);
        }
예제 #18
0
        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);
        }
예제 #19
0
 public void destoryView(GiView view)
 {
     touchvgPINVOKE.GiCoreView_destoryView(swigCPtr, GiView.getCPtr(view));
 }
예제 #20
0
        public bool submitBackDoc(GiView view, bool changed)
        {
            bool ret = touchvgPINVOKE.GiCoreView_submitBackDoc(swigCPtr, GiView.getCPtr(view), changed);

            return(ret);
        }
예제 #21
0
        public bool submitDynamicShapes(GiView view)
        {
            bool ret = touchvgPINVOKE.GiCoreView_submitDynamicShapes(swigCPtr, GiView.getCPtr(view));

            return(ret);
        }
예제 #22
0
 public GiMouseHelper(GiView view, GiCoreView coreView) : this(touchvgPINVOKE.new_GiMouseHelper(GiView.getCPtr(view), GiCoreView.getCPtr(coreView)), true)
 {
 }