Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9fc89163
Commit
9fc89163
authored
May 06, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added IDWriteFontSet definition.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c5259f72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
13 deletions
+61
-13
dwrite_3.idl
include/dwrite_3.idl
+61
-13
No files found.
include/dwrite_3.idl
View file @
9fc89163
...
...
@@ -48,6 +48,30 @@ typedef enum DWRITE_RENDERING_MODE1
DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED
}
DWRITE_RENDERING_MODE1
;
typedef
enum
DWRITE_FONT_PROPERTY_ID
{
DWRITE_FONT_PROPERTY_ID_NONE
,
DWRITE_FONT_PROPERTY_ID_FAMILY_NAME
,
DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME
,
DWRITE_FONT_PROPERTY_ID_FACE_NAME
,
DWRITE_FONT_PROPERTY_ID_FULL_NAME
,
DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME
,
DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME
,
DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG
,
DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG
,
DWRITE_FONT_PROPERTY_ID_WEIGHT
,
DWRITE_FONT_PROPERTY_ID_STRETCH
,
DWRITE_FONT_PROPERTY_ID_STYLE
,
DWRITE_FONT_PROPERTY_ID_TOTAL
}
DWRITE_FONT_PROPERTY_ID
;
typedef
struct
DWRITE_FONT_PROPERTY
{
DWRITE_FONT_PROPERTY_ID
propertyId
;
WCHAR
const
*
propertyValue
;
WCHAR
const
*
localeName
;
}
DWRITE_FONT_PROPERTY
;
[
local
,
object
,
...
...
@@ -86,6 +110,43 @@ interface IDWriteRenderingParams3 : IDWriteRenderingParams2
[
local
,
object
,
uuid
(
cfee3140
-
1257
-
47
ca
-
8b85
-
31b
fcf3f2d0e
)
]
interface
IDWriteStringList
:
IUnknown
{
UINT32
GetCount
()
;
HRESULT
GetLocaleNameLength
(
UINT32
index
,
UINT32
*
length
)
;
HRESULT
GetLocaleName
(
UINT32
index
,
WCHAR
*
name
,
UINT32
size
)
;
HRESULT
GetStringLength
(
UINT32
index
,
UINT32
*
length
)
;
HRESULT
GetString
(
UINT32
index
,
WCHAR
*
string
,
UINT32
size
)
;
}
[
local
,
object
,
uuid
(
53585141
-
d9f8
-
4095
-
8321
-
d73cf6bd116b
)
]
interface
IDWriteFontSet
:
IUnknown
{
UINT32
GetFontCount
()
;
HRESULT
GetFontFaceReference
(
UINT32
index
,
IDWriteFontFaceReference
**
reference
)
;
HRESULT
FindFontFaceReference
(
IDWriteFontFaceReference
*
reference
,
UINT32
*
index
,
BOOL
*
exists
)
;
HRESULT
FindFontFace
(
IDWriteFontFace
*
fontface
,
UINT32
*
index
,
BOOL
*
exists
)
;
HRESULT
GetPropertyValues__
(
DWRITE_FONT_PROPERTY_ID
id
,
IDWriteStringList
**
values
)
;
HRESULT
GetPropertyValues_
(
DWRITE_FONT_PROPERTY_ID
id
,
WCHAR
const
*
preferred_locales
,
IDWriteStringList
**
values
)
;
HRESULT
GetPropertyValues
(
UINT32
index
,
DWRITE_FONT_PROPERTY_ID
id
,
BOOL
*
exists
,
IDWriteLocalizedStrings
**
values
)
;
HRESULT
GetPropertyOccurenceCount
(
DWRITE_FONT_PROPERTY
const
*
property
,
UINT32
*
count
)
;
HRESULT
GetMatchingFonts_
(
WCHAR
const
*
family
,
DWRITE_FONT_WEIGHT
weight
,
DWRITE_FONT_STRETCH
stretch
,
DWRITE_FONT_STYLE
style
,
IDWriteFontSet
**
fontset
)
;
HRESULT
GetMatchingFonts
(
DWRITE_FONT_PROPERTY
const
*
props
,
UINT32
count
,
IDWriteFontSet
**
fontset
)
;
}
[
local
,
object
,
uuid
(
29748
ed6
-
8
c9c
-
4
a6a
-
be0b
-
d912e8538944
)
]
interface
IDWriteFont3
:
IDWriteFont2
...
...
@@ -193,19 +254,6 @@ interface IDWriteFontFace3 : IDWriteFontFace2
BOOL
enqueue_if_not
,
BOOL
*
are_local
)
;
}
[
local
,
object
,
uuid
(
cfee3140
-
1257
-
47
ca
-
8b85
-
31b
fcf3f2d0e
)
]
interface
IDWriteStringList
:
IUnknown
{
UINT32
GetCount
()
;
HRESULT
GetLocaleNameLength
(
UINT32
index
,
UINT32
*
length
)
;
HRESULT
GetLocaleName
(
UINT32
index
,
WCHAR
*
name
,
UINT32
size
)
;
HRESULT
GetStringLength
(
UINT32
index
,
UINT32
*
length
)
;
HRESULT
GetString
(
UINT32
index
,
WCHAR
*
string
,
UINT32
size
)
;
}
typedef
struct
DWRITE_LINE_METRICS1
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment