public unsafe PResult Set(byte[] inputRawBuffer, int width, int height, PImage.EPixelFormat pixelFormat) { fixed(byte *swig_ptrTo_inputRawBuffer = inputRawBuffer) { { PResult ret = new PResult(PapillonPINVOKE.PImage_Set(swigCPtr, (global::System.IntPtr)swig_ptrTo_inputRawBuffer, width, height, (int)pixelFormat), true); return(ret); } } }
public PResult Convert(PImage dest, PImage.EPixelFormat destImageType) { PResult ret = new PResult(PapillonPINVOKE.PImage_Convert(swigCPtr, PImage.getCPtr(dest), (int)destImageType), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void Allocate(int width, int height, PImage.EPixelFormat pixelFormat) { PapillonPINVOKE.PImage_Allocate__SWIG_0(swigCPtr, width, height, (int)pixelFormat); }
public PImage(int width, int height, PImage.EPixelFormat pixelFormat) : this(PapillonPINVOKE.new_PImage__SWIG_0(width, height, (int)pixelFormat), true) { }
public static string GetPixelFormatToString(PImage.EPixelFormat pixelFormat) { string ret = PapillonPINVOKE.PImage_GetPixelFormatToString__SWIG_1((int)pixelFormat); return(ret); }
public PImage.EPixelFormat GetPixelFormat() { PImage.EPixelFormat ret = (PImage.EPixelFormat)PapillonPINVOKE.PImage_GetPixelFormat(swigCPtr); return(ret); }
public PImage GetImageShared(PImage.EPixelFormat pixelFormat) { PImage ret = new PImage(PapillonPINVOKE.PFrame_GetImageShared__SWIG_1(swigCPtr, (int)pixelFormat), true); return(ret); }
public void ConvertTo(PImage.EPixelFormat format) { PapillonPINVOKE.PFrame_ConvertTo(swigCPtr, (int)format); }
public static PImage MakeLabel(string text, double fontSize, int thickness, PColour3i labelColour, PColour3i textColor, int border, PImage.EFont font, PImage.EPixelFormat pixelFormat) { PImage ret = new PImage(PapillonPINVOKE.PUtils_MakeLabel__SWIG_0(text, fontSize, thickness, PColour3i.getCPtr(labelColour), PColour3i.getCPtr(textColor), border, (int)font, (int)pixelFormat), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }