Inheritance: IDisposable
コード例 #1
0
ファイル: GiContext.cs プロジェクト: shuangyou/TouchVG
 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
ファイル: GiContext.cs プロジェクト: shuangyou/TouchVG
 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
ファイル: GiContext.cs プロジェクト: shuangyou/TouchVG
 public void setFillColor(GiColor color)
 {
     touchvgPINVOKE.GiContext_setFillColor__SWIG_0(swigCPtr, GiColor.getCPtr(color));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
ファイル: GiGraphics.cs プロジェクト: shuangyou/TouchVG
        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/touchvg-v0.6
 public GiColor(GiColor c) : this(touchvgPINVOKE.new_GiColor__SWIG_3(GiColor.getCPtr(c)), true) {
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
0
ファイル: GiGraphics.cs プロジェクト: shuangyou/TouchVG
        public GiColor getBkColor()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_getBkColor(swigCPtr), true);

            return(ret);
        }
コード例 #9
0
 internal static HandleRef getCPtr(GiColor obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #10
0
ファイル: GiColor.cs プロジェクト: rhcad/touchvg-v0.6
 public static GiColor White() {
   GiColor ret = new GiColor(touchvgPINVOKE.GiColor_White(), true);
   return ret;
 }
コード例 #11
0
        public static GiColor Invalid()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Invalid(), true);

            return(ret);
        }
コード例 #12
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 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();
 }
コード例 #13
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 public GiColor getBkColor()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiGraphics_getBkColor(swigCPtr), true);
     return ret;
 }
コード例 #14
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 public GiColor getLineColor()
 {
     GiColor ret = new GiColor(touchvgPINVOKE.GiContext_getLineColor(swigCPtr), true);
     return ret;
 }
コード例 #15
0
ファイル: GiColor.cs プロジェクト: rhcad/touchvg-v0.6
 internal static HandleRef getCPtr(GiColor obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #16
0
ファイル: GiColor.cs プロジェクト: rhcad/touchvg-v0.6
 public bool equals(GiColor src) {
   bool ret = touchvgPINVOKE.GiColor_equals(swigCPtr, GiColor.getCPtr(src));
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #17
0
ファイル: GiColor.cs プロジェクト: rhcad/touchvg-v0.6
 public static GiColor Invalid() {
   GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Invalid(), true);
   return ret;
 }
コード例 #18
0
ファイル: GiColor.cs プロジェクト: rhcad/touchvg-v0.6
 public static GiColor Black() {
   GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Black(), true);
   return ret;
 }
コード例 #19
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 public void setLineColor(GiColor color)
 {
     touchvgPINVOKE.GiContext_setLineColor__SWIG_0(swigCPtr, GiColor.getCPtr(color));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #20
0
        public static GiColor White()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_White(), true);

            return(ret);
        }
コード例 #21
0
ファイル: GiContext.cs プロジェクト: stonelin129/Touchvg
 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();
 }
コード例 #22
0
        public static GiColor Black()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiColor_Black(), true);

            return(ret);
        }
コード例 #23
0
ファイル: GiGraphics.cs プロジェクト: nhbcyz/TouchVG
 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;
 }
コード例 #24
0
ファイル: GiContext.cs プロジェクト: shuangyou/TouchVG
        public GiColor getFillColor()
        {
            GiColor ret = new GiColor(touchvgPINVOKE.GiContext_getFillColor(swigCPtr), true);

            return(ret);
        }