include: Add recent DirectWrite API changes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
4bc6aad375
commit
cab673f8b3
1 changed files with 38 additions and 0 deletions
|
@ -473,6 +473,29 @@ interface IDWriteFontSet3 : IDWriteFontSet2
|
|||
HRESULT GetFontSourceName(UINT32 index, WCHAR *buffer, UINT32 buffer_size);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(eec175fc-bea9-4c86-8b53-ccbdd7df0c82)
|
||||
]
|
||||
interface IDWriteFontSet4 : IDWriteFontSet3
|
||||
{
|
||||
UINT32 ConvertWeightStretchStyleToFontAxisValues(
|
||||
DWRITE_FONT_AXIS_VALUE const *input_axis_values,
|
||||
UINT32 input_axis_count,
|
||||
DWRITE_FONT_WEIGHT weight,
|
||||
DWRITE_FONT_STRETCH stretch,
|
||||
DWRITE_FONT_STYLE style,
|
||||
float size,
|
||||
DWRITE_FONT_AXIS_VALUE *output_axis_values);
|
||||
HRESULT GetMatchingFonts(
|
||||
WCHAR const *family_name,
|
||||
DWRITE_FONT_AXIS_VALUE const *axis_values,
|
||||
UINT32 axis_value_count,
|
||||
DWRITE_FONT_SIMULATIONS allowed_simulations,
|
||||
IDWriteFontSet4 **fonts);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
|
@ -795,6 +818,21 @@ interface IDWriteFontFace5 : IDWriteFontFace4
|
|||
BOOL Equals(IDWriteFontFace *fontface);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(c4b1fe1b-6e84-47d5-b54c-a597981b06ad)
|
||||
]
|
||||
interface IDWriteFontFace6 : IDWriteFontFace5
|
||||
{
|
||||
HRESULT GetFamilyNames(
|
||||
DWRITE_FONT_FAMILY_MODEL font_family_model,
|
||||
IDWriteLocalizedStrings **names);
|
||||
HRESULT GetFaceNames(
|
||||
DWRITE_FONT_FAMILY_MODEL font_family_model,
|
||||
IDWriteLocalizedStrings **names);
|
||||
}
|
||||
|
||||
typedef struct DWRITE_COLOR_GLYPH_RUN1 DWRITE_COLOR_GLYPH_RUN1;
|
||||
|
||||
cpp_quote("struct DWRITE_COLOR_GLYPH_RUN1")
|
||||
|
|
Loading…
Add table
Reference in a new issue