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
f2e6fc69
Commit
f2e6fc69
authored
Mar 11, 2024
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ID2D1DeviceContext6 definition.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
94f5cd1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
2 deletions
+112
-2
d2d1_3.idl
include/d2d1_3.idl
+81
-2
d2d1effects.idl
include/d2d1effects.idl
+31
-0
No files found.
include/d2d1_3.idl
View file @
f2e6fc69
...
...
@@ -85,6 +85,22 @@ typedef enum D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_FORCE_DWORD
=
0
xffffffff
}
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
;
typedef
enum
D2D1_GAMMA1
{
D2D1_GAMMA1_G22
=
D2D1_GAMMA_2_2
,
D2D1_GAMMA1_G10
=
D2D1_GAMMA_1_0
,
D2D1_GAMMA1_G2084
=
2
,
D2D1_GAMMA1_FORCE_DWORD
=
0
xffffffff
}
D2D1_GAMMA1
;
typedef
enum
D2D1_COLOR_CONTEXT_TYPE
{
D2D1_COLOR_CONTEXT_TYPE_ICC
=
0
x0
,
D2D1_COLOR_CONTEXT_TYPE_SIMPLE
=
0
x1
,
D2D1_COLOR_CONTEXT_TYPE_DXGI
=
0
x2
,
D2D1_COLOR_CONTEXT_TYPE_FORCE_DWORD
=
0
xffffffff
}
D2D1_COLOR_CONTEXT_TYPE
;
typedef
struct
D2D1_INK_POINT
{
float
x
;
...
...
@@ -142,6 +158,15 @@ typedef struct D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES
D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS
options
;
}
D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES
;
typedef
struct
D2D1_SIMPLE_COLOR_PROFILE
{
D2D1_POINT_2F
redPrimary
;
D2D1_POINT_2F
greenPrimary
;
D2D1_POINT_2F
bluePrimary
;
D2D1_POINT_2F
whitePointXZ
;
D2D1_GAMMA1
gamma
;
}
D2D1_SIMPLE_COLOR_PROFILE
;
[
object
,
uuid
(
bae8b344
-
23
fc
-
4071
-
8
cb5
-
d05d6f073848
),
...
...
@@ -505,8 +530,62 @@ interface ID2D1DeviceContext4 : ID2D1DeviceContext3
)
;
}
interface
ID2D1DeviceContext5
;
interface
ID2D1DeviceContext6
;
interface
ID2D1SvgDocument
;
[
object
,
uuid
(
1
ab42875
-
c57f
-
4b
e9
-
bd85
-
9
cd78d6f55ee
),
local
,
]
interface
ID2D1ColorContext1
:
ID2D1ColorContext
{
D2D1_COLOR_CONTEXT_TYPE
GetColorContextType
(
void
)
;
DXGI_COLOR_SPACE_TYPE
GetDXGIColorSpace
(
void
)
;
HRESULT
GetSimpleColorProfile
(
[
out
]
D2D1_SIMPLE_COLOR_PROFILE
*
simple_profile
)
;
}
[
object
,
uuid
(
7836
d248
-
68
cc
-
4
df6
-
b9e8
-
de991bf62eb7
),
local
,
]
interface
ID2D1DeviceContext5
:
ID2D1DeviceContext4
{
HRESULT
CreateSvgDocument
(
[
in
]
IStream
*
input_xml_stream
,
[
in
]
D2D1_SIZE_F
viewport_size
,
[
out
]
ID2D1SvgDocument
**
svg_document
)
;
void
DrawSvgDocument
(
[
in
]
ID2D1SvgDocument
*
svg_document
)
;
HRESULT
CreateColorContextFromDxgiColorSpace
(
[
in
]
DXGI_COLOR_SPACE_TYPE
color_space
,
[
out
]
ID2D1ColorContext1
**
color_context
)
;
HRESULT
CreateColorContextFromSimpleColorProfile
(
[
in
]
const
D2D1_SIMPLE_COLOR_PROFILE
*
simple_profile
,
[
out
]
ID2D1ColorContext1
**
color_context
)
;
}
[
object
,
uuid
(
985
f7e37
-
4
ed0
-
4
a19
-
98
a3
-
15b0
edfde306
),
local
,
]
interface
ID2D1DeviceContext6
:
ID2D1DeviceContext5
{
void
BlendImage
(
[
in
]
ID2D1Image
*
image
,
[
in
]
D2D1_BLEND_MODE
blend_mode
,
[
in
]
const
D2D1_POINT_2F
*
target_offset
,
[
in
]
const
D2D1_RECT_F
*
image_rect
,
[
in
]
D2D1_INTERPOLATION_MODE
interpolation_mode
)
;
}
[
object
,
...
...
include/d2d1effects.idl
View file @
f2e6fc69
...
...
@@ -120,3 +120,34 @@ typedef enum D2D1_CROP_PROP
D2D1_CROP_PROP_BORDER_MODE
=
0
x1
,
D2D1_CROP_PROP_FORCE_DWORD
=
0
xffffffff
}
D2D1_CROP_PROP
;
typedef
enum
D2D1_BLEND_MODE
{
D2D1_BLEND_MODE_MULTIPLY
=
0
x0
,
D2D1_BLEND_MODE_SCREEN
=
0
x1
,
D2D1_BLEND_MODE_DARKEN
=
0
x2
,
D2D1_BLEND_MODE_LIGHTEN
=
0
x3
,
D2D1_BLEND_MODE_DISSOLVE
=
0
x4
,
D2D1_BLEND_MODE_COLOR_BURN
=
0
x5
,
D2D1_BLEND_MODE_LINEAR_BURN
=
0
x6
,
D2D1_BLEND_MODE_DARKER_COLOR
=
0
x7
,
D2D1_BLEND_MODE_LIGHTER_COLOR
=
0
x8
,
D2D1_BLEND_MODE_COLOR_DODGE
=
0
x9
,
D2D1_BLEND_MODE_LINEAR_DODGE
=
0
xa
,
D2D1_BLEND_MODE_OVERLAY
=
0
xb
,
D2D1_BLEND_MODE_SOFT_LIGHT
=
0
xc
,
D2D1_BLEND_MODE_HARD_LIGHT
=
0
xd
,
D2D1_BLEND_MODE_VIVID_LIGHT
=
0
xe
,
D2D1_BLEND_MODE_LINEAR_LIGHT
=
0
xf
,
D2D1_BLEND_MODE_PIN_LIGHT
=
0
x10
,
D2D1_BLEND_MODE_HARD_MIX
=
0
x11
,
D2D1_BLEND_MODE_DIFFERENCE
=
0
x12
,
D2D1_BLEND_MODE_EXCLUSION
=
0
x13
,
D2D1_BLEND_MODE_HUE
=
0
x14
,
D2D1_BLEND_MODE_SATURATION
=
0
x15
,
D2D1_BLEND_MODE_COLOR
=
0
x16
,
D2D1_BLEND_MODE_LUMINOSITY
=
0
x17
,
D2D1_BLEND_MODE_SUBTRACT
=
0
x18
,
D2D1_BLEND_MODE_DIVISION
=
0
x19
,
D2D1_BLEND_MODE_FORCE_DWORD
=
0
xffffffff
}
D2D1_BLEND_MODE
;
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