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
29237d83
Commit
29237d83
authored
May 13, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
May 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Add the ID2D1GeometrySink interface.
parent
fb763bf3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
d2d1.idl
include/d2d1.idl
+55
-0
d2dbasetypes.h
include/d2dbasetypes.h
+6
-0
No files found.
include/d2d1.idl
View file @
29237d83
...
...
@@ -22,6 +22,7 @@ import "d2dbasetypes.h";
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
enum
D2D1_DEBUG_LEVEL
{
...
...
@@ -123,6 +124,20 @@ typedef enum D2D1_COMBINE_MODE
D2D1_COMBINE_MODE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_COMBINE_MODE
;
typedef
enum
D2D1_SWEEP_DIRECTION
{
D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE
=
0
,
D2D1_SWEEP_DIRECTION_CLOCKWISE
=
1
,
D2D1_SWEEP_DIRECTION_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_SWEEP_DIRECTION
;
typedef
enum
D2D1_ARC_SIZE
{
D2D1_ARC_SIZE_SMALL
=
0
,
D2D1_ARC_SIZE_LARGE
=
1
,
D2D1_ARC_SIZE_FORCE_DWORD
=
0
xffffffff
,
}
D2D1_ARC_SIZE
;
typedef
struct
D2D1_BEZIER_SEGMENT
{
D2D1_POINT_2F
point1
;
...
...
@@ -156,6 +171,21 @@ typedef struct D2D1_ELLIPSE
float
radiusY
;
}
D2D1_ELLIPSE
;
typedef
struct
D2D1_QUADRATIC_BEZIER_SEGMENT
{
D2D1_POINT_2F
point1
;
D2D1_POINT_2F
point2
;
}
D2D1_QUADRATIC_BEZIER_SEGMENT
;
typedef
struct
D2D1_ARC_SEGMENT
{
D2D1_POINT_2F
point
;
D2D1_SIZE_F
size
;
float
rotationAngle
;
D2D1_SWEEP_DIRECTION
sweepDirection
;
D2D1_ARC_SIZE
arcSize
;
}
D2D1_ARC_SEGMENT
;
interface
ID2D1Factory
;
[
...
...
@@ -374,5 +404,30 @@ interface ID2D1TransformedGeometry : ID2D1Geometry
)
;
}
[
local
,
object
,
uuid
(
2
cd9069f
-
12
e2
-
11
dc
-
9
fed
-
001143
a055f9
)
]
interface
ID2D1GeometrySink
:
ID2D1SimplifiedGeometrySink
{
void
AddLine
(
[
in
]
D2D1_POINT_2F
point
)
;
void
AddBezier
(
[
in
]
const
D2D1_BEZIER_SEGMENT
*
bezier
)
;
void
AddQuadraticBezier
(
[
in
]
const
D2D1_QUADRATIC_BEZIER_SEGMENT
*
bezier
)
;
void
AddQuadraticBeziers
(
[
in
,
size_is
(
bezier_count
)
]
const
D2D1_QUADRATIC_BEZIER_SEGMENT
*
beziers
,
[
in
]
UINT32
bezier_count
)
;
void
AddArc
(
[
in
]
const
D2D1_ARC_SEGMENT
*
arc
)
;
}
[
local
]
HRESULT
__stdcall
D2D1CreateFactory
(
D2D1_FACTORY_TYPE
factory_type
,
REFIID
iid
,
const
D2D1_FACTORY_OPTIONS
*
factory_options
,
void
**
factory
)
;
include/d2dbasetypes.h
View file @
29237d83
...
...
@@ -39,3 +39,9 @@ typedef struct D2D_RECT_F
float
right
;
float
bottom
;
}
D2D_RECT_F
;
typedef
struct
D2D_SIZE_F
{
float
width
;
float
height
;
}
D2D_SIZE_F
;
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