d2d1: Implement GetUnitMode().

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ziqing Hui 2022-04-15 11:31:50 +08:00 committed by Alexandre Julliard
parent 121851955e
commit eeed1bb541
1 changed files with 4 additions and 2 deletions

View File

@ -2154,9 +2154,11 @@ static void STDMETHODCALLTYPE d2d_device_context_SetUnitMode(ID2D1DeviceContext
static D2D1_UNIT_MODE STDMETHODCALLTYPE d2d_device_context_GetUnitMode(ID2D1DeviceContext *iface)
{
FIXME("iface %p stub!\n", iface);
struct d2d_device_context *context = impl_from_ID2D1DeviceContext(iface);
return D2D1_UNIT_MODE_DIPS;
TRACE("iface %p.\n", iface);
return context->drawing_state.unitMode;
}
static void STDMETHODCALLTYPE d2d_device_context_ID2D1DeviceContext_DrawGlyphRun(ID2D1DeviceContext *iface,