dwrite: Implement GetOverhangMetrics() for trimming sign.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-07-19 23:02:59 +03:00 committed by Alexandre Julliard
parent 82d867a676
commit 0973f4655a
1 changed files with 2 additions and 2 deletions

View File

@ -4693,8 +4693,8 @@ static HRESULT WINAPI dwritetrimmingsign_GetMetrics(IDWriteInlineObject *iface,
static HRESULT WINAPI dwritetrimmingsign_GetOverhangMetrics(IDWriteInlineObject *iface, DWRITE_OVERHANG_METRICS *overhangs) static HRESULT WINAPI dwritetrimmingsign_GetOverhangMetrics(IDWriteInlineObject *iface, DWRITE_OVERHANG_METRICS *overhangs)
{ {
struct dwrite_trimmingsign *This = impl_from_IDWriteInlineObject(iface); struct dwrite_trimmingsign *This = impl_from_IDWriteInlineObject(iface);
FIXME("(%p)->(%p): stub\n", This, overhangs); TRACE("(%p)->(%p)\n", This, overhangs);
return E_NOTIMPL; return IDWriteTextLayout_GetOverhangMetrics(This->layout, overhangs);
} }
static HRESULT WINAPI dwritetrimmingsign_GetBreakConditions(IDWriteInlineObject *iface, DWRITE_BREAK_CONDITION *before, static HRESULT WINAPI dwritetrimmingsign_GetBreakConditions(IDWriteInlineObject *iface, DWRITE_BREAK_CONDITION *before,