d2d1: Implement d2d_d3d_render_target_SetTextAntialiasMode().
This commit is contained in:
parent
86748a8480
commit
345dbdc77f
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue