include: Add ID2D1DeviceContext1 definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-03-31 22:34:49 +03:00 committed by Alexandre Julliard
parent 1c810a64b7
commit 583d2cbfb7
1 changed files with 34 additions and 2 deletions

View File

@ -18,8 +18,6 @@
import "d2d1_1.idl";
interface ID2D1DeviceContext1;
typedef enum D2D1_RENDERING_PRIORITY
{
D2D1_RENDERING_PRIORITY_NORMAL = 0,
@ -27,6 +25,40 @@ typedef enum D2D1_RENDERING_PRIORITY
D2D1_RENDERING_PRIORITY_FORCE_DWORD = 0xffffffff,
} D2D1_RENDERING_PRIORITY;
[
object,
uuid(a16907d7-bc02-4801-99e8-8cf7f485f774),
local,
]
interface ID2D1GeometryRealization : ID2D1Resource
{
}
[
object,
uuid(d37f57e4-6908-459f-a199-e72f24f79987),
local,
]
interface ID2D1DeviceContext1 : ID2D1DeviceContext
{
HRESULT CreateFilledGeometryRealization(
[in] ID2D1Geometry *geometry,
[in] float tolerance,
[out] ID2D1GeometryRealization **realization
);
HRESULT CreateStrokedGeometryRealization(
[in] ID2D1Geometry *geometry,
[in] float tolerance,
[in] float stroke_width,
[in] ID2D1StrokeStyle *stroke_style,
[out] ID2D1GeometryRealization **realization
);
void DrawGeometryRealization(
[in] ID2D1GeometryRealization *realization,
[in] ID2D1Brush *brush
);
}
[
object,
uuid(d21768e1-23a4-4823-a14b-7c3eba85d658),