[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PixelBuffer_Rotate")]
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
public static extern bool Rotate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PixelBuffer_GetBrightness")]
+ public static extern uint GetBrightness(global::System.Runtime.InteropServices.HandleRef jarg1);
}
}
}
return ret;
}
+ /// <summary>
+ /// Gets the brightness value of the pixel buffer.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public uint GetBrightness()
+ {
+ uint ret = Interop.PixelBuffer.GetBrightness(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PixelBuffer obj)
{
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr;