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
136549dd
Commit
136549dd
authored
Dec 23, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added ID2D1SimplifiedGeometrySink definition.
parent
e54503f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
99 additions
and
0 deletions
+99
-0
Makefile.in
include/Makefile.in
+2
-0
d2d1.idl
include/d2d1.idl
+74
-0
d2dbasetypes.h
include/d2dbasetypes.h
+23
-0
No files found.
include/Makefile.in
View file @
136549dd
...
@@ -23,6 +23,7 @@ PUBLIC_IDL_H_SRCS = \
...
@@ -23,6 +23,7 @@ PUBLIC_IDL_H_SRCS = \
cordebug.idl
\
cordebug.idl
\
ctfutb.idl
\
ctfutb.idl
\
ctxtcall.idl
\
ctxtcall.idl
\
d2d1.idl
\
d3d10.idl
\
d3d10.idl
\
d3d10_1.idl
\
d3d10_1.idl
\
d3d11.idl
\
d3d11.idl
\
...
@@ -187,6 +188,7 @@ SRCDIR_INCLUDES = \
...
@@ -187,6 +188,7 @@ SRCDIR_INCLUDES = \
cryptuiapi.h
\
cryptuiapi.h
\
custcntl.h
\
custcntl.h
\
cvconst.h
\
cvconst.h
\
d2dbasetypes.h
\
d3d.h
\
d3d.h
\
d3d10_1shader.h
\
d3d10_1shader.h
\
d3d10effect.h
\
d3d10effect.h
\
...
...
include/d2d1.idl
0 → 100644
View file @
136549dd
/*
*
Copyright
2013
Nikolay
Sivov
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"unknwn.idl"
;
import
"d2dbasetypes.h"
;
typedef
D2D_POINT_2F
D2D1_POINT_2F
;
typedef
enum
D2D1_FILL_MODE
{
D2D1_FILL_MODE_ALTERNATE
=
0
,
D2D1_FILL_MODE_WINDING
=
1
,
D2D1_FILL_MODE_FORCE_DWORD
=
0
xffffffff
}
D2D1_FILL_MODE
;
typedef
enum
D2D1_PATH_SEGMENT
{
D2D1_PATH_SEGMENT_NONE
=
0
,
D2D1_PATH_SEGMENT_FORCE_UNSTROKED
=
1
,
D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN
=
2
,
D2D1_PATH_SEGMENT_FORCE_DWORD
=
0
xffffffff
}
D2D1_PATH_SEGMENT
;
typedef
enum
D2D1_FIGURE_BEGIN
{
D2D1_FIGURE_BEGIN_FILLED
=
0
,
D2D1_FIGURE_BEGIN_HOLLOW
=
1
,
D2D1_FIGURE_BEGIN_FORCE_DWORD
=
0
xffffffff
}
D2D1_FIGURE_BEGIN
;
typedef
struct
D2D1_BEZIER_SEGMENT
{
D2D1_POINT_2F
point1
;
D2D1_POINT_2F
point2
;
D2D1_POINT_2F
point3
;
}
D2D1_BEZIER_SEGMENT
;
typedef
enum
D2D1_FIGURE_END
{
D2D1_FIGURE_END_OPEN
=
0
,
D2D1_FIGURE_END_CLOSED
=
1
,
D2D1_FIGURE_END_FORCE_DWORD
=
0
xffffffff
}
D2D1_FIGURE_END
;
[
local
,
object
,
uuid
(
2
cd9069e
-
12
e2
-
11
dc
-
9
fed
-
001143
a055f9
)
]
interface
ID2D1SimplifiedGeometrySink
:
IUnknown
{
void
SetFillMode
(
D2D1_FILL_MODE
mode
)
;
void
SetSegmentFlags
(
D2D1_PATH_SEGMENT
vertexFlags
)
;
void
BeginFigure
(
D2D1_POINT_2F
startPoint
,
D2D1_FIGURE_BEGIN
figureBegin
)
;
void
AddLines
(
const
D2D1_POINT_2F
*
points
,
UINT32
count
)
;
void
AddBeziers
(
const
D2D1_BEZIER_SEGMENT
*
beziers
,
UINT32
count
)
;
void
EndFigure
(
D2D1_FIGURE_END
figureEnd
)
;
HRESULT
Close
()
;
}
include/d2dbasetypes.h
0 → 100644
View file @
136549dd
/*
* Copyright 2013 Nikolay Sivov for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
typedef
struct
D2D_POINT_2F
{
FLOAT
x
;
FLOAT
y
;
}
D2D_POINT_2F
;
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