include: Added IDWriteFactory3 method definitions.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-03-07 21:43:58 +03:00 committed by Alexandre Julliard
parent 0771244873
commit 39958094b9
1 changed files with 47 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import "dwrite_2.idl";
interface IDWriteFontFaceReference;
interface IDWriteFontFace3;
interface IDWriteFontSet;
interface IDWriteFontSetBuilder;
interface IDWriteFontDownloadQueue;
typedef enum DWRITE_LOCALITY
@ -260,4 +261,50 @@ interface IDWriteTextLayout3 : IDWriteTextLayout2
]
interface IDWriteFactory3 : IDWriteFactory2
{
HRESULT CreateGlyphRunAnalysis(
DWRITE_GLYPH_RUN const *run,
DWRITE_MATRIX const *transform,
DWRITE_RENDERING_MODE1 rendering_mode,
DWRITE_MEASURING_MODE measuring_mode,
DWRITE_GRID_FIT_MODE gridfit_mode,
DWRITE_TEXT_ANTIALIAS_MODE antialias_mode,
FLOAT origin_x,
FLOAT origin_y,
IDWriteGlyphRunAnalysis **analysis);
HRESULT CreateCustomRenderingParams(
FLOAT gamma,
FLOAT enhanced_contrast,
FLOAT grayscale_enhanced_contrast,
FLOAT cleartype_level,
DWRITE_PIXEL_GEOMETRY pixel_geometry,
DWRITE_RENDERING_MODE1 rendering_mode,
DWRITE_GRID_FIT_MODE gridfit_mode,
IDWriteRenderingParams3 **params);
HRESULT CreateFontFaceReference(
WCHAR const *path,
FILETIME const *writetime,
UINT32 index,
DWRITE_FONT_SIMULATIONS simulations,
IDWriteFontFaceReference **reference);
HRESULT CreateFontFaceReference_(
IDWriteFontFile *file,
UINT32 index,
DWRITE_FONT_SIMULATIONS simulations,
IDWriteFontFaceReference **reference);
HRESULT GetSystemFontSet(IDWriteFontSet **fontset);
HRESULT CreateFontSetBuilder(IDWriteFontSetBuilder **builder);
HRESULT CreateFontCollectionFromFontSet(
IDWriteFontSet *fontset,
IDWriteFontCollection1 **collection);
HRESULT GetSystemFontCollection(
BOOL include_downloadable,
IDWriteFontCollection1 **collection,
BOOL check_for_updates);
HRESULT GetFontDownloadQueue(IDWriteFontDownloadQueue **queue);
}