Пример #1
0
 public void resize(ushort width, ushort height, Image.Filter filter)
 {
     OgrePINVOKE.Image_resize__SWIG_0(swigCPtr, width, height, (int)filter);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public static void scale(PixelBox src, PixelBox dst, Image.Filter filter)
 {
     OgrePINVOKE.Image_scale__SWIG_0(PixelBox.getCPtr(src), PixelBox.getCPtr(dst), (int)filter);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }