include: Some more definitions for dwrite_3.idl.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3bac3800b3
commit
169f8a53a9
|
@ -20,8 +20,8 @@ import "dwrite_2.idl";
|
|||
|
||||
interface IDWriteFontFaceReference;
|
||||
interface IDWriteFontFace3;
|
||||
interface IDWriteFont3;
|
||||
interface IDWriteFontSet;
|
||||
interface IDWriteFontDownloadQueue;
|
||||
|
||||
typedef enum DWRITE_LOCALITY
|
||||
{
|
||||
|
@ -42,6 +42,31 @@ typedef enum DWRITE_RENDERING_MODE1
|
|||
DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED
|
||||
} DWRITE_RENDERING_MODE1;
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(b06fe5b9-43ec-4393-881b-dbe4dc72fda7)
|
||||
]
|
||||
interface IDWriteFontDownloadListener : IUnknown
|
||||
{
|
||||
void DownloadCompleted(IDWriteFontDownloadQueue *queue, IUnknown *context, HRESULT result);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(b71e6052-5aea-4fa3-832e-f60d431f7e91)
|
||||
]
|
||||
interface IDWriteFontDownloadQueue : IUnknown
|
||||
{
|
||||
HRESULT AddListener(IDWriteFontDownloadListener *listener, UINT32 *token);
|
||||
HRESULT RemoveListener(UINT32 token);
|
||||
BOOL IsEmpty();
|
||||
HRESULT BeginDownload(IUnknown *context);
|
||||
HRESULT CancelDownload();
|
||||
UINT64 GetGenerationCount();
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
|
@ -52,6 +77,20 @@ interface IDWriteRenderingParams3 : IDWriteRenderingParams2
|
|||
DWRITE_RENDERING_MODE1 GetRenderingMode1();
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(29748ed6-8c9c-4a6a-be0b-d912e8538944)
|
||||
]
|
||||
interface IDWriteFont3 : IDWriteFont2
|
||||
{
|
||||
HRESULT CreateFontFace(IDWriteFontFace3 **fontface);
|
||||
BOOL Equals(IDWriteFont *font);
|
||||
HRESULT GetFontFaceReference(IDWriteFontFaceReference **reference);
|
||||
BOOL HasCharacter(UINT32 character);
|
||||
DWRITE_LOCALITY GetLocality();
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
|
|
Loading…
Reference in New Issue