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
61a1a266
Commit
61a1a266
authored
Apr 07, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update with recently added DirectWrite API.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f89d01d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
104 additions
and
0 deletions
+104
-0
dwrite_3.idl
include/dwrite_3.idl
+104
-0
No files found.
include/dwrite_3.idl
View file @
61a1a266
...
...
@@ -344,6 +344,16 @@ interface IDWriteFontSetBuilder : IUnknown
[
local
,
object
,
uuid
(
3
ff7715f
-
3
cdc
-
4
dc6
-
9b72
-
ec5621dccafd
)
]
interface
IDWriteFontSetBuilder1
:
IDWriteFontSetBuilder
{
HRESULT
AddFontFile
(
IDWriteFontFile
*
file
)
;
}
[
local
,
object
,
uuid
(
9
a1b41c3
-
d3bb
-
466
a
-
87
fc
-
fe67556a3b65
)
]
interface
IDWriteFactory3
:
IDWriteFactory2
...
...
@@ -498,3 +508,97 @@ interface IDWriteFactory4 : IDWriteFactory3
DWRITE_MATRIX
const
*
transform
,
D2D1_POINT_2F
*
origins
)
;
}
[
local
,
object
,
uuid
(
ce25f8fd
-
863b
-
4
d13
-
9651
-
c1f88dc73fe2
)
]
interface
IDWriteAsyncResult
:
IUnknown
{
HANDLE
GetWaitHandle
()
;
HRESULT
GetResult
()
;
}
typedef
struct
DWRITE_FILE_FRAGMENT
{
UINT64
fileOffset
;
UINT64
fragmentSize
;
}
DWRITE_FILE_FRAGMENT
;
[
local
,
object
,
uuid
(
4
db3757a
-
2
c72
-
4
ed9
-
b2b6
-
1
ababe1aff9c
)
]
interface
IDWriteRemoteFontFileStream
:
IDWriteFontFileStream
{
HRESULT
GetLocalFileSize
(
UINT64
*
size
)
;
HRESULT
GetFileFragmentLocality
(
UINT64
offset
,
UINT64
size
,
BOOL
*
is_local
,
UINT64
*
partial_size
)
;
DWRITE_LOCALITY
GetLocality
()
;
HRESULT
BeginDownload
(
GUID
const
*
operation_id
,
DWRITE_FILE_FRAGMENT
const
*
fragments
,
UINT32
fragment_count
,
IDWriteAsyncResult
**
async_result
)
;
}
typedef
enum
DWRITE_CONTAINER_TYPE
{
DWRITE_CONTAINER_TYPE_UNKNOWN
,
DWRITE_CONTAINER_TYPE_WOFF
,
DWRITE_CONTAINER_TYPE_WOFF2
,
}
DWRITE_CONTAINER_TYPE
;
[
local
,
object
,
uuid
(
68648
c83
-
6
ede
-
46
c0
-
ab46
-
20083
a887fde
)
]
interface
IDWriteRemoteFontFileLoader
:
IDWriteFontFileLoader
{
HRESULT
CreateRemoteStreamFromKey
(
void
const
*
key
,
UINT32
key_size
,
IDWriteRemoteFontFileStream
**
stream
)
;
HRESULT
GetLocalityFromKey
(
void
const
*
key
,
UINT32
key_size
,
DWRITE_LOCALITY
*
locality
)
;
HRESULT
CreateFontFileReferenceFromUrl
(
IDWriteFactory
*
factory
,
WCHAR
const
*
base_url
,
WCHAR
const
*
file_url
,
IDWriteFontFile
**
fontfile
)
;
}
[
local
,
object
,
uuid
(
dc102f47
-
a12d
-
4b1
c
-822d-9
e117e33043f
)
]
interface
IDWriteInMemoryFontFileLoader
:
IDWriteFontFileLoader
{
HRESULT
CreateInMemoryFontFileReference
(
IDWriteFactory
*
factory
,
void
const
*
data
,
UINT32
data_size
,
IUnknown
*
owner
,
IDWriteFontFile
**
fontfile
)
;
UINT32
GetFileCount
()
;
}
[
local
,
object
,
uuid
(
958
db99a
-
be2a
-
4
f09
-
af7d
-
65189803
d1d3
)
]
interface
IDWriteFactory5
:
IDWriteFactory4
{
HRESULT
CreateFontSetBuilder
(
IDWriteFontSetBuilder1
**
fontset_builder
)
;
HRESULT
CreateInMemoryFontFileLoader
(
IDWriteFontFileLoader
**
loader
)
;
HRESULT
CreateHttpFontFileLoader
(
WCHAR
const
*
referrer_url
,
WCHAR
const
*
extra_headers
,
IDWriteRemoteFontFileLoader
**
loader
)
;
DWRITE_CONTAINER_TYPE
AnalyzeContainerType
(
void
const
*
data
,
UINT32
data_size
)
;
HRESULT
UnpackFontFile
(
DWRITE_CONTAINER_TYPE
container_type
,
void
const
*
data
,
UINT32
data_size
,
IDWriteFontFileStream
**
stream
)
;
}
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