d2d1: Implement d2d_text_renderer_GetCurrentTransform().

This commit is contained in:
Henri Verbeet 2015-07-09 14:22:12 +02:00 committed by Alexandre Julliard
parent 47260762a9
commit a73035c302
1 changed files with 6 additions and 2 deletions

View File

@ -1326,9 +1326,13 @@ static HRESULT STDMETHODCALLTYPE d2d_text_renderer_IsPixelSnappingDisabled(IDWri
static HRESULT STDMETHODCALLTYPE d2d_text_renderer_GetCurrentTransform(IDWriteTextRenderer *iface,
void *ctx, DWRITE_MATRIX *transform)
{
FIXME("iface %p, ctx %p, transform %p stub!\n", iface, ctx, transform);
struct d2d_d3d_render_target *render_target = impl_from_IDWriteTextRenderer(iface);
return E_NOTIMPL;
TRACE("iface %p, ctx %p, transform %p.\n", iface, ctx, transform);
ID2D1RenderTarget_GetTransform(&render_target->ID2D1RenderTarget_iface, (D2D1_MATRIX_3X2_F *)transform);
return S_OK;
}
static HRESULT STDMETHODCALLTYPE d2d_text_renderer_GetPixelsPerDip(IDWriteTextRenderer *iface, void *ctx, float *ppd)