Exemplo n.º 1
0
 public static extern C_Bitmap *ulCreateBitmap([NativeTypeName("unsigned int")] uint width, [NativeTypeName("unsigned int")] uint height, ULBitmapFormat format);
Exemplo n.º 2
0
 public static extern C_Bitmap *ulCreateBitmapFromPixels([NativeTypeName("unsigned int")] uint width, [NativeTypeName("unsigned int")] uint height, ULBitmapFormat format, [NativeTypeName("unsigned int")] uint row_bytes, [NativeTypeName("const void *")] void *pixels, [NativeTypeName("size_t")] UIntPtr size, bool should_copy);
Exemplo n.º 3
0
 public static extern ULBitmap ulCreateBitmapFromPixels(uint width, uint height, ULBitmapFormat format, uint row_bytes, /* (const void *) */ IntPtr pixels, UIntPtr size, bool should_copy);
Exemplo n.º 4
0
 public static extern ULBitmap ulCreateBitmap(uint width, uint height, ULBitmapFormat format);
Exemplo n.º 5
0
 public static partial IntPtr ulCreateBitmapFromPixels(uint width, uint height, ULBitmapFormat format, uint row_bytes, IntPtr pixels, uint size, [MarshalAs(UnmanagedType.I1)] bool should_copy);
Exemplo n.º 6
0
 public ULBitmap(uint width, uint height, ULBitmapFormat format, uint row_bytes, IntPtr pixels, uint size, bool should_copy) => Ptr = Methods.ulCreateBitmapFromPixels(width, height, format, row_bytes, pixels, size, should_copy);
Exemplo n.º 7
0
 public ULBitmap(uint width, uint height, ULBitmapFormat format) => Ptr = Methods.ulCreateBitmap(width, height, format);