| #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
| #[link(name = "windows")] |
| extern "system" {} |
| #[repr(transparent)] |
| pub struct BitmapAlphaMode(pub i32); |
| impl BitmapAlphaMode { |
| pub const Premultiplied: Self = Self(0i32); |
| pub const Straight: Self = Self(1i32); |
| pub const Ignore: Self = Self(2i32); |
| } |
| impl ::core::marker::Copy for BitmapAlphaMode {} |
| impl ::core::clone::Clone for BitmapAlphaMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(C)] |
| pub struct BitmapBounds { |
| pub X: u32, |
| pub Y: u32, |
| pub Width: u32, |
| pub Height: u32, |
| } |
| impl ::core::marker::Copy for BitmapBounds {} |
| impl ::core::clone::Clone for BitmapBounds { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type BitmapBuffer = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct BitmapBufferAccessMode(pub i32); |
| impl BitmapBufferAccessMode { |
| pub const Read: Self = Self(0i32); |
| pub const ReadWrite: Self = Self(1i32); |
| pub const Write: Self = Self(2i32); |
| } |
| impl ::core::marker::Copy for BitmapBufferAccessMode {} |
| impl ::core::clone::Clone for BitmapBufferAccessMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type BitmapCodecInformation = *mut ::core::ffi::c_void; |
| pub type BitmapDecoder = *mut ::core::ffi::c_void; |
| pub type BitmapEncoder = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct BitmapFlip(pub i32); |
| impl BitmapFlip { |
| pub const None: Self = Self(0i32); |
| pub const Horizontal: Self = Self(1i32); |
| pub const Vertical: Self = Self(2i32); |
| } |
| impl ::core::marker::Copy for BitmapFlip {} |
| impl ::core::clone::Clone for BitmapFlip { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type BitmapFrame = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct BitmapInterpolationMode(pub i32); |
| impl BitmapInterpolationMode { |
| pub const NearestNeighbor: Self = Self(0i32); |
| pub const Linear: Self = Self(1i32); |
| pub const Cubic: Self = Self(2i32); |
| pub const Fant: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for BitmapInterpolationMode {} |
| impl ::core::clone::Clone for BitmapInterpolationMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(transparent)] |
| pub struct BitmapPixelFormat(pub i32); |
| impl BitmapPixelFormat { |
| pub const Unknown: Self = Self(0i32); |
| pub const Rgba16: Self = Self(12i32); |
| pub const Rgba8: Self = Self(30i32); |
| pub const Gray16: Self = Self(57i32); |
| pub const Gray8: Self = Self(62i32); |
| pub const Bgra8: Self = Self(87i32); |
| pub const Nv12: Self = Self(103i32); |
| pub const P010: Self = Self(104i32); |
| pub const Yuy2: Self = Self(107i32); |
| } |
| impl ::core::marker::Copy for BitmapPixelFormat {} |
| impl ::core::clone::Clone for BitmapPixelFormat { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(C)] |
| pub struct BitmapPlaneDescription { |
| pub StartIndex: i32, |
| pub Width: i32, |
| pub Height: i32, |
| pub Stride: i32, |
| } |
| impl ::core::marker::Copy for BitmapPlaneDescription {} |
| impl ::core::clone::Clone for BitmapPlaneDescription { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type BitmapProperties = *mut ::core::ffi::c_void; |
| pub type BitmapPropertiesView = *mut ::core::ffi::c_void; |
| pub type BitmapPropertySet = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct BitmapRotation(pub i32); |
| impl BitmapRotation { |
| pub const None: Self = Self(0i32); |
| pub const Clockwise90Degrees: Self = Self(1i32); |
| pub const Clockwise180Degrees: Self = Self(2i32); |
| pub const Clockwise270Degrees: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for BitmapRotation {} |
| impl ::core::clone::Clone for BitmapRotation { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(C)] |
| pub struct BitmapSize { |
| pub Width: u32, |
| pub Height: u32, |
| } |
| impl ::core::marker::Copy for BitmapSize {} |
| impl ::core::clone::Clone for BitmapSize { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type BitmapTransform = *mut ::core::ffi::c_void; |
| pub type BitmapTypedValue = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct ColorManagementMode(pub i32); |
| impl ColorManagementMode { |
| pub const DoNotColorManage: Self = Self(0i32); |
| pub const ColorManageToSRgb: Self = Self(1i32); |
| } |
| impl ::core::marker::Copy for ColorManagementMode {} |
| impl ::core::clone::Clone for ColorManagementMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(transparent)] |
| pub struct ExifOrientationMode(pub i32); |
| impl ExifOrientationMode { |
| pub const IgnoreExifOrientation: Self = Self(0i32); |
| pub const RespectExifOrientation: Self = Self(1i32); |
| } |
| impl ::core::marker::Copy for ExifOrientationMode {} |
| impl ::core::clone::Clone for ExifOrientationMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type IBitmapFrame = *mut ::core::ffi::c_void; |
| pub type IBitmapFrameWithSoftwareBitmap = *mut ::core::ffi::c_void; |
| pub type IBitmapPropertiesView = *mut ::core::ffi::c_void; |
| pub type ImageStream = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct JpegSubsamplingMode(pub i32); |
| impl JpegSubsamplingMode { |
| pub const Default: Self = Self(0i32); |
| pub const Y4Cb2Cr0: Self = Self(1i32); |
| pub const Y4Cb2Cr2: Self = Self(2i32); |
| pub const Y4Cb4Cr4: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for JpegSubsamplingMode {} |
| impl ::core::clone::Clone for JpegSubsamplingMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type PixelDataProvider = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct PngFilterMode(pub i32); |
| impl PngFilterMode { |
| pub const Automatic: Self = Self(0i32); |
| pub const None: Self = Self(1i32); |
| pub const Sub: Self = Self(2i32); |
| pub const Up: Self = Self(3i32); |
| pub const Average: Self = Self(4i32); |
| pub const Paeth: Self = Self(5i32); |
| pub const Adaptive: Self = Self(6i32); |
| } |
| impl ::core::marker::Copy for PngFilterMode {} |
| impl ::core::clone::Clone for PngFilterMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type SoftwareBitmap = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct TiffCompressionMode(pub i32); |
| impl TiffCompressionMode { |
| pub const Automatic: Self = Self(0i32); |
| pub const None: Self = Self(1i32); |
| pub const Ccitt3: Self = Self(2i32); |
| pub const Ccitt4: Self = Self(3i32); |
| pub const Lzw: Self = Self(4i32); |
| pub const Rle: Self = Self(5i32); |
| pub const Zip: Self = Self(6i32); |
| pub const LzwhDifferencing: Self = Self(7i32); |
| } |
| impl ::core::marker::Copy for TiffCompressionMode {} |
| impl ::core::clone::Clone for TiffCompressionMode { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |