Ejemplo n.º 1
0
 public HPixelRGB(HPixelRGB p) : this(HCSMVOPINVOKE.new_HPixelRGB__SWIG_4(HPixelRGB.getCPtr(p)), true)
 {
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public static void CreateZebraStripeTexture(int width, int height, int stripwidth, bool horizontal, HPixelRGB colorstripes, HPixelRGB colorbackground)
 {
     HCSMVOPINVOKE.HUtility_CreateZebraStripeTexture(width, height, stripwidth, horizontal, HPixelRGB.getCPtr(colorstripes), HPixelRGB.getCPtr(colorbackground));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public static HandleRef getCPtr(HPixelRGB obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }