mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
118 lines
5.4 KiB
C++
118 lines
5.4 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT
|
|
// v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Microsoft_UI_Xaml_Media_Media3D_2_H
|
|
#define WINRT_Microsoft_UI_Xaml_Media_Media3D_2_H
|
|
#include "winrt/impl/Microsoft.UI.Xaml.1.h"
|
|
#include "winrt/impl/Microsoft.UI.Xaml.Media.Media3D.1.h"
|
|
WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Media::Media3D {
|
|
struct Matrix3D {
|
|
double M11{};
|
|
double M12{};
|
|
double M13{};
|
|
double M14{};
|
|
double M21{};
|
|
double M22{};
|
|
double M23{};
|
|
double M24{};
|
|
double M31{};
|
|
double M32{};
|
|
double M33{};
|
|
double M34{};
|
|
double OffsetX{};
|
|
double OffsetY{};
|
|
double OffsetZ{};
|
|
double M44{};
|
|
};
|
|
inline bool operator==(Matrix3D const& left, Matrix3D const& right) noexcept {
|
|
return left.M11 == right.M11 && left.M12 == right.M12 &&
|
|
left.M13 == right.M13 && left.M14 == right.M14 &&
|
|
left.M21 == right.M21 && left.M22 == right.M22 &&
|
|
left.M23 == right.M23 && left.M24 == right.M24 &&
|
|
left.M31 == right.M31 && left.M32 == right.M32 &&
|
|
left.M33 == right.M33 && left.M34 == right.M34 &&
|
|
left.OffsetX == right.OffsetX && left.OffsetY == right.OffsetY &&
|
|
left.OffsetZ == right.OffsetZ && left.M44 == right.M44;
|
|
}
|
|
inline bool operator!=(Matrix3D const& left, Matrix3D const& right) noexcept {
|
|
return !(left == right);
|
|
}
|
|
struct WINRT_IMPL_EMPTY_BASES CompositeTransform3D
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::ICompositeTransform3D,
|
|
impl::base<CompositeTransform3D,
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Transform3D,
|
|
winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<CompositeTransform3D,
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::ITransform3D,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
CompositeTransform3D(std::nullptr_t) noexcept {}
|
|
CompositeTransform3D(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::ICompositeTransform3D(
|
|
ptr, take_ownership_from_abi) {}
|
|
CompositeTransform3D();
|
|
[[nodiscard]] static auto CenterXProperty();
|
|
[[nodiscard]] static auto CenterYProperty();
|
|
[[nodiscard]] static auto CenterZProperty();
|
|
[[nodiscard]] static auto RotationXProperty();
|
|
[[nodiscard]] static auto RotationYProperty();
|
|
[[nodiscard]] static auto RotationZProperty();
|
|
[[nodiscard]] static auto ScaleXProperty();
|
|
[[nodiscard]] static auto ScaleYProperty();
|
|
[[nodiscard]] static auto ScaleZProperty();
|
|
[[nodiscard]] static auto TranslateXProperty();
|
|
[[nodiscard]] static auto TranslateYProperty();
|
|
[[nodiscard]] static auto TranslateZProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES Matrix3DHelper
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::IMatrix3DHelper {
|
|
Matrix3DHelper(std::nullptr_t) noexcept {}
|
|
Matrix3DHelper(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::IMatrix3DHelper(
|
|
ptr, take_ownership_from_abi) {}
|
|
[[nodiscard]] static auto Identity();
|
|
static auto Multiply(
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& matrix1,
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& matrix2);
|
|
static auto FromElements(double m11, double m12, double m13, double m14,
|
|
double m21, double m22, double m23, double m24,
|
|
double m31, double m32, double m33, double m34,
|
|
double offsetX, double offsetY, double offsetZ,
|
|
double m44);
|
|
static auto GetHasInverse(
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& target);
|
|
static auto GetIsIdentity(
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& target);
|
|
static auto Invert(
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& target);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES PerspectiveTransform3D
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::IPerspectiveTransform3D,
|
|
impl::base<PerspectiveTransform3D,
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::Transform3D,
|
|
winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<PerspectiveTransform3D,
|
|
winrt::Microsoft::UI::Xaml::Media::Media3D::ITransform3D,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
PerspectiveTransform3D(std::nullptr_t) noexcept {}
|
|
PerspectiveTransform3D(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::IPerspectiveTransform3D(
|
|
ptr, take_ownership_from_abi) {}
|
|
PerspectiveTransform3D();
|
|
[[nodiscard]] static auto DepthProperty();
|
|
[[nodiscard]] static auto OffsetXProperty();
|
|
[[nodiscard]] static auto OffsetYProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES Transform3D
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::ITransform3D,
|
|
impl::base<Transform3D, winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<Transform3D,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
Transform3D(std::nullptr_t) noexcept {}
|
|
Transform3D(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Media::Media3D::ITransform3D(
|
|
ptr, take_ownership_from_abi) {}
|
|
};
|
|
}
|
|
#endif
|