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
437fb074
Commit
437fb074
authored
Mar 21, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Forward IDWriteTextLayout::GetMetrics() to IDWriteTextLayout2::GetMetrics().
parent
2478421d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
layout.c
dlls/dwrite/layout.c
+10
-2
No files found.
dlls/dwrite/layout.c
View file @
437fb074
...
...
@@ -1705,8 +1705,16 @@ static HRESULT WINAPI dwritetextlayout_GetLineMetrics(IDWriteTextLayout2 *iface,
static
HRESULT
WINAPI
dwritetextlayout_GetMetrics
(
IDWriteTextLayout2
*
iface
,
DWRITE_TEXT_METRICS
*
metrics
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
metrics
);
return
E_NOTIMPL
;
DWRITE_TEXT_METRICS1
metrics1
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
metrics
);
hr
=
IDWriteTextLayout2_GetMetrics
(
iface
,
&
metrics1
);
if
(
hr
==
S_OK
)
memcpy
(
metrics
,
&
metrics1
,
sizeof
(
*
metrics
));
return
hr
;
}
static
HRESULT
WINAPI
dwritetextlayout_GetOverhangMetrics
(
IDWriteTextLayout2
*
iface
,
DWRITE_OVERHANG_METRICS
*
overhangs
)
...
...
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