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
d20be313
Commit
d20be313
authored
May 14, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
May 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Add the ID2D1DrawingStateBlock interface.
parent
a4b15c1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
1 deletion
+49
-1
d2d1.idl
include/d2d1.idl
+49
-1
No files found.
include/d2d1.idl
View file @
d20be313
...
...
@@ -19,10 +19,14 @@
import
"unknwn.idl"
;
import
"d2dbasetypes.h"
;
interface
ID2D1Factory
;
interface
IDWriteRenderingParams
;
typedef
D2D_POINT_2F
D2D1_POINT_2F
;
typedef
D2D_MATRIX_3X2_F
D2D1_MATRIX_3X2_F
;
typedef
D2D_RECT_F
D2D1_RECT_F
;
typedef
D2D_SIZE_F
D2D1_SIZE_F
;
typedef
UINT64
D2D1_TAG
;
typedef
enum
D2D1_DEBUG_LEVEL
{
...
...
@@ -138,6 +142,22 @@ typedef enum D2D1_ARC_SIZE
D2D1_ARC_SIZE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_ARC_SIZE
;
typedef
enum
D2D1_ANTIALIAS_MODE
{
D2D1_ANTIALIAS_MODE_PER_PRIMITIVE
=
0
,
D2D1_ANTIALIAS_MODE_ALIASED
=
1
,
D2D1_ANTIALIAS_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_ANTIALIAS_MODE
;
typedef
enum
D2D1_TEXT_ANTIALIAS_MODE
{
D2D1_TEXT_ANTIALIAS_MODE_DEFAULT
=
0
,
D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE
=
1
,
D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE
=
2
,
D2D1_TEXT_ANTIALIAS_MODE_ALIASED
=
3
,
D2D1_TEXT_ANTIALIAS_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_TEXT_ANTIALIAS_MODE
;
typedef
struct
D2D1_BEZIER_SEGMENT
{
D2D1_POINT_2F
point1
;
...
...
@@ -186,7 +206,14 @@ typedef struct D2D1_ARC_SEGMENT
D2D1_ARC_SIZE
arcSize
;
}
D2D1_ARC_SEGMENT
;
interface
ID2D1Factory
;
typedef
struct
D2D1_DRAWING_STATE_DESCRIPTION
{
D2D1_ANTIALIAS_MODE
antialiasMode
;
D2D1_TEXT_ANTIALIAS_MODE
textAntialiasMode
;
D2D1_TAG
tag1
;
D2D1_TAG
tag2
;
D2D1_MATRIX_3X2_F
transform
;
}
D2D1_DRAWING_STATE_DESCRIPTION
;
[
local
,
...
...
@@ -450,5 +477,26 @@ interface ID2D1PathGeometry : ID2D1Geometry
)
;
}
[
local
,
object
,
uuid
(
28506
e39
-
ebf6
-
46
a1
-
bb47
-
fd85565ab957
)
]
interface
ID2D1DrawingStateBlock
:
ID2D1Resource
{
void
GetDescription
(
[
out
]
D2D1_DRAWING_STATE_DESCRIPTION
*
desc
)
;
void
SetDescription
(
[
in
]
const
D2D1_DRAWING_STATE_DESCRIPTION
*
desc
)
;
void
SetTextRenderingParams
(
[
in
]
IDWriteRenderingParams
*
text_rendering_params
)
;
void
GetTextRenderingParams
(
[
out
]
IDWriteRenderingParams
**
text_rendering_params
)
;
}
[
local
]
HRESULT
__stdcall
D2D1CreateFactory
(
D2D1_FACTORY_TYPE
factory_type
,
REFIID
iid
,
const
D2D1_FACTORY_OPTIONS
*
factory_options
,
void
**
factory
)
;
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