mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 12:13:38 +00:00
d2d1: Add the ID2D1TessellationSink interface.
This commit is contained in:
parent
3a6b53feac
commit
7b6ee15bc2
|
@ -107,6 +107,13 @@ typedef struct D2D1_FACTORY_OPTIONS
|
|||
D2D1_DEBUG_LEVEL debugLevel;
|
||||
} D2D1_FACTORY_OPTIONS;
|
||||
|
||||
typedef struct D2D1_TRIANGLE
|
||||
{
|
||||
D2D1_POINT_2F point1;
|
||||
D2D1_POINT_2F point2;
|
||||
D2D1_POINT_2F point3;
|
||||
} D2D1_TRIANGLE;
|
||||
|
||||
interface ID2D1Factory;
|
||||
|
||||
[
|
||||
|
@ -158,5 +165,19 @@ interface ID2D1SimplifiedGeometrySink : IUnknown
|
|||
HRESULT Close();
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(2cd906c1-12e2-11dc-9fed-001143a055f9)
|
||||
]
|
||||
interface ID2D1TessellationSink : IUnknown
|
||||
{
|
||||
void AddTriangles(
|
||||
[in, size_is(count)] const D2D1_TRIANGLE *triangles,
|
||||
[in] UINT32 count
|
||||
);
|
||||
HRESULT Close();
|
||||
}
|
||||
|
||||
[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
|
||||
const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
|
||||
|
|
Loading…
Reference in a new issue