winemac.drv: Don't filter non active displays out.
[wine/zf.git] / include / d2d1_2.idl
blob39e285dc2215cd694146cd2a6b814050e1d55a4b
1 /*
2 * Copyright 2018 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "d2d1_1.idl";
21 typedef enum D2D1_RENDERING_PRIORITY
23 D2D1_RENDERING_PRIORITY_NORMAL = 0,
24 D2D1_RENDERING_PRIORITY_LOW = 1,
25 D2D1_RENDERING_PRIORITY_FORCE_DWORD = 0xffffffff,
26 } D2D1_RENDERING_PRIORITY;
29 object,
30 uuid(a16907d7-bc02-4801-99e8-8cf7f485f774),
31 local,
33 interface ID2D1GeometryRealization : ID2D1Resource
38 object,
39 uuid(d37f57e4-6908-459f-a199-e72f24f79987),
40 local,
42 interface ID2D1DeviceContext1 : ID2D1DeviceContext
44 HRESULT CreateFilledGeometryRealization(
45 [in] ID2D1Geometry *geometry,
46 [in] float tolerance,
47 [out] ID2D1GeometryRealization **realization
49 HRESULT CreateStrokedGeometryRealization(
50 [in] ID2D1Geometry *geometry,
51 [in] float tolerance,
52 [in] float stroke_width,
53 [in] ID2D1StrokeStyle *stroke_style,
54 [out] ID2D1GeometryRealization **realization
56 void DrawGeometryRealization(
57 [in] ID2D1GeometryRealization *realization,
58 [in] ID2D1Brush *brush
63 object,
64 uuid(d21768e1-23a4-4823-a14b-7c3eba85d658),
65 local,
67 interface ID2D1Device1 : ID2D1Device
69 D2D1_RENDERING_PRIORITY GetRenderingPriority();
70 void SetRenderingPriority(
71 [in] D2D1_RENDERING_PRIORITY priority
73 HRESULT CreateDeviceContext(
74 [in] D2D1_DEVICE_CONTEXT_OPTIONS options,
75 [out] ID2D1DeviceContext1 **device_context
80 object,
81 uuid(94f81a73-9212-4376-9c58-b16a3a0d3992),
82 local,
84 interface ID2D1Factory2 : ID2D1Factory1
86 HRESULT CreateDevice(
87 [in] IDXGIDevice *dxgi_device,
88 [out] ID2D1Device1 **device