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
d156bf03
Commit
d156bf03
authored
May 15, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
May 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Add the ID2D1BitmapBrush interface.
parent
71a27809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
d2d1.idl
include/d2d1.idl
+54
-0
No files found.
include/d2d1.idl
View file @
d156bf03
...
...
@@ -33,6 +33,18 @@ typedef D2D_SIZE_U D2D1_SIZE_U;
typedef
D2D_POINT_2U
D2D1_POINT_2U
;
typedef
D2D_RECT_U
D2D1_RECT_U
;
enum
{
D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR
=
0
,
D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR
=
1
,
D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC
=
2
,
D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR
=
3
,
D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC
=
4
,
D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC
=
5
,
D2D1_INTERPOLATION_MODE_DEFINITION_FANT
=
6
,
D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR
=
7
,
}
;
typedef
enum
D2D1_DEBUG_LEVEL
{
D2D1_DEBUG_LEVEL_NONE
=
0
,
...
...
@@ -163,6 +175,21 @@ typedef enum D2D1_TEXT_ANTIALIAS_MODE
D2D1_TEXT_ANTIALIAS_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_TEXT_ANTIALIAS_MODE
;
typedef
enum
D2D1_EXTEND_MODE
{
D2D1_EXTEND_MODE_CLAMP
=
0
,
D2D1_EXTEND_MODE_WRAP
=
1
,
D2D1_EXTEND_MODE_MIRROR
=
2
,
D2D1_EXTEND_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_EXTEND_MODE
;
typedef
enum
D2D1_BITMAP_INTERPOLATION_MODE
{
D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR
=
D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR
,
D2D1_BITMAP_INTERPOLATION_MODE_LINEAR
=
D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR
,
D2D1_BITMAP_INTERPOLATION_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_BITMAP_INTERPOLATION_MODE
;
typedef
struct
D2D1_BEZIER_SEGMENT
{
D2D1_POINT_2F
point1
;
...
...
@@ -562,5 +589,32 @@ interface ID2D1Brush : ID2D1Resource
)
;
}
[
local
,
object
,
uuid
(
2
cd906aa
-
12
e2
-
11
dc
-
9
fed
-
001143
a055f9
)
]
interface
ID2D1BitmapBrush
:
ID2D1Brush
{
void
SetExtendModeX
(
[
in
]
D2D1_EXTEND_MODE
mode
)
;
void
SetExtendModeY
(
[
in
]
D2D1_EXTEND_MODE
mode
)
;
void
SetInterpolationMode
(
[
in
]
D2D1_BITMAP_INTERPOLATION_MODE
mode
)
;
void
SetBitmap
(
[
in
]
ID2D1Bitmap
*
bitmap
)
;
D2D1_EXTEND_MODE
GetExtendModeX
()
;
D2D1_EXTEND_MODE
GetExtendModeY
()
;
D2D1_BITMAP_INTERPOLATION_MODE
GetInterpolationMode
()
;
void
GetBitmap
(
[
out
]
ID2D1Bitmap
**
bitmap
)
;
}
[
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