public unsafe bool FindTags(byte[] data, int pixelWidth, int pixelHeight, int bytesPerPixel, ImageTagLocationListener locationCallback) {
   fixed ( byte* swig_ptrTo_data = data ) {
   {
     bool ret = SharingClientPINVOKE.ImageTagManager_FindTags(swigCPtr, (global::System.IntPtr)swig_ptrTo_data, pixelWidth, pixelHeight, bytesPerPixel, ImageTagLocationListener.getCPtr(locationCallback));
     return ret;
   }
   }
 }
 public static extern void ImageTagLocationListener_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, ImageTagLocationListener.SwigDelegateImageTagLocationListener_0 delegate0, ImageTagLocationListener.SwigDelegateImageTagLocationListener_1 delegate1);
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageTagLocationListener obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 4
0
 public unsafe bool FindTags(byte[] data, int pixelWidth, int pixelHeight, int bytesPerPixel, ImageTagLocationListener locationCallback)
 {
     fixed(byte *swig_ptrTo_data = data)
     {
         {
             bool ret = SharingClientPINVOKE.ImageTagManager_FindTags(swigCPtr, (global::System.IntPtr)swig_ptrTo_data, pixelWidth, pixelHeight, bytesPerPixel, ImageTagLocationListener.getCPtr(locationCallback));
             return(ret);
         }
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageTagLocationListener obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }