d2d1: Implement d2d_d3d_render_target_SetTextAntialiasMode().

This commit is contained in:
Henri Verbeet 2015-03-27 09:07:02 +01:00 committed by Alexandre Julliard
parent 86748a8480
commit 345dbdc77f
2 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,7 @@ struct d2d_d3d_render_target
ID3D10PixelShader *rect_bitmap_ps;
D2D1_ANTIALIAS_MODE antialias_mode;
D2D1_TEXT_ANTIALIAS_MODE text_antialias_mode;
IDWriteRenderingParams *text_rendering_params;
D2D1_SIZE_U pixel_size;

View File

@ -851,7 +851,11 @@ static D2D1_ANTIALIAS_MODE STDMETHODCALLTYPE d2d_d3d_render_target_GetAntialiasM
static void STDMETHODCALLTYPE d2d_d3d_render_target_SetTextAntialiasMode(ID2D1RenderTarget *iface,
D2D1_TEXT_ANTIALIAS_MODE antialias_mode)
{
FIXME("iface %p, antialias_mode %#x stub!\n", iface, antialias_mode);
struct d2d_d3d_render_target *render_target = impl_from_ID2D1RenderTarget(iface);
TRACE("iface %p, antialias_mode %#x.\n", iface, antialias_mode);
render_target->text_antialias_mode = antialias_mode;
}
static D2D1_TEXT_ANTIALIAS_MODE STDMETHODCALLTYPE d2d_d3d_render_target_GetTextAntialiasMode(ID2D1RenderTarget *iface)