Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
bb83067b
Commit
bb83067b
authored
Aug 03, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add newer D2D command sink interface definitions.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
d493fab3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
0 deletions
+74
-0
d2d1_2.idl
include/d2d1_2.idl
+12
-0
d2d1_3.idl
include/d2d1_3.idl
+62
-0
No files found.
include/d2d1_2.idl
View file @
bb83067b
...
...
@@ -89,3 +89,15 @@ interface ID2D1Factory2 : ID2D1Factory1
[
out
]
ID2D1Device1
**
device
)
;
}
[
object
,
uuid
(
9
eb767fd
-
4269
-
4467
-
b8c2
-
eb30cb305743
),
local
,
]
interface
ID2D1CommandSink1
:
ID2D1CommandSink
{
HRESULT
SetPrimitiveBlend1
(
[
in
]
D2D1_PRIMITIVE_BLEND
primitive_blend
)
;
}
include/d2d1_3.idl
View file @
bb83067b
...
...
@@ -19,6 +19,8 @@
import
"d2d1_2.idl"
;
import
"d2d1effects_2.idl"
;
interface
ID2D1SpriteBatch
;
typedef
enum
D2D1_INK_NIB_SHAPE
{
D2D1_INK_NIB_SHAPE_ROUND
=
0
x0
,
...
...
@@ -69,6 +71,13 @@ typedef enum D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS
D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_FORCE_DWORD
=
0
xffffffff
}
D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS
;
typedef
enum
D2D1_SPRITE_OPTIONS
{
D2D1_SPRITE_OPTIONS_NONE
=
0
x0
,
D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE
=
0
x1
,
D2D1_SPRITE_OPTIONS_FORCE_DWORD
=
0
xffffffff
}
D2D1_SPRITE_OPTIONS
;
typedef
struct
D2D1_INK_POINT
{
float
x
;
...
...
@@ -356,3 +365,56 @@ interface ID2D1Factory3 : ID2D1Factory2
[
out
]
ID2D1Device2
**
d2d_device
)
;
}
[
object
,
uuid
(
3b
ab440e
-417e-47
df
-
a2e2
-
bc0be6a00916
),
local
,
]
interface
ID2D1CommandSink2
:
ID2D1CommandSink1
{
HRESULT
DrawInk
(
[
in
]
ID2D1Ink
*
ink
,
[
in
]
ID2D1Brush
*
brush
,
[
in
]
ID2D1InkStyle
*
ink_style
)
;
HRESULT
DrawGradientMesh
(
[
in
]
ID2D1GradientMesh
*
gradient_mesh
)
;
HRESULT
DrawGdiMetafile
(
[
in
]
ID2D1GdiMetafile
*
gdi_metafile
,
[
in
]
const
D2D1_RECT_F
*
dest_rect
,
[
in
]
const
D2D1_RECT_F
*
src_rect
)
;
}
[
object
,
uuid
(
18079135
-
4
cf3
-
4868
-
bc8e
-
06067
e6d242d
),
local
,
]
interface
ID2D1CommandSink3
:
ID2D1CommandSink2
{
HRESULT
DrawSpriteBatch
(
[
in
]
ID2D1SpriteBatch
*
sprite_batch
,
[
in
]
UINT32
start_index
,
[
in
]
UINT32
sprite_count
,
[
in
]
ID2D1Bitmap
*
bitmap
,
[
in
]
D2D1_BITMAP_INTERPOLATION_MODE
interpolation_mode
,
[
in
]
D2D1_SPRITE_OPTIONS
sprite_options
)
;
}
[
object
,
uuid
(
c78a6519
-
40
d6
-
4218
-
b2de
-
beeeb744bb3e
),
local
,
]
interface
ID2D1CommandSink4
:
ID2D1CommandSink3
{
HRESULT
SetPrimitiveBlend2
(
[
in
]
D2D1_PRIMITIVE_BLEND
primitive_blend
)
;
}
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