mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 11:53:38 +00:00
d2d1: Add the ID2D1RoundedRectangleGeometry interface.
This commit is contained in:
parent
fc25510fad
commit
fa764fbf1f
|
@ -142,6 +142,13 @@ typedef struct D2D1_TRIANGLE
|
|||
D2D1_POINT_2F point3;
|
||||
} D2D1_TRIANGLE;
|
||||
|
||||
typedef struct D2D1_ROUNDED_RECT
|
||||
{
|
||||
D2D1_RECT_F rect;
|
||||
float radiusX;
|
||||
float radiusY;
|
||||
} D2D1_ROUNDED_RECT;
|
||||
|
||||
interface ID2D1Factory;
|
||||
|
||||
[
|
||||
|
@ -306,5 +313,17 @@ interface ID2D1RectangleGeometry : ID2D1Geometry
|
|||
);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(2cd906a3-12e2-11dc-9fed-001143a055f9)
|
||||
]
|
||||
interface ID2D1RoundedRectangleGeometry : ID2D1Geometry
|
||||
{
|
||||
void GetRoundedRect(
|
||||
[out] D2D1_ROUNDED_RECT *rect
|
||||
);
|
||||
}
|
||||
|
||||
[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