예제 #1
0
 public GiContext(float width, GiColor color) : this(touchvgPINVOKE.new_GiContext__SWIG_4(width, GiColor.getCPtr(color)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public GiContext(float width, GiColor color, int style, GiColor fillcr, bool autoScale) : this(touchvgPINVOKE.new_GiContext__SWIG_1(width, GiColor.getCPtr(color), style, GiColor.getCPtr(fillcr), autoScale), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public GiColor(GiColor c) : this(touchvgPINVOKE.new_GiColor__SWIG_3(GiColor.getCPtr(c)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public void setFillColor(GiColor color)
 {
     touchvgPINVOKE.GiContext_setFillColor__SWIG_0(swigCPtr, GiColor.getCPtr(color));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
        public GiColor calcPenColor(GiColor color)
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_calcPenColor(swigCPtr, GiColor.getCPtr(color)), true);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public bool equals(GiColor src)
        {
            bool ret = touchvgPINVOKE.GiColor_equals(swigCPtr, GiColor.getCPtr(src));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public GiColor(GiColor c)
     : this(touchvgPINVOKE.new_GiColor__SWIG_3(GiColor.getCPtr(c)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #8
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiColor obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #9
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public GiColor withAlpha(int alpha)
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiColor_withAlpha(swigCPtr, alpha), true);
     return ret;
 }
예제 #10
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public bool equals(GiColor src)
 {
     bool ret = touchvgPINVOKE.GiColor_equals(swigCPtr, GiColor.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #11
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public static GiColor White()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiColor_White(), true);
     return ret;
 }
예제 #12
0
        public static GiColor Blue()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Blue(), true);

            return(ret);
        }
예제 #13
0
파일: GiContext.cs 프로젝트: rhcad/vgwpf
 public GiContext(float width, GiColor color, int style, GiColor fillcr, bool autoScale)
     : this(touchvgPINVOKE.new_GiContext__SWIG_1(width, GiColor.getCPtr(color), style, GiColor.getCPtr(fillcr), autoScale), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #14
0
파일: GiGraphics.cs 프로젝트: rhcad/vgwpf
 public GiColor getBkColor()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_getBkColor(swigCPtr), true);
     return ret;
 }
예제 #15
0
        public GiColor getBkColor()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_getBkColor(swigCPtr), true);

            return(ret);
        }
예제 #16
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiColor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #17
0
        public GiColor withAlpha(int alpha)
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_withAlpha(swigCPtr, alpha), true);

            return(ret);
        }
예제 #18
0
        public static GiColor Invalid()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Invalid(), true);

            return(ret);
        }
예제 #19
0
        public static GiColor Green()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Green(), true);

            return(ret);
        }
예제 #20
0
파일: GiContext.cs 프로젝트: rhcad/vgwpf
 public GiColor getLineColor()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiContext_getLineColor(swigCPtr), true);
     return ret;
 }
예제 #21
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public static GiColor Green()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Green(), true);
     return ret;
 }
예제 #22
0
파일: GiContext.cs 프로젝트: rhcad/vgwpf
 public void setLineColor(GiColor color)
 {
     touchvgPINVOKE.GiContext_setLineColor__SWIG_0(swigCPtr, GiColor.getCPtr(color));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #23
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public static GiColor Invalid()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Invalid(), true);
     return ret;
 }
예제 #24
0
파일: GiContext.cs 프로젝트: rhcad/vgwpf
 public GiContext(float width, GiColor color)
     : this(touchvgPINVOKE.new_GiContext__SWIG_4(width, GiColor.getCPtr(color)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #25
0
파일: GiGraphics.cs 프로젝트: rhcad/vgwpf
 public GiColor calcPenColor(GiColor color)
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_calcPenColor(swigCPtr, GiColor.getCPtr(color)), true);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #26
0
파일: GiColor.cs 프로젝트: rhcad/vgwpf
 public static GiColor Black()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Black(), true);
     return ret;
 }
예제 #27
0
        public GiColor getFillColor()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiContext_getFillColor(swigCPtr), true);

            return(ret);
        }