summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs26
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs3
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs6
4 files changed, 36 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs
new file mode 100644
index 000000000..c5384bf82
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs
@@ -0,0 +1 @@
+pub type IGraphicsCaptureItemInterop = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs
new file mode 100644
index 000000000..461bfacee
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs
@@ -0,0 +1,26 @@
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub type GRAPHICS_EFFECT_PROPERTY_MAPPING = i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_UNKNOWN: GRAPHICS_EFFECT_PROPERTY_MAPPING = 0i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_DIRECT: GRAPHICS_EFFECT_PROPERTY_MAPPING = 1i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORX: GRAPHICS_EFFECT_PROPERTY_MAPPING = 2i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORY: GRAPHICS_EFFECT_PROPERTY_MAPPING = 3i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORZ: GRAPHICS_EFFECT_PROPERTY_MAPPING = 4i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORW: GRAPHICS_EFFECT_PROPERTY_MAPPING = 5i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_RECT_TO_VECTOR4: GRAPHICS_EFFECT_PROPERTY_MAPPING = 6i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_RADIANS_TO_DEGREES: GRAPHICS_EFFECT_PROPERTY_MAPPING = 7i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLORMATRIX_ALPHA_MODE: GRAPHICS_EFFECT_PROPERTY_MAPPING = 8i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR3: GRAPHICS_EFFECT_PROPERTY_MAPPING = 9i32;
+#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"]
+pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR4: GRAPHICS_EFFECT_PROPERTY_MAPPING = 10i32;
+pub type IGeometrySource2DInterop = *mut ::core::ffi::c_void;
+pub type IGraphicsEffectD2D1Interop = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs
new file mode 100644
index 000000000..445dc334b
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs
@@ -0,0 +1,3 @@
+pub const CLSID_SoftwareBitmapNativeFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2229687953, data2: 34306, data3: 19076, data4: [190, 70, 112, 139, 233, 205, 75, 116] };
+pub type ISoftwareBitmapNative = *mut ::core::ffi::c_void;
+pub type ISoftwareBitmapNativeFactory = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs
new file mode 100644
index 000000000..1750c5a82
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs
@@ -0,0 +1,6 @@
+#[cfg(feature = "Win32_System_WinRT_Graphics_Capture")]
+pub mod Capture;
+#[cfg(feature = "Win32_System_WinRT_Graphics_Direct2D")]
+pub mod Direct2D;
+#[cfg(feature = "Win32_System_WinRT_Graphics_Imaging")]
+pub mod Imaging;