Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7ba9a384
Commit
7ba9a384
authored
Apr 03, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Apr 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add Windows.UI.Composition.CompositionSurfaceBrush definition.
Needed for mingw Firefox build.
parent
9129c338
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
windows.ui.composition.idl
include/windows.ui.composition.idl
+74
-0
No files found.
include/windows.ui.composition.idl
View file @
7ba9a384
...
...
@@ -34,16 +34,23 @@ import "windows.ui.idl";
import
"windows.ui.core.idl"
;
namespace
Windows
.
UI.Composition
{
typedef
enum
CompositionBitmapInterpolationMode
CompositionBitmapInterpolationMode
;
typedef
enum
CompositionStretch
CompositionStretch
;
interface
ICompositionBrush
;
interface
ICompositionBrushFactory
;
interface
ICompositionEasingFunction
;
interface
ICompositionEasingFunctionFactory
;
interface
ICompositionEasingFunctionStatics
;
interface
ICompositionSurface
;
interface
ICompositionSurfaceBrush
;
interface
ICompositionSurfaceBrush2
;
interface
ICompositionSurfaceBrush3
;
runtimeclass
CompositionBrush
;
runtimeclass
CompositionEasingFunction
;
runtimeclass
CompositionObject
;
runtimeclass
CompositionSurfaceBrush
;
declare
{
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.UI.Composition.ICompositionSurface
*
>
;
...
...
@@ -51,6 +58,42 @@ namespace Windows.UI.Composition {
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
enum
CompositionBitmapInterpolationMode
{
NearestNeighbor
=
0
,
Linear
=
1
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagLinearMinLinearMipLinear
=
2
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagLinearMinLinearMipNearest
=
3
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagLinearMinNearestMipLinear
=
4
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagLinearMinNearestMipNearest
=
5
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagNearestMinLinearMipLinear
=
6
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagNearestMinLinearMipNearest
=
7
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagNearestMinNearestMipLinear
=
8
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
MagNearestMinNearestMipNearest
=
9
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
enum
CompositionStretch
{
None
=
0
,
Fill
=
1
,
Uniform
=
2
,
UniformToFill
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
exclusiveto
(
Windows
.
UI.Composition.CompositionBrush)
,
uuid
(
ab0d7608
-
30
c0
-
40
e9
-
b568
-
b60a6bd1fb46
)
...
...
@@ -95,6 +138,25 @@ namespace Windows.UI.Composition {
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
exclusiveto
(
Windows
.
UI.Composition.CompositionSurfaceBrush)
,
uuid
(
ad016d79
-
1
e4c
-
4
c0d
-
9
c29
-
83338
c87c162
)
]
interface
ICompositionSurfaceBrush
:
IInspectable
{
[
propget
]
HRESULT
BitmapInterpolationMode
(
[
out
,
retval
]
Windows
.
UI.Composition.CompositionBitmapInterpolationMode
*
value
)
;
[
propput
]
HRESULT
BitmapInterpolationMode
(
[
in
]
Windows
.
UI.Composition.CompositionBitmapInterpolationMode
value
)
;
[
propget
]
HRESULT
HorizontalAlignmentRatio
(
[
out
,
retval
]
FLOAT
*
value
)
;
[
propput
]
HRESULT
HorizontalAlignmentRatio
(
[
in
]
FLOAT
value
)
;
[
propget
]
HRESULT
Stretch
(
[
out
,
retval
]
Windows
.
UI.Composition.CompositionStretch
*
value
)
;
[
propput
]
HRESULT
Stretch
(
[
in
]
Windows
.
UI.Composition.CompositionStretch
value
)
;
[
propget
]
HRESULT
Surface
(
[
out
,
retval
]
Windows
.
UI.Composition.ICompositionSurface
**
value
)
;
[
propput
]
HRESULT
Surface
(
[
in
]
Windows
.
UI.Composition.ICompositionSurface
*
value
)
;
[
propget
]
HRESULT
VerticalAlignmentRatio
(
[
out
,
retval
]
FLOAT
*
value
)
;
[
propput
]
HRESULT
VerticalAlignmentRatio
(
[
in
]
FLOAT
value
)
;
}
[
composable
(
Windows
.
UI.Composition.ICompositionBrushFactory
,
public
,
Windows
.
Foundation.UniversalApiContract
,
2.0
),
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
marshaling_behavior
(
agile
),
...
...
@@ -116,4 +178,16 @@ namespace Windows.UI.Composition {
{
[
default
]
interface
Windows
.
UI.Composition.ICompositionEasingFunction;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
CompositionSurfaceBrush
:
Windows
.
UI.Composition.CompositionBrush
{
[
default
]
interface
Windows
.
UI.Composition.ICompositionSurfaceBrush;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
3.0
)
]
interface
Windows
.
UI.Composition.ICompositionSurfaceBrush2;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
interface
Windows
.
UI.Composition.ICompositionSurfaceBrush3;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment