// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_UI_Xaml_Media_2_H #define WINRT_Microsoft_UI_Xaml_Media_2_H #include "winrt/impl/Microsoft.UI.Composition.1.h" #include "winrt/impl/Microsoft.UI.Xaml.1.h" #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.Storage.Streams.1.h" #include "winrt/impl/Windows.UI.1.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.1.h" WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Media { struct Matrix { double M11; double M12; double M21; double M22; double OffsetX; double OffsetY; }; inline bool operator==(Matrix const& left, Matrix const& right) noexcept { return left.M11 == right.M11 && left.M12 == right.M12 && left.M21 == right.M21 && left.M22 == right.M22 && left.OffsetX == right.OffsetX && left.OffsetY == right.OffsetY; } inline bool operator!=(Matrix const& left, Matrix const& right) noexcept { return !(left == right); } struct WINRT_IMPL_EMPTY_BASES AcrylicBrush : winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, impl::base, impl::require { AcrylicBrush(std::nullptr_t) noexcept {} AcrylicBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush(ptr, take_ownership_from_abi) {} AcrylicBrush(); [[nodiscard]] static auto TintColorProperty(); [[nodiscard]] static auto TintOpacityProperty(); [[nodiscard]] static auto TintTransitionDurationProperty(); [[nodiscard]] static auto AlwaysUseFallbackProperty(); [[nodiscard]] static auto TintLuminosityOpacityProperty(); }; struct WINRT_IMPL_EMPTY_BASES ArcSegment : winrt::Microsoft::UI::Xaml::Media::IArcSegment, impl::base, impl::require { ArcSegment(std::nullptr_t) noexcept {} ArcSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IArcSegment(ptr, take_ownership_from_abi) {} ArcSegment(); [[nodiscard]] static auto PointProperty(); [[nodiscard]] static auto SizeProperty(); [[nodiscard]] static auto RotationAngleProperty(); [[nodiscard]] static auto IsLargeArcProperty(); [[nodiscard]] static auto SweepDirectionProperty(); }; struct WINRT_IMPL_EMPTY_BASES BezierSegment : winrt::Microsoft::UI::Xaml::Media::IBezierSegment, impl::base, impl::require { BezierSegment(std::nullptr_t) noexcept {} BezierSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IBezierSegment(ptr, take_ownership_from_abi) {} BezierSegment(); [[nodiscard]] static auto Point1Property(); [[nodiscard]] static auto Point2Property(); [[nodiscard]] static auto Point3Property(); }; struct WINRT_IMPL_EMPTY_BASES BitmapCache : winrt::Microsoft::UI::Xaml::Media::IBitmapCache, impl::base, impl::require { BitmapCache(std::nullptr_t) noexcept {} BitmapCache(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IBitmapCache(ptr, take_ownership_from_abi) {} BitmapCache(); }; struct WINRT_IMPL_EMPTY_BASES Brush : winrt::Microsoft::UI::Xaml::Media::IBrush, impl::base, impl::require { Brush(std::nullptr_t) noexcept {} Brush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IBrush(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto OpacityProperty(); [[nodiscard]] static auto TransformProperty(); [[nodiscard]] static auto RelativeTransformProperty(); }; struct WINRT_IMPL_EMPTY_BASES BrushCollection : winrt::Windows::Foundation::Collections::IVector { BrushCollection(std::nullptr_t) noexcept {} BrushCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} BrushCollection(); }; struct WINRT_IMPL_EMPTY_BASES CacheMode : winrt::Microsoft::UI::Xaml::Media::ICacheMode, impl::base, impl::require { CacheMode(std::nullptr_t) noexcept {} CacheMode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ICacheMode(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES CompositeTransform : winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, impl::base, impl::require { CompositeTransform(std::nullptr_t) noexcept {} CompositeTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ICompositeTransform(ptr, take_ownership_from_abi) {} CompositeTransform(); [[nodiscard]] static auto CenterXProperty(); [[nodiscard]] static auto CenterYProperty(); [[nodiscard]] static auto ScaleXProperty(); [[nodiscard]] static auto ScaleYProperty(); [[nodiscard]] static auto SkewXProperty(); [[nodiscard]] static auto SkewYProperty(); [[nodiscard]] static auto RotationProperty(); [[nodiscard]] static auto TranslateXProperty(); [[nodiscard]] static auto TranslateYProperty(); }; struct WINRT_IMPL_EMPTY_BASES CompositionTarget : winrt::Microsoft::UI::Xaml::Media::ICompositionTarget { CompositionTarget(std::nullptr_t) noexcept {} CompositionTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ICompositionTarget(ptr, take_ownership_from_abi) {} static auto Rendering(winrt::Windows::Foundation::EventHandler const& handler); using Rendering_revoker = impl::factory_event_revoker::remove_Rendering>; [[nodiscard]] static auto Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Rendering(winrt::event_token const& token); static auto Rendered(winrt::Windows::Foundation::EventHandler const& handler); using Rendered_revoker = impl::factory_event_revoker::remove_Rendered>; [[nodiscard]] static auto Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Rendered(winrt::event_token const& token); static auto SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler); using SurfaceContentsLost_revoker = impl::factory_event_revoker::remove_SurfaceContentsLost>; [[nodiscard]] static auto SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto SurfaceContentsLost(winrt::event_token const& token); static auto GetCompositorForCurrentThread(); }; struct WINRT_IMPL_EMPTY_BASES DesktopAcrylicBackdrop : winrt::Microsoft::UI::Xaml::Media::IDesktopAcrylicBackdrop, impl::base, impl::require { DesktopAcrylicBackdrop(std::nullptr_t) noexcept {} DesktopAcrylicBackdrop(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IDesktopAcrylicBackdrop(ptr, take_ownership_from_abi) {} DesktopAcrylicBackdrop(); }; struct WINRT_IMPL_EMPTY_BASES DoubleCollection : winrt::Windows::Foundation::Collections::IVector { DoubleCollection(std::nullptr_t) noexcept {} DoubleCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} DoubleCollection(); }; struct WINRT_IMPL_EMPTY_BASES EllipseGeometry : winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, impl::base, impl::require { EllipseGeometry(std::nullptr_t) noexcept {} EllipseGeometry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry(ptr, take_ownership_from_abi) {} EllipseGeometry(); [[nodiscard]] static auto CenterProperty(); [[nodiscard]] static auto RadiusXProperty(); [[nodiscard]] static auto RadiusYProperty(); }; struct WINRT_IMPL_EMPTY_BASES FontFamily : winrt::Microsoft::UI::Xaml::Media::IFontFamily { FontFamily(std::nullptr_t) noexcept {} FontFamily(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IFontFamily(ptr, take_ownership_from_abi) {} explicit FontFamily(param::hstring const& familyName); [[nodiscard]] static auto XamlAutoFontFamily(); }; struct WINRT_IMPL_EMPTY_BASES GeneralTransform : winrt::Microsoft::UI::Xaml::Media::IGeneralTransform, impl::base, impl::require { GeneralTransform(std::nullptr_t) noexcept {} GeneralTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IGeneralTransform(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES Geometry : winrt::Microsoft::UI::Xaml::Media::IGeometry, impl::base, impl::require { Geometry(std::nullptr_t) noexcept {} Geometry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IGeometry(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto Empty(); [[nodiscard]] static auto StandardFlatteningTolerance(); [[nodiscard]] static auto TransformProperty(); }; struct WINRT_IMPL_EMPTY_BASES GeometryCollection : winrt::Windows::Foundation::Collections::IVector { GeometryCollection(std::nullptr_t) noexcept {} GeometryCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} GeometryCollection(); }; struct WINRT_IMPL_EMPTY_BASES GeometryGroup : winrt::Microsoft::UI::Xaml::Media::IGeometryGroup, impl::base, impl::require { GeometryGroup(std::nullptr_t) noexcept {} GeometryGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IGeometryGroup(ptr, take_ownership_from_abi) {} GeometryGroup(); [[nodiscard]] static auto FillRuleProperty(); [[nodiscard]] static auto ChildrenProperty(); }; struct WINRT_IMPL_EMPTY_BASES GradientBrush : winrt::Microsoft::UI::Xaml::Media::IGradientBrush, impl::base, impl::require { GradientBrush(std::nullptr_t) noexcept {} GradientBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IGradientBrush(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto SpreadMethodProperty(); [[nodiscard]] static auto MappingModeProperty(); [[nodiscard]] static auto ColorInterpolationModeProperty(); [[nodiscard]] static auto GradientStopsProperty(); }; struct WINRT_IMPL_EMPTY_BASES GradientStop : winrt::Microsoft::UI::Xaml::Media::IGradientStop, impl::base, impl::require { GradientStop(std::nullptr_t) noexcept {} GradientStop(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IGradientStop(ptr, take_ownership_from_abi) {} GradientStop(); [[nodiscard]] static auto ColorProperty(); [[nodiscard]] static auto OffsetProperty(); }; struct WINRT_IMPL_EMPTY_BASES GradientStopCollection : winrt::Windows::Foundation::Collections::IVector { GradientStopCollection(std::nullptr_t) noexcept {} GradientStopCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} GradientStopCollection(); }; struct WINRT_IMPL_EMPTY_BASES ImageBrush : winrt::Microsoft::UI::Xaml::Media::IImageBrush, impl::base, impl::require { ImageBrush(std::nullptr_t) noexcept {} ImageBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IImageBrush(ptr, take_ownership_from_abi) {} ImageBrush(); [[nodiscard]] static auto ImageSourceProperty(); }; struct WINRT_IMPL_EMPTY_BASES ImageSource : winrt::Microsoft::UI::Xaml::Media::IImageSource, impl::base, impl::require { ImageSource(std::nullptr_t) noexcept {} ImageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IImageSource(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES LineGeometry : winrt::Microsoft::UI::Xaml::Media::ILineGeometry, impl::base, impl::require { LineGeometry(std::nullptr_t) noexcept {} LineGeometry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ILineGeometry(ptr, take_ownership_from_abi) {} LineGeometry(); [[nodiscard]] static auto StartPointProperty(); [[nodiscard]] static auto EndPointProperty(); }; struct WINRT_IMPL_EMPTY_BASES LineSegment : winrt::Microsoft::UI::Xaml::Media::ILineSegment, impl::base, impl::require { LineSegment(std::nullptr_t) noexcept {} LineSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ILineSegment(ptr, take_ownership_from_abi) {} LineSegment(); [[nodiscard]] static auto PointProperty(); }; struct WINRT_IMPL_EMPTY_BASES LinearGradientBrush : winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush, impl::base, impl::require { LinearGradientBrush(std::nullptr_t) noexcept {} LinearGradientBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush(ptr, take_ownership_from_abi) {} LinearGradientBrush(); LinearGradientBrush(winrt::Microsoft::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle); [[nodiscard]] static auto StartPointProperty(); [[nodiscard]] static auto EndPointProperty(); }; struct WINRT_IMPL_EMPTY_BASES LoadedImageSourceLoadCompletedEventArgs : winrt::Microsoft::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs { LoadedImageSourceLoadCompletedEventArgs(std::nullptr_t) noexcept {} LoadedImageSourceLoadCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES LoadedImageSurface : winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, impl::require { LoadedImageSurface(std::nullptr_t) noexcept {} LoadedImageSurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface(ptr, take_ownership_from_abi) {} static auto StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize); static auto StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri); static auto StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize); static auto StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); }; struct WINRT_IMPL_EMPTY_BASES Matrix3DProjection : winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection, impl::base, impl::require { Matrix3DProjection(std::nullptr_t) noexcept {} Matrix3DProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection(ptr, take_ownership_from_abi) {} Matrix3DProjection(); [[nodiscard]] static auto ProjectionMatrixProperty(); }; struct WINRT_IMPL_EMPTY_BASES MatrixHelper : winrt::Microsoft::UI::Xaml::Media::IMatrixHelper { MatrixHelper(std::nullptr_t) noexcept {} MatrixHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IMatrixHelper(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto Identity(); static auto FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY); static auto GetIsIdentity(winrt::Microsoft::UI::Xaml::Media::Matrix const& target); static auto Transform(winrt::Microsoft::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point); }; struct WINRT_IMPL_EMPTY_BASES MatrixTransform : winrt::Microsoft::UI::Xaml::Media::IMatrixTransform, impl::base, impl::require { MatrixTransform(std::nullptr_t) noexcept {} MatrixTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IMatrixTransform(ptr, take_ownership_from_abi) {} MatrixTransform(); [[nodiscard]] static auto MatrixProperty(); }; struct WINRT_IMPL_EMPTY_BASES MediaTransportControlsThumbnailRequestedEventArgs : winrt::Microsoft::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs { MediaTransportControlsThumbnailRequestedEventArgs(std::nullptr_t) noexcept {} MediaTransportControlsThumbnailRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES MicaBackdrop : winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop, impl::base, impl::require { MicaBackdrop(std::nullptr_t) noexcept {} MicaBackdrop(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop(ptr, take_ownership_from_abi) {} MicaBackdrop(); [[nodiscard]] static auto KindProperty(); }; struct WINRT_IMPL_EMPTY_BASES PathFigure : winrt::Microsoft::UI::Xaml::Media::IPathFigure, impl::base, impl::require { PathFigure(std::nullptr_t) noexcept {} PathFigure(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPathFigure(ptr, take_ownership_from_abi) {} PathFigure(); [[nodiscard]] static auto SegmentsProperty(); [[nodiscard]] static auto StartPointProperty(); [[nodiscard]] static auto IsClosedProperty(); [[nodiscard]] static auto IsFilledProperty(); }; struct WINRT_IMPL_EMPTY_BASES PathFigureCollection : winrt::Windows::Foundation::Collections::IVector { PathFigureCollection(std::nullptr_t) noexcept {} PathFigureCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} PathFigureCollection(); }; struct WINRT_IMPL_EMPTY_BASES PathGeometry : winrt::Microsoft::UI::Xaml::Media::IPathGeometry, impl::base, impl::require { PathGeometry(std::nullptr_t) noexcept {} PathGeometry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPathGeometry(ptr, take_ownership_from_abi) {} PathGeometry(); [[nodiscard]] static auto FillRuleProperty(); [[nodiscard]] static auto FiguresProperty(); }; struct WINRT_IMPL_EMPTY_BASES PathSegment : winrt::Microsoft::UI::Xaml::Media::IPathSegment, impl::base, impl::require { PathSegment(std::nullptr_t) noexcept {} PathSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPathSegment(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES PathSegmentCollection : winrt::Windows::Foundation::Collections::IVector { PathSegmentCollection(std::nullptr_t) noexcept {} PathSegmentCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} PathSegmentCollection(); }; struct WINRT_IMPL_EMPTY_BASES PlaneProjection : winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, impl::base, impl::require { PlaneProjection(std::nullptr_t) noexcept {} PlaneProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPlaneProjection(ptr, take_ownership_from_abi) {} PlaneProjection(); [[nodiscard]] static auto LocalOffsetXProperty(); [[nodiscard]] static auto LocalOffsetYProperty(); [[nodiscard]] static auto LocalOffsetZProperty(); [[nodiscard]] static auto RotationXProperty(); [[nodiscard]] static auto RotationYProperty(); [[nodiscard]] static auto RotationZProperty(); [[nodiscard]] static auto CenterOfRotationXProperty(); [[nodiscard]] static auto CenterOfRotationYProperty(); [[nodiscard]] static auto CenterOfRotationZProperty(); [[nodiscard]] static auto GlobalOffsetXProperty(); [[nodiscard]] static auto GlobalOffsetYProperty(); [[nodiscard]] static auto GlobalOffsetZProperty(); [[nodiscard]] static auto ProjectionMatrixProperty(); }; struct WINRT_IMPL_EMPTY_BASES PointCollection : winrt::Windows::Foundation::Collections::IVector { PointCollection(std::nullptr_t) noexcept {} PointCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} PointCollection(); }; struct WINRT_IMPL_EMPTY_BASES PolyBezierSegment : winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment, impl::base, impl::require { PolyBezierSegment(std::nullptr_t) noexcept {} PolyBezierSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment(ptr, take_ownership_from_abi) {} PolyBezierSegment(); [[nodiscard]] static auto PointsProperty(); }; struct WINRT_IMPL_EMPTY_BASES PolyLineSegment : winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment, impl::base, impl::require { PolyLineSegment(std::nullptr_t) noexcept {} PolyLineSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment(ptr, take_ownership_from_abi) {} PolyLineSegment(); [[nodiscard]] static auto PointsProperty(); }; struct WINRT_IMPL_EMPTY_BASES PolyQuadraticBezierSegment : winrt::Microsoft::UI::Xaml::Media::IPolyQuadraticBezierSegment, impl::base, impl::require { PolyQuadraticBezierSegment(std::nullptr_t) noexcept {} PolyQuadraticBezierSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IPolyQuadraticBezierSegment(ptr, take_ownership_from_abi) {} PolyQuadraticBezierSegment(); [[nodiscard]] static auto PointsProperty(); }; struct WINRT_IMPL_EMPTY_BASES Projection : winrt::Microsoft::UI::Xaml::Media::IProjection, impl::base, impl::require { Projection(std::nullptr_t) noexcept {} Projection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IProjection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES QuadraticBezierSegment : winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment, impl::base, impl::require { QuadraticBezierSegment(std::nullptr_t) noexcept {} QuadraticBezierSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment(ptr, take_ownership_from_abi) {} QuadraticBezierSegment(); [[nodiscard]] static auto Point1Property(); [[nodiscard]] static auto Point2Property(); }; struct WINRT_IMPL_EMPTY_BASES RadialGradientBrush : winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, impl::base, impl::require { RadialGradientBrush(std::nullptr_t) noexcept {} RadialGradientBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush(ptr, take_ownership_from_abi) {} RadialGradientBrush(); [[nodiscard]] static auto CenterProperty(); [[nodiscard]] static auto RadiusXProperty(); [[nodiscard]] static auto RadiusYProperty(); [[nodiscard]] static auto GradientOriginProperty(); [[nodiscard]] static auto InterpolationSpaceProperty(); [[nodiscard]] static auto MappingModeProperty(); [[nodiscard]] static auto SpreadMethodProperty(); }; struct WINRT_IMPL_EMPTY_BASES RectangleGeometry : winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry, impl::base, impl::require { RectangleGeometry(std::nullptr_t) noexcept {} RectangleGeometry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry(ptr, take_ownership_from_abi) {} RectangleGeometry(); [[nodiscard]] static auto RectProperty(); }; struct WINRT_IMPL_EMPTY_BASES RenderedEventArgs : winrt::Microsoft::UI::Xaml::Media::IRenderedEventArgs { RenderedEventArgs(std::nullptr_t) noexcept {} RenderedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IRenderedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES RenderingEventArgs : winrt::Microsoft::UI::Xaml::Media::IRenderingEventArgs { RenderingEventArgs(std::nullptr_t) noexcept {} RenderingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IRenderingEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES RotateTransform : winrt::Microsoft::UI::Xaml::Media::IRotateTransform, impl::base, impl::require { RotateTransform(std::nullptr_t) noexcept {} RotateTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IRotateTransform(ptr, take_ownership_from_abi) {} RotateTransform(); [[nodiscard]] static auto CenterXProperty(); [[nodiscard]] static auto CenterYProperty(); [[nodiscard]] static auto AngleProperty(); }; struct WINRT_IMPL_EMPTY_BASES ScaleTransform : winrt::Microsoft::UI::Xaml::Media::IScaleTransform, impl::base, impl::require { ScaleTransform(std::nullptr_t) noexcept {} ScaleTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IScaleTransform(ptr, take_ownership_from_abi) {} ScaleTransform(); [[nodiscard]] static auto CenterXProperty(); [[nodiscard]] static auto CenterYProperty(); [[nodiscard]] static auto ScaleXProperty(); [[nodiscard]] static auto ScaleYProperty(); }; struct WINRT_IMPL_EMPTY_BASES Shadow : winrt::Microsoft::UI::Xaml::Media::IShadow, impl::base, impl::require { Shadow(std::nullptr_t) noexcept {} Shadow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IShadow(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES SkewTransform : winrt::Microsoft::UI::Xaml::Media::ISkewTransform, impl::base, impl::require { SkewTransform(std::nullptr_t) noexcept {} SkewTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ISkewTransform(ptr, take_ownership_from_abi) {} SkewTransform(); [[nodiscard]] static auto CenterXProperty(); [[nodiscard]] static auto CenterYProperty(); [[nodiscard]] static auto AngleXProperty(); [[nodiscard]] static auto AngleYProperty(); }; struct WINRT_IMPL_EMPTY_BASES SolidColorBrush : winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush, impl::base, impl::require { SolidColorBrush(std::nullptr_t) noexcept {} SolidColorBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush(ptr, take_ownership_from_abi) {} SolidColorBrush(); explicit SolidColorBrush(winrt::Windows::UI::Color const& color); [[nodiscard]] static auto ColorProperty(); }; struct WINRT_IMPL_EMPTY_BASES SystemBackdrop : winrt::Microsoft::UI::Xaml::Media::ISystemBackdrop, impl::base, impl::require { SystemBackdrop(std::nullptr_t) noexcept {} SystemBackdrop(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ISystemBackdrop(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ThemeShadow : winrt::Microsoft::UI::Xaml::Media::IThemeShadow, impl::base, impl::require { ThemeShadow(std::nullptr_t) noexcept {} ThemeShadow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IThemeShadow(ptr, take_ownership_from_abi) {} ThemeShadow(); }; struct WINRT_IMPL_EMPTY_BASES TileBrush : winrt::Microsoft::UI::Xaml::Media::ITileBrush, impl::base, impl::require { TileBrush(std::nullptr_t) noexcept {} TileBrush(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ITileBrush(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto AlignmentXProperty(); [[nodiscard]] static auto AlignmentYProperty(); [[nodiscard]] static auto StretchProperty(); }; struct WINRT_IMPL_EMPTY_BASES Transform : winrt::Microsoft::UI::Xaml::Media::ITransform, impl::base, impl::require { Transform(std::nullptr_t) noexcept {} Transform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ITransform(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES TransformCollection : winrt::Windows::Foundation::Collections::IVector { TransformCollection(std::nullptr_t) noexcept {} TransformCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVector(ptr, take_ownership_from_abi) {} TransformCollection(); }; struct WINRT_IMPL_EMPTY_BASES TransformGroup : winrt::Microsoft::UI::Xaml::Media::ITransformGroup, impl::base, impl::require { TransformGroup(std::nullptr_t) noexcept {} TransformGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ITransformGroup(ptr, take_ownership_from_abi) {} TransformGroup(); [[nodiscard]] static auto ChildrenProperty(); }; struct WINRT_IMPL_EMPTY_BASES TranslateTransform : winrt::Microsoft::UI::Xaml::Media::ITranslateTransform, impl::base, impl::require { TranslateTransform(std::nullptr_t) noexcept {} TranslateTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::ITranslateTransform(ptr, take_ownership_from_abi) {} TranslateTransform(); [[nodiscard]] static auto XProperty(); [[nodiscard]] static auto YProperty(); }; struct WINRT_IMPL_EMPTY_BASES VisualTreeHelper : winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelper { VisualTreeHelper(std::nullptr_t) noexcept {} VisualTreeHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelper(ptr, take_ownership_from_abi) {} static auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree); static auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree); static auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements); static auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements); static auto GetChild(winrt::Microsoft::UI::Xaml::DependencyObject const& reference, int32_t childIndex); static auto GetChildrenCount(winrt::Microsoft::UI::Xaml::DependencyObject const& reference); static auto GetParent(winrt::Microsoft::UI::Xaml::DependencyObject const& reference); static auto DisconnectChildrenRecursive(winrt::Microsoft::UI::Xaml::UIElement const& element); static auto GetOpenPopups(winrt::Microsoft::UI::Xaml::Window const& window); static auto GetOpenPopupsForXamlRoot(winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot); }; struct WINRT_IMPL_EMPTY_BASES XamlCompositionBrushBase : winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase, impl::base, impl::require { XamlCompositionBrushBase(std::nullptr_t) noexcept {} XamlCompositionBrushBase(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto FallbackColorProperty(); }; struct WINRT_IMPL_EMPTY_BASES XamlLight : winrt::Microsoft::UI::Xaml::Media::IXamlLight, impl::base, impl::require { XamlLight(std::nullptr_t) noexcept {} XamlLight(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::UI::Xaml::Media::IXamlLight(ptr, take_ownership_from_abi) {} XamlLight(); static auto AddTargetElement(param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element); static auto RemoveTargetElement(param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element); static auto AddTargetBrush(param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush); static auto RemoveTargetBrush(param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush); }; template class IBrushOverridesT { D& shim() noexcept { return *static_cast(this); } D const& shim() const noexcept { return *static_cast(this); } public: using IBrushOverrides = winrt::Microsoft::UI::Xaml::Media::IBrushOverrides; auto PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Microsoft::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; }; template class IGeneralTransformOverridesT { D& shim() noexcept { return *static_cast(this); } D const& shim() const noexcept { return *static_cast(this); } public: using IGeneralTransformOverrides = winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides; [[nodiscard]] auto InverseCore() const; auto TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; auto TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const; }; template class ISystemBackdropOverridesT { D& shim() noexcept { return *static_cast(this); } D const& shim() const noexcept { return *static_cast(this); } public: using ISystemBackdropOverrides = winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides; auto OnTargetConnected(winrt::Microsoft::UI::Composition::ICompositionSupportsSystemBackdrop const& connectedTarget, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) const; auto OnTargetDisconnected(winrt::Microsoft::UI::Composition::ICompositionSupportsSystemBackdrop const& disconnectedTarget) const; auto OnDefaultSystemBackdropConfigurationChanged(winrt::Microsoft::UI::Composition::ICompositionSupportsSystemBackdrop const& target, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) const; }; template class IXamlCompositionBrushBaseOverridesT { D& shim() noexcept { return *static_cast(this); } D const& shim() const noexcept { return *static_cast(this); } public: using IXamlCompositionBrushBaseOverrides = winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides; auto OnConnected() const; auto OnDisconnected() const; }; template class IXamlLightOverridesT { D& shim() noexcept { return *static_cast(this); } D const& shim() const noexcept { return *static_cast(this); } public: using IXamlLightOverrides = winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides; auto GetId() const; auto OnConnected(winrt::Microsoft::UI::Xaml::UIElement const& newElement) const; auto OnDisconnected(winrt::Microsoft::UI::Xaml::UIElement const& oldElement) const; }; } #endif