win32more-Microsoft.WindowsAppSDK 0.6.1.5.240227000__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +7 -0
- win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
- win32more/Microsoft/Graphics/Display/__init__.py +174 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
- win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
- win32more/Microsoft/UI/Composition/__init__.py +4793 -0
- win32more/Microsoft/UI/Content/__init__.py +918 -0
- win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
- win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
- win32more/Microsoft/UI/Input/__init__.py +1927 -0
- win32more/Microsoft/UI/System/__init__.py +46 -0
- win32more/Microsoft/UI/Text/__init__.py +1090 -0
- win32more/Microsoft/UI/Windowing/__init__.py +877 -0
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
- win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
- win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
- win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
- win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
- win32more/Microsoft/UI/__init__.py +912 -0
- win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
- win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
- win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
- win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
- win32more/Microsoft/Windows/System/__init__.py +78 -0
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +3 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.UI.Xaml
|
|
4
|
+
import win32more.Microsoft.UI.Xaml.Media
|
|
5
|
+
import win32more.Microsoft.UI.Xaml.Media.Imaging
|
|
6
|
+
import win32more.Windows.ApplicationModel.Background
|
|
7
|
+
import win32more.Windows.Foundation
|
|
8
|
+
import win32more.Windows.Graphics.Imaging
|
|
9
|
+
import win32more.Windows.Storage.Streams
|
|
10
|
+
class BitmapCreateOptions(Enum, UInt32):
|
|
11
|
+
None_ = 0
|
|
12
|
+
IgnoreImageCache = 8
|
|
13
|
+
class _BitmapImage_Meta_(ComPtr.__class__):
|
|
14
|
+
pass
|
|
15
|
+
class BitmapImage(ComPtr, metaclass=_BitmapImage_Meta_):
|
|
16
|
+
extends: win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapSource
|
|
17
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage
|
|
18
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.BitmapImage'
|
|
19
|
+
def __init__(self, *args, **kwargs):
|
|
20
|
+
if kwargs:
|
|
21
|
+
super().__init__(**kwargs)
|
|
22
|
+
elif len(args) == 0:
|
|
23
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapImage.CreateInstance(*args))
|
|
24
|
+
elif len(args) == 1:
|
|
25
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapImage.CreateInstanceWithUriSource(*args))
|
|
26
|
+
else:
|
|
27
|
+
raise ValueError('no matched constructor')
|
|
28
|
+
@winrt_activatemethod
|
|
29
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapImage: ...
|
|
30
|
+
@winrt_factorymethod
|
|
31
|
+
def CreateInstanceWithUriSource(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageFactory, uriSource: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapImage: ...
|
|
32
|
+
@winrt_mixinmethod
|
|
33
|
+
def get_CreateOptions(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapCreateOptions: ...
|
|
34
|
+
@winrt_mixinmethod
|
|
35
|
+
def put_CreateOptions(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapCreateOptions) -> Void: ...
|
|
36
|
+
@winrt_mixinmethod
|
|
37
|
+
def get_UriSource(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> win32more.Windows.Foundation.Uri: ...
|
|
38
|
+
@winrt_mixinmethod
|
|
39
|
+
def put_UriSource(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
40
|
+
@winrt_mixinmethod
|
|
41
|
+
def get_DecodePixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Int32: ...
|
|
42
|
+
@winrt_mixinmethod
|
|
43
|
+
def put_DecodePixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: Int32) -> Void: ...
|
|
44
|
+
@winrt_mixinmethod
|
|
45
|
+
def get_DecodePixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Int32: ...
|
|
46
|
+
@winrt_mixinmethod
|
|
47
|
+
def put_DecodePixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: Int32) -> Void: ...
|
|
48
|
+
@winrt_mixinmethod
|
|
49
|
+
def get_DecodePixelType(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> win32more.Microsoft.UI.Xaml.Media.Imaging.DecodePixelType: ...
|
|
50
|
+
@winrt_mixinmethod
|
|
51
|
+
def put_DecodePixelType(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: win32more.Microsoft.UI.Xaml.Media.Imaging.DecodePixelType) -> Void: ...
|
|
52
|
+
@winrt_mixinmethod
|
|
53
|
+
def get_IsAnimatedBitmap(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Boolean: ...
|
|
54
|
+
@winrt_mixinmethod
|
|
55
|
+
def get_IsPlaying(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Boolean: ...
|
|
56
|
+
@winrt_mixinmethod
|
|
57
|
+
def get_AutoPlay(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Boolean: ...
|
|
58
|
+
@winrt_mixinmethod
|
|
59
|
+
def put_AutoPlay(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, value: Boolean) -> Void: ...
|
|
60
|
+
@winrt_mixinmethod
|
|
61
|
+
def add_DownloadProgress(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, handler: win32more.Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
62
|
+
@winrt_mixinmethod
|
|
63
|
+
def remove_DownloadProgress(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
64
|
+
@winrt_mixinmethod
|
|
65
|
+
def add_ImageOpened(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, handler: win32more.Microsoft.UI.Xaml.RoutedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
66
|
+
@winrt_mixinmethod
|
|
67
|
+
def remove_ImageOpened(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
68
|
+
@winrt_mixinmethod
|
|
69
|
+
def add_ImageFailed(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, handler: win32more.Microsoft.UI.Xaml.ExceptionRoutedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
70
|
+
@winrt_mixinmethod
|
|
71
|
+
def remove_ImageFailed(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
72
|
+
@winrt_mixinmethod
|
|
73
|
+
def Play(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Void: ...
|
|
74
|
+
@winrt_mixinmethod
|
|
75
|
+
def Stop(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImage) -> Void: ...
|
|
76
|
+
@winrt_classmethod
|
|
77
|
+
def get_CreateOptionsProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
78
|
+
@winrt_classmethod
|
|
79
|
+
def get_UriSourceProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
80
|
+
@winrt_classmethod
|
|
81
|
+
def get_DecodePixelWidthProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
82
|
+
@winrt_classmethod
|
|
83
|
+
def get_DecodePixelHeightProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
84
|
+
@winrt_classmethod
|
|
85
|
+
def get_DecodePixelTypeProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
86
|
+
@winrt_classmethod
|
|
87
|
+
def get_IsAnimatedBitmapProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
88
|
+
@winrt_classmethod
|
|
89
|
+
def get_IsPlayingProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
90
|
+
@winrt_classmethod
|
|
91
|
+
def get_AutoPlayProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
92
|
+
AutoPlay = property(get_AutoPlay, put_AutoPlay)
|
|
93
|
+
CreateOptions = property(get_CreateOptions, put_CreateOptions)
|
|
94
|
+
DecodePixelHeight = property(get_DecodePixelHeight, put_DecodePixelHeight)
|
|
95
|
+
DecodePixelType = property(get_DecodePixelType, put_DecodePixelType)
|
|
96
|
+
DecodePixelWidth = property(get_DecodePixelWidth, put_DecodePixelWidth)
|
|
97
|
+
IsAnimatedBitmap = property(get_IsAnimatedBitmap, None)
|
|
98
|
+
IsPlaying = property(get_IsPlaying, None)
|
|
99
|
+
UriSource = property(get_UriSource, put_UriSource)
|
|
100
|
+
_BitmapImage_Meta_.AutoPlayProperty = property(get_AutoPlayProperty, None)
|
|
101
|
+
_BitmapImage_Meta_.CreateOptionsProperty = property(get_CreateOptionsProperty, None)
|
|
102
|
+
_BitmapImage_Meta_.DecodePixelHeightProperty = property(get_DecodePixelHeightProperty, None)
|
|
103
|
+
_BitmapImage_Meta_.DecodePixelTypeProperty = property(get_DecodePixelTypeProperty, None)
|
|
104
|
+
_BitmapImage_Meta_.DecodePixelWidthProperty = property(get_DecodePixelWidthProperty, None)
|
|
105
|
+
_BitmapImage_Meta_.IsAnimatedBitmapProperty = property(get_IsAnimatedBitmapProperty, None)
|
|
106
|
+
_BitmapImage_Meta_.IsPlayingProperty = property(get_IsPlayingProperty, None)
|
|
107
|
+
_BitmapImage_Meta_.UriSourceProperty = property(get_UriSourceProperty, None)
|
|
108
|
+
DownloadProgress = event()
|
|
109
|
+
ImageOpened = event()
|
|
110
|
+
ImageFailed = event()
|
|
111
|
+
class _BitmapSource_Meta_(ComPtr.__class__):
|
|
112
|
+
pass
|
|
113
|
+
class BitmapSource(ComPtr, metaclass=_BitmapSource_Meta_):
|
|
114
|
+
extends: win32more.Microsoft.UI.Xaml.Media.ImageSource
|
|
115
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSource
|
|
116
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.BitmapSource'
|
|
117
|
+
def __init__(self, *args, **kwargs):
|
|
118
|
+
if kwargs:
|
|
119
|
+
super().__init__(**kwargs)
|
|
120
|
+
elif len(args) == 0:
|
|
121
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapSource.CreateInstance(*args, None, None))
|
|
122
|
+
else:
|
|
123
|
+
raise ValueError('no matched constructor')
|
|
124
|
+
@winrt_factorymethod
|
|
125
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSourceFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapSource: ...
|
|
126
|
+
@winrt_mixinmethod
|
|
127
|
+
def get_PixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSource) -> Int32: ...
|
|
128
|
+
@winrt_mixinmethod
|
|
129
|
+
def get_PixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSource) -> Int32: ...
|
|
130
|
+
@winrt_mixinmethod
|
|
131
|
+
def SetSource(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSource, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
132
|
+
@winrt_mixinmethod
|
|
133
|
+
def SetSourceAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSource, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
134
|
+
@winrt_classmethod
|
|
135
|
+
def get_PixelWidthProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSourceStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
136
|
+
@winrt_classmethod
|
|
137
|
+
def get_PixelHeightProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IBitmapSourceStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
138
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
139
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
140
|
+
_BitmapSource_Meta_.PixelHeightProperty = property(get_PixelHeightProperty, None)
|
|
141
|
+
_BitmapSource_Meta_.PixelWidthProperty = property(get_PixelWidthProperty, None)
|
|
142
|
+
class DecodePixelType(Enum, Int32):
|
|
143
|
+
Physical = 0
|
|
144
|
+
Logical = 1
|
|
145
|
+
class DownloadProgressEventArgs(ComPtr):
|
|
146
|
+
extends: IInspectable
|
|
147
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IDownloadProgressEventArgs
|
|
148
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventArgs'
|
|
149
|
+
@winrt_mixinmethod
|
|
150
|
+
def get_Progress(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IDownloadProgressEventArgs) -> Int32: ...
|
|
151
|
+
@winrt_mixinmethod
|
|
152
|
+
def put_Progress(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IDownloadProgressEventArgs, value: Int32) -> Void: ...
|
|
153
|
+
Progress = property(get_Progress, put_Progress)
|
|
154
|
+
class DownloadProgressEventHandler(MulticastDelegate):
|
|
155
|
+
extends: IUnknown
|
|
156
|
+
_iid_ = Guid('{9a8e4af5-b124-5205-8ae9-3496e063c569}')
|
|
157
|
+
@winrt_commethod(3)
|
|
158
|
+
def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventArgs) -> Void: ...
|
|
159
|
+
class IBitmapImage(ComPtr):
|
|
160
|
+
extends: IInspectable
|
|
161
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapImage'
|
|
162
|
+
_iid_ = Guid('{5cc29916-a411-5bc2-a3c5-a00d99a59da8}')
|
|
163
|
+
@winrt_commethod(6)
|
|
164
|
+
def get_CreateOptions(self) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapCreateOptions: ...
|
|
165
|
+
@winrt_commethod(7)
|
|
166
|
+
def put_CreateOptions(self, value: win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapCreateOptions) -> Void: ...
|
|
167
|
+
@winrt_commethod(8)
|
|
168
|
+
def get_UriSource(self) -> win32more.Windows.Foundation.Uri: ...
|
|
169
|
+
@winrt_commethod(9)
|
|
170
|
+
def put_UriSource(self, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
171
|
+
@winrt_commethod(10)
|
|
172
|
+
def get_DecodePixelWidth(self) -> Int32: ...
|
|
173
|
+
@winrt_commethod(11)
|
|
174
|
+
def put_DecodePixelWidth(self, value: Int32) -> Void: ...
|
|
175
|
+
@winrt_commethod(12)
|
|
176
|
+
def get_DecodePixelHeight(self) -> Int32: ...
|
|
177
|
+
@winrt_commethod(13)
|
|
178
|
+
def put_DecodePixelHeight(self, value: Int32) -> Void: ...
|
|
179
|
+
@winrt_commethod(14)
|
|
180
|
+
def get_DecodePixelType(self) -> win32more.Microsoft.UI.Xaml.Media.Imaging.DecodePixelType: ...
|
|
181
|
+
@winrt_commethod(15)
|
|
182
|
+
def put_DecodePixelType(self, value: win32more.Microsoft.UI.Xaml.Media.Imaging.DecodePixelType) -> Void: ...
|
|
183
|
+
@winrt_commethod(16)
|
|
184
|
+
def get_IsAnimatedBitmap(self) -> Boolean: ...
|
|
185
|
+
@winrt_commethod(17)
|
|
186
|
+
def get_IsPlaying(self) -> Boolean: ...
|
|
187
|
+
@winrt_commethod(18)
|
|
188
|
+
def get_AutoPlay(self) -> Boolean: ...
|
|
189
|
+
@winrt_commethod(19)
|
|
190
|
+
def put_AutoPlay(self, value: Boolean) -> Void: ...
|
|
191
|
+
@winrt_commethod(20)
|
|
192
|
+
def add_DownloadProgress(self, handler: win32more.Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
193
|
+
@winrt_commethod(21)
|
|
194
|
+
def remove_DownloadProgress(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
195
|
+
@winrt_commethod(22)
|
|
196
|
+
def add_ImageOpened(self, handler: win32more.Microsoft.UI.Xaml.RoutedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
197
|
+
@winrt_commethod(23)
|
|
198
|
+
def remove_ImageOpened(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
199
|
+
@winrt_commethod(24)
|
|
200
|
+
def add_ImageFailed(self, handler: win32more.Microsoft.UI.Xaml.ExceptionRoutedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
201
|
+
@winrt_commethod(25)
|
|
202
|
+
def remove_ImageFailed(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
203
|
+
@winrt_commethod(26)
|
|
204
|
+
def Play(self) -> Void: ...
|
|
205
|
+
@winrt_commethod(27)
|
|
206
|
+
def Stop(self) -> Void: ...
|
|
207
|
+
AutoPlay = property(get_AutoPlay, put_AutoPlay)
|
|
208
|
+
CreateOptions = property(get_CreateOptions, put_CreateOptions)
|
|
209
|
+
DecodePixelHeight = property(get_DecodePixelHeight, put_DecodePixelHeight)
|
|
210
|
+
DecodePixelType = property(get_DecodePixelType, put_DecodePixelType)
|
|
211
|
+
DecodePixelWidth = property(get_DecodePixelWidth, put_DecodePixelWidth)
|
|
212
|
+
IsAnimatedBitmap = property(get_IsAnimatedBitmap, None)
|
|
213
|
+
IsPlaying = property(get_IsPlaying, None)
|
|
214
|
+
UriSource = property(get_UriSource, put_UriSource)
|
|
215
|
+
DownloadProgress = event()
|
|
216
|
+
ImageOpened = event()
|
|
217
|
+
ImageFailed = event()
|
|
218
|
+
class IBitmapImageFactory(ComPtr):
|
|
219
|
+
extends: IInspectable
|
|
220
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapImageFactory'
|
|
221
|
+
_iid_ = Guid('{f037e0e9-f229-522e-95c9-da2211a14b05}')
|
|
222
|
+
@winrt_commethod(6)
|
|
223
|
+
def CreateInstanceWithUriSource(self, uriSource: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapImage: ...
|
|
224
|
+
class IBitmapImageStatics(ComPtr):
|
|
225
|
+
extends: IInspectable
|
|
226
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapImageStatics'
|
|
227
|
+
_iid_ = Guid('{4bcf71a9-1897-51dc-8e3f-2c5c796d1cd9}')
|
|
228
|
+
@winrt_commethod(6)
|
|
229
|
+
def get_CreateOptionsProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
230
|
+
@winrt_commethod(7)
|
|
231
|
+
def get_UriSourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
232
|
+
@winrt_commethod(8)
|
|
233
|
+
def get_DecodePixelWidthProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
234
|
+
@winrt_commethod(9)
|
|
235
|
+
def get_DecodePixelHeightProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
236
|
+
@winrt_commethod(10)
|
|
237
|
+
def get_DecodePixelTypeProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
238
|
+
@winrt_commethod(11)
|
|
239
|
+
def get_IsAnimatedBitmapProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
240
|
+
@winrt_commethod(12)
|
|
241
|
+
def get_IsPlayingProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
242
|
+
@winrt_commethod(13)
|
|
243
|
+
def get_AutoPlayProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
244
|
+
AutoPlayProperty = property(get_AutoPlayProperty, None)
|
|
245
|
+
CreateOptionsProperty = property(get_CreateOptionsProperty, None)
|
|
246
|
+
DecodePixelHeightProperty = property(get_DecodePixelHeightProperty, None)
|
|
247
|
+
DecodePixelTypeProperty = property(get_DecodePixelTypeProperty, None)
|
|
248
|
+
DecodePixelWidthProperty = property(get_DecodePixelWidthProperty, None)
|
|
249
|
+
IsAnimatedBitmapProperty = property(get_IsAnimatedBitmapProperty, None)
|
|
250
|
+
IsPlayingProperty = property(get_IsPlayingProperty, None)
|
|
251
|
+
UriSourceProperty = property(get_UriSourceProperty, None)
|
|
252
|
+
class IBitmapSource(ComPtr):
|
|
253
|
+
extends: IInspectable
|
|
254
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapSource'
|
|
255
|
+
_iid_ = Guid('{8424269d-9b82-534f-8fea-af5b5ef96bf2}')
|
|
256
|
+
@winrt_commethod(6)
|
|
257
|
+
def get_PixelWidth(self) -> Int32: ...
|
|
258
|
+
@winrt_commethod(7)
|
|
259
|
+
def get_PixelHeight(self) -> Int32: ...
|
|
260
|
+
@winrt_commethod(8)
|
|
261
|
+
def SetSource(self, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
262
|
+
@winrt_commethod(9)
|
|
263
|
+
def SetSourceAsync(self, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
264
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
265
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
266
|
+
class IBitmapSourceFactory(ComPtr):
|
|
267
|
+
extends: IInspectable
|
|
268
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapSourceFactory'
|
|
269
|
+
_iid_ = Guid('{0392f025-1868-5876-ad67-12e94a8da5bf}')
|
|
270
|
+
@winrt_commethod(6)
|
|
271
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapSource: ...
|
|
272
|
+
class IBitmapSourceStatics(ComPtr):
|
|
273
|
+
extends: IInspectable
|
|
274
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapSourceStatics'
|
|
275
|
+
_iid_ = Guid('{efa3745e-4400-5f0b-bdc7-3f2911a3d719}')
|
|
276
|
+
@winrt_commethod(6)
|
|
277
|
+
def get_PixelWidthProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
278
|
+
@winrt_commethod(7)
|
|
279
|
+
def get_PixelHeightProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
280
|
+
PixelHeightProperty = property(get_PixelHeightProperty, None)
|
|
281
|
+
PixelWidthProperty = property(get_PixelWidthProperty, None)
|
|
282
|
+
class IDownloadProgressEventArgs(ComPtr):
|
|
283
|
+
extends: IInspectable
|
|
284
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IDownloadProgressEventArgs'
|
|
285
|
+
_iid_ = Guid('{9a0ea80b-1a17-50d5-83f3-377738212619}')
|
|
286
|
+
@winrt_commethod(6)
|
|
287
|
+
def get_Progress(self) -> Int32: ...
|
|
288
|
+
@winrt_commethod(7)
|
|
289
|
+
def put_Progress(self, value: Int32) -> Void: ...
|
|
290
|
+
Progress = property(get_Progress, put_Progress)
|
|
291
|
+
class IRenderTargetBitmap(ComPtr):
|
|
292
|
+
extends: IInspectable
|
|
293
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap'
|
|
294
|
+
_iid_ = Guid('{cf10407d-fa8b-57a3-9574-710529ae0b04}')
|
|
295
|
+
@winrt_commethod(6)
|
|
296
|
+
def get_PixelWidth(self) -> Int32: ...
|
|
297
|
+
@winrt_commethod(7)
|
|
298
|
+
def get_PixelHeight(self) -> Int32: ...
|
|
299
|
+
@winrt_commethod(8)
|
|
300
|
+
def RenderAsync(self, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
301
|
+
@winrt_commethod(9)
|
|
302
|
+
def RenderToSizeAsync(self, element: win32more.Microsoft.UI.Xaml.UIElement, scaledWidth: Int32, scaledHeight: Int32) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
303
|
+
@winrt_commethod(10)
|
|
304
|
+
def GetPixelsAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.Streams.IBuffer]: ...
|
|
305
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
306
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
307
|
+
class IRenderTargetBitmapStatics(ComPtr):
|
|
308
|
+
extends: IInspectable
|
|
309
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmapStatics'
|
|
310
|
+
_iid_ = Guid('{83e822e4-9f84-5986-93b0-e4f7019c367d}')
|
|
311
|
+
@winrt_commethod(6)
|
|
312
|
+
def get_PixelWidthProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
313
|
+
@winrt_commethod(7)
|
|
314
|
+
def get_PixelHeightProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
315
|
+
PixelHeightProperty = property(get_PixelHeightProperty, None)
|
|
316
|
+
PixelWidthProperty = property(get_PixelWidthProperty, None)
|
|
317
|
+
class ISoftwareBitmapSource(ComPtr):
|
|
318
|
+
extends: IInspectable
|
|
319
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISoftwareBitmapSource'
|
|
320
|
+
_iid_ = Guid('{a6aca802-1f24-5a1e-bf08-781a85ed5511}')
|
|
321
|
+
@winrt_commethod(6)
|
|
322
|
+
def SetBitmapAsync(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
323
|
+
class ISurfaceImageSource(ComPtr):
|
|
324
|
+
extends: IInspectable
|
|
325
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISurfaceImageSource'
|
|
326
|
+
_iid_ = Guid('{ac078d9c-d0e0-5ff9-b73e-98e82e4c8d36}')
|
|
327
|
+
class ISurfaceImageSourceFactory(ComPtr):
|
|
328
|
+
extends: IInspectable
|
|
329
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISurfaceImageSourceFactory'
|
|
330
|
+
_iid_ = Guid('{09a26ed2-11b3-5ef1-ac56-20d064ccca34}')
|
|
331
|
+
@winrt_commethod(6)
|
|
332
|
+
def CreateInstanceWithDimensions(self, pixelWidth: Int32, pixelHeight: Int32, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource: ...
|
|
333
|
+
@winrt_commethod(7)
|
|
334
|
+
def CreateInstanceWithDimensionsAndOpacity(self, pixelWidth: Int32, pixelHeight: Int32, isOpaque: Boolean, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource: ...
|
|
335
|
+
class ISvgImageSource(ComPtr):
|
|
336
|
+
extends: IInspectable
|
|
337
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource'
|
|
338
|
+
_iid_ = Guid('{d5b61d3c-b68d-53a2-b07b-ba6adfdd5887}')
|
|
339
|
+
@winrt_commethod(6)
|
|
340
|
+
def get_UriSource(self) -> win32more.Windows.Foundation.Uri: ...
|
|
341
|
+
@winrt_commethod(7)
|
|
342
|
+
def put_UriSource(self, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
343
|
+
@winrt_commethod(8)
|
|
344
|
+
def get_RasterizePixelWidth(self) -> Double: ...
|
|
345
|
+
@winrt_commethod(9)
|
|
346
|
+
def put_RasterizePixelWidth(self, value: Double) -> Void: ...
|
|
347
|
+
@winrt_commethod(10)
|
|
348
|
+
def get_RasterizePixelHeight(self) -> Double: ...
|
|
349
|
+
@winrt_commethod(11)
|
|
350
|
+
def put_RasterizePixelHeight(self, value: Double) -> Void: ...
|
|
351
|
+
@winrt_commethod(12)
|
|
352
|
+
def add_Opened(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource, win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceOpenedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
353
|
+
@winrt_commethod(13)
|
|
354
|
+
def remove_Opened(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
355
|
+
@winrt_commethod(14)
|
|
356
|
+
def add_OpenFailed(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource, win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceFailedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
357
|
+
@winrt_commethod(15)
|
|
358
|
+
def remove_OpenFailed(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
359
|
+
@winrt_commethod(16)
|
|
360
|
+
def SetSourceAsync(self, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceLoadStatus]: ...
|
|
361
|
+
RasterizePixelHeight = property(get_RasterizePixelHeight, put_RasterizePixelHeight)
|
|
362
|
+
RasterizePixelWidth = property(get_RasterizePixelWidth, put_RasterizePixelWidth)
|
|
363
|
+
UriSource = property(get_UriSource, put_UriSource)
|
|
364
|
+
Opened = event()
|
|
365
|
+
OpenFailed = event()
|
|
366
|
+
class ISvgImageSourceFactory(ComPtr):
|
|
367
|
+
extends: IInspectable
|
|
368
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFactory'
|
|
369
|
+
_iid_ = Guid('{2f85673f-ac64-570d-9bda-94fa082eead9}')
|
|
370
|
+
@winrt_commethod(6)
|
|
371
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource: ...
|
|
372
|
+
@winrt_commethod(7)
|
|
373
|
+
def CreateInstanceWithUriSource(self, uriSource: win32more.Windows.Foundation.Uri, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource: ...
|
|
374
|
+
class ISvgImageSourceFailedEventArgs(ComPtr):
|
|
375
|
+
extends: IInspectable
|
|
376
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFailedEventArgs'
|
|
377
|
+
_iid_ = Guid('{76e66278-7804-5439-a50d-14c5ba896714}')
|
|
378
|
+
@winrt_commethod(6)
|
|
379
|
+
def get_Status(self) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceLoadStatus: ...
|
|
380
|
+
Status = property(get_Status, None)
|
|
381
|
+
class ISvgImageSourceOpenedEventArgs(ComPtr):
|
|
382
|
+
extends: IInspectable
|
|
383
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceOpenedEventArgs'
|
|
384
|
+
_iid_ = Guid('{1c9860d5-38d0-5b21-8d48-072f1e254e39}')
|
|
385
|
+
class ISvgImageSourceStatics(ComPtr):
|
|
386
|
+
extends: IInspectable
|
|
387
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceStatics'
|
|
388
|
+
_iid_ = Guid('{e3ad1068-f4c6-5513-a777-2980f0ba41bd}')
|
|
389
|
+
@winrt_commethod(6)
|
|
390
|
+
def get_UriSourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
391
|
+
@winrt_commethod(7)
|
|
392
|
+
def get_RasterizePixelWidthProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
393
|
+
@winrt_commethod(8)
|
|
394
|
+
def get_RasterizePixelHeightProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
395
|
+
RasterizePixelHeightProperty = property(get_RasterizePixelHeightProperty, None)
|
|
396
|
+
RasterizePixelWidthProperty = property(get_RasterizePixelWidthProperty, None)
|
|
397
|
+
UriSourceProperty = property(get_UriSourceProperty, None)
|
|
398
|
+
class IVirtualSurfaceImageSource(ComPtr):
|
|
399
|
+
extends: IInspectable
|
|
400
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSource'
|
|
401
|
+
_iid_ = Guid('{e4ff96a6-fede-589c-a007-4178b53b6739}')
|
|
402
|
+
class IVirtualSurfaceImageSourceFactory(ComPtr):
|
|
403
|
+
extends: IInspectable
|
|
404
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory'
|
|
405
|
+
_iid_ = Guid('{08490f2c-04a8-5031-b9c7-707060d7cd48}')
|
|
406
|
+
@winrt_commethod(6)
|
|
407
|
+
def CreateInstanceWithDimensions(self, pixelWidth: Int32, pixelHeight: Int32) -> win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource: ...
|
|
408
|
+
@winrt_commethod(7)
|
|
409
|
+
def CreateInstanceWithDimensionsAndOpacity(self, pixelWidth: Int32, pixelHeight: Int32, isOpaque: Boolean) -> win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource: ...
|
|
410
|
+
class IWriteableBitmap(ComPtr):
|
|
411
|
+
extends: IInspectable
|
|
412
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmap'
|
|
413
|
+
_iid_ = Guid('{78c824a9-0e43-5f1e-93bc-d046cca82b7e}')
|
|
414
|
+
@winrt_commethod(6)
|
|
415
|
+
def get_PixelBuffer(self) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
416
|
+
@winrt_commethod(7)
|
|
417
|
+
def Invalidate(self) -> Void: ...
|
|
418
|
+
PixelBuffer = property(get_PixelBuffer, None)
|
|
419
|
+
class IWriteableBitmapFactory(ComPtr):
|
|
420
|
+
extends: IInspectable
|
|
421
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmapFactory'
|
|
422
|
+
_iid_ = Guid('{26e861d9-b080-512b-96c4-80050e7e08d1}')
|
|
423
|
+
@winrt_commethod(6)
|
|
424
|
+
def CreateInstanceWithDimensions(self, pixelWidth: Int32, pixelHeight: Int32) -> win32more.Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap: ...
|
|
425
|
+
class IXamlRenderingBackgroundTask(ComPtr):
|
|
426
|
+
extends: IInspectable
|
|
427
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTask'
|
|
428
|
+
_iid_ = Guid('{7807000c-a050-5121-ac74-3322d5358e39}')
|
|
429
|
+
class IXamlRenderingBackgroundTaskFactory(ComPtr):
|
|
430
|
+
extends: IInspectable
|
|
431
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTaskFactory'
|
|
432
|
+
_iid_ = Guid('{205247a3-9ffe-599a-a21a-7181442a9d75}')
|
|
433
|
+
@winrt_commethod(6)
|
|
434
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.XamlRenderingBackgroundTask: ...
|
|
435
|
+
class IXamlRenderingBackgroundTaskOverrides(ComPtr):
|
|
436
|
+
extends: IInspectable
|
|
437
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTaskOverrides'
|
|
438
|
+
_iid_ = Guid('{18733237-324b-57c0-89b2-5875472acc80}')
|
|
439
|
+
@winrt_commethod(6)
|
|
440
|
+
def OnRun(self, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
|
|
441
|
+
class _RenderTargetBitmap_Meta_(ComPtr.__class__):
|
|
442
|
+
pass
|
|
443
|
+
class RenderTargetBitmap(ComPtr, metaclass=_RenderTargetBitmap_Meta_):
|
|
444
|
+
extends: win32more.Microsoft.UI.Xaml.Media.ImageSource
|
|
445
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap
|
|
446
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.RenderTargetBitmap'
|
|
447
|
+
def __init__(self, *args, **kwargs):
|
|
448
|
+
if kwargs:
|
|
449
|
+
super().__init__(**kwargs)
|
|
450
|
+
elif len(args) == 0:
|
|
451
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.RenderTargetBitmap.CreateInstance(*args))
|
|
452
|
+
else:
|
|
453
|
+
raise ValueError('no matched constructor')
|
|
454
|
+
@winrt_activatemethod
|
|
455
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Media.Imaging.RenderTargetBitmap: ...
|
|
456
|
+
@winrt_mixinmethod
|
|
457
|
+
def get_PixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap) -> Int32: ...
|
|
458
|
+
@winrt_mixinmethod
|
|
459
|
+
def get_PixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap) -> Int32: ...
|
|
460
|
+
@winrt_mixinmethod
|
|
461
|
+
def RenderAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
462
|
+
@winrt_mixinmethod
|
|
463
|
+
def RenderToSizeAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap, element: win32more.Microsoft.UI.Xaml.UIElement, scaledWidth: Int32, scaledHeight: Int32) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
464
|
+
@winrt_mixinmethod
|
|
465
|
+
def GetPixelsAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmap) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.Streams.IBuffer]: ...
|
|
466
|
+
@winrt_classmethod
|
|
467
|
+
def get_PixelWidthProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmapStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
468
|
+
@winrt_classmethod
|
|
469
|
+
def get_PixelHeightProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IRenderTargetBitmapStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
470
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
471
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
472
|
+
_RenderTargetBitmap_Meta_.PixelHeightProperty = property(get_PixelHeightProperty, None)
|
|
473
|
+
_RenderTargetBitmap_Meta_.PixelWidthProperty = property(get_PixelWidthProperty, None)
|
|
474
|
+
class SoftwareBitmapSource(ComPtr):
|
|
475
|
+
extends: win32more.Microsoft.UI.Xaml.Media.ImageSource
|
|
476
|
+
implements: Tuple[ContextManagerProtocol]
|
|
477
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISoftwareBitmapSource
|
|
478
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.SoftwareBitmapSource'
|
|
479
|
+
def __init__(self, *args, **kwargs):
|
|
480
|
+
if kwargs:
|
|
481
|
+
super().__init__(**kwargs)
|
|
482
|
+
elif len(args) == 0:
|
|
483
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.SoftwareBitmapSource.CreateInstance(*args))
|
|
484
|
+
else:
|
|
485
|
+
raise ValueError('no matched constructor')
|
|
486
|
+
@winrt_activatemethod
|
|
487
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SoftwareBitmapSource: ...
|
|
488
|
+
@winrt_mixinmethod
|
|
489
|
+
def SetBitmapAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISoftwareBitmapSource, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
490
|
+
@winrt_mixinmethod
|
|
491
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
492
|
+
class SurfaceImageSource(ComPtr):
|
|
493
|
+
extends: win32more.Microsoft.UI.Xaml.Media.ImageSource
|
|
494
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISurfaceImageSource
|
|
495
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource'
|
|
496
|
+
def __init__(self, *args, **kwargs):
|
|
497
|
+
if kwargs:
|
|
498
|
+
super().__init__(**kwargs)
|
|
499
|
+
elif len(args) == 2:
|
|
500
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource.CreateInstanceWithDimensions(*args, None, None))
|
|
501
|
+
elif len(args) == 3:
|
|
502
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource.CreateInstanceWithDimensionsAndOpacity(*args, None, None))
|
|
503
|
+
else:
|
|
504
|
+
raise ValueError('no matched constructor')
|
|
505
|
+
@winrt_factorymethod
|
|
506
|
+
def CreateInstanceWithDimensions(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISurfaceImageSourceFactory, pixelWidth: Int32, pixelHeight: Int32, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource: ...
|
|
507
|
+
@winrt_factorymethod
|
|
508
|
+
def CreateInstanceWithDimensionsAndOpacity(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISurfaceImageSourceFactory, pixelWidth: Int32, pixelHeight: Int32, isOpaque: Boolean, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource: ...
|
|
509
|
+
class _SvgImageSource_Meta_(ComPtr.__class__):
|
|
510
|
+
pass
|
|
511
|
+
class SvgImageSource(ComPtr, metaclass=_SvgImageSource_Meta_):
|
|
512
|
+
extends: win32more.Microsoft.UI.Xaml.Media.ImageSource
|
|
513
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource
|
|
514
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.SvgImageSource'
|
|
515
|
+
def __init__(self, *args, **kwargs):
|
|
516
|
+
if kwargs:
|
|
517
|
+
super().__init__(**kwargs)
|
|
518
|
+
elif len(args) == 0:
|
|
519
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource.CreateInstance(*args, None, None))
|
|
520
|
+
elif len(args) == 1:
|
|
521
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource.CreateInstanceWithUriSource(*args, None, None))
|
|
522
|
+
else:
|
|
523
|
+
raise ValueError('no matched constructor')
|
|
524
|
+
@winrt_factorymethod
|
|
525
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource: ...
|
|
526
|
+
@winrt_factorymethod
|
|
527
|
+
def CreateInstanceWithUriSource(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFactory, uriSource: win32more.Windows.Foundation.Uri, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource: ...
|
|
528
|
+
@winrt_mixinmethod
|
|
529
|
+
def get_UriSource(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource) -> win32more.Windows.Foundation.Uri: ...
|
|
530
|
+
@winrt_mixinmethod
|
|
531
|
+
def put_UriSource(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
532
|
+
@winrt_mixinmethod
|
|
533
|
+
def get_RasterizePixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource) -> Double: ...
|
|
534
|
+
@winrt_mixinmethod
|
|
535
|
+
def put_RasterizePixelWidth(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, value: Double) -> Void: ...
|
|
536
|
+
@winrt_mixinmethod
|
|
537
|
+
def get_RasterizePixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource) -> Double: ...
|
|
538
|
+
@winrt_mixinmethod
|
|
539
|
+
def put_RasterizePixelHeight(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, value: Double) -> Void: ...
|
|
540
|
+
@winrt_mixinmethod
|
|
541
|
+
def add_Opened(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource, win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceOpenedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
542
|
+
@winrt_mixinmethod
|
|
543
|
+
def remove_Opened(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
544
|
+
@winrt_mixinmethod
|
|
545
|
+
def add_OpenFailed(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSource, win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceFailedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
546
|
+
@winrt_mixinmethod
|
|
547
|
+
def remove_OpenFailed(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
548
|
+
@winrt_mixinmethod
|
|
549
|
+
def SetSourceAsync(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSource, streamSource: win32more.Windows.Storage.Streams.IRandomAccessStream) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceLoadStatus]: ...
|
|
550
|
+
@winrt_classmethod
|
|
551
|
+
def get_UriSourceProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
552
|
+
@winrt_classmethod
|
|
553
|
+
def get_RasterizePixelWidthProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
554
|
+
@winrt_classmethod
|
|
555
|
+
def get_RasterizePixelHeightProperty(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
|
|
556
|
+
RasterizePixelHeight = property(get_RasterizePixelHeight, put_RasterizePixelHeight)
|
|
557
|
+
RasterizePixelWidth = property(get_RasterizePixelWidth, put_RasterizePixelWidth)
|
|
558
|
+
UriSource = property(get_UriSource, put_UriSource)
|
|
559
|
+
_SvgImageSource_Meta_.RasterizePixelHeightProperty = property(get_RasterizePixelHeightProperty, None)
|
|
560
|
+
_SvgImageSource_Meta_.RasterizePixelWidthProperty = property(get_RasterizePixelWidthProperty, None)
|
|
561
|
+
_SvgImageSource_Meta_.UriSourceProperty = property(get_UriSourceProperty, None)
|
|
562
|
+
Opened = event()
|
|
563
|
+
OpenFailed = event()
|
|
564
|
+
class SvgImageSourceFailedEventArgs(ComPtr):
|
|
565
|
+
extends: IInspectable
|
|
566
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFailedEventArgs
|
|
567
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceFailedEventArgs'
|
|
568
|
+
@winrt_mixinmethod
|
|
569
|
+
def get_Status(self: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFailedEventArgs) -> win32more.Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceLoadStatus: ...
|
|
570
|
+
Status = property(get_Status, None)
|
|
571
|
+
class SvgImageSourceLoadStatus(Enum, Int32):
|
|
572
|
+
Success = 0
|
|
573
|
+
NetworkError = 1
|
|
574
|
+
InvalidFormat = 2
|
|
575
|
+
Other = 3
|
|
576
|
+
class SvgImageSourceOpenedEventArgs(ComPtr):
|
|
577
|
+
extends: IInspectable
|
|
578
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceOpenedEventArgs
|
|
579
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceOpenedEventArgs'
|
|
580
|
+
class VirtualSurfaceImageSource(ComPtr):
|
|
581
|
+
extends: win32more.Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource
|
|
582
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSource
|
|
583
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource'
|
|
584
|
+
def __init__(self, *args, **kwargs):
|
|
585
|
+
if kwargs:
|
|
586
|
+
super().__init__(**kwargs)
|
|
587
|
+
elif len(args) == 2:
|
|
588
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource.CreateInstanceWithDimensions(*args))
|
|
589
|
+
elif len(args) == 3:
|
|
590
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource.CreateInstanceWithDimensionsAndOpacity(*args))
|
|
591
|
+
else:
|
|
592
|
+
raise ValueError('no matched constructor')
|
|
593
|
+
@winrt_factorymethod
|
|
594
|
+
def CreateInstanceWithDimensions(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory, pixelWidth: Int32, pixelHeight: Int32) -> win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource: ...
|
|
595
|
+
@winrt_factorymethod
|
|
596
|
+
def CreateInstanceWithDimensionsAndOpacity(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory, pixelWidth: Int32, pixelHeight: Int32, isOpaque: Boolean) -> win32more.Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource: ...
|
|
597
|
+
class WriteableBitmap(ComPtr):
|
|
598
|
+
extends: win32more.Microsoft.UI.Xaml.Media.Imaging.BitmapSource
|
|
599
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmap
|
|
600
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap'
|
|
601
|
+
def __init__(self, *args, **kwargs):
|
|
602
|
+
if kwargs:
|
|
603
|
+
super().__init__(**kwargs)
|
|
604
|
+
elif len(args) == 2:
|
|
605
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap.CreateInstanceWithDimensions(*args))
|
|
606
|
+
else:
|
|
607
|
+
raise ValueError('no matched constructor')
|
|
608
|
+
@winrt_factorymethod
|
|
609
|
+
def CreateInstanceWithDimensions(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmapFactory, pixelWidth: Int32, pixelHeight: Int32) -> win32more.Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap: ...
|
|
610
|
+
@winrt_mixinmethod
|
|
611
|
+
def get_PixelBuffer(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmap) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
612
|
+
@winrt_mixinmethod
|
|
613
|
+
def Invalidate(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmap) -> Void: ...
|
|
614
|
+
PixelBuffer = property(get_PixelBuffer, None)
|
|
615
|
+
class XamlRenderingBackgroundTask(ComPtr):
|
|
616
|
+
extends: IInspectable
|
|
617
|
+
default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTask
|
|
618
|
+
_classid_ = 'Microsoft.UI.Xaml.Media.Imaging.XamlRenderingBackgroundTask'
|
|
619
|
+
def __init__(self, *args, **kwargs):
|
|
620
|
+
if kwargs:
|
|
621
|
+
super().__init__(**kwargs)
|
|
622
|
+
elif len(args) == 0:
|
|
623
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Media.Imaging.XamlRenderingBackgroundTask.CreateInstance(*args, None, None))
|
|
624
|
+
else:
|
|
625
|
+
raise ValueError('no matched constructor')
|
|
626
|
+
@winrt_factorymethod
|
|
627
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTaskFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Imaging.XamlRenderingBackgroundTask: ...
|
|
628
|
+
@winrt_mixinmethod
|
|
629
|
+
def OnRun(self: win32more.Microsoft.UI.Xaml.Media.Imaging.IXamlRenderingBackgroundTaskOverrides, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
make_ready(__name__)
|