Commit 29af90be authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Implement d2d_state_block_SetTextRenderingParams().

parent 063080f7
......@@ -96,7 +96,15 @@ static void STDMETHODCALLTYPE d2d_state_block_SetDescription(ID2D1DrawingStateBl
static void STDMETHODCALLTYPE d2d_state_block_SetTextRenderingParams(ID2D1DrawingStateBlock *iface,
IDWriteRenderingParams *text_rendering_params)
{
FIXME("iface %p, text_rendering_params %p stub!\n", iface, text_rendering_params);
struct d2d_state_block *state_block = impl_from_ID2D1DrawingStateBlock(iface);
TRACE("iface %p, text_rendering_params %p.\n", iface, text_rendering_params);
if (text_rendering_params)
IDWriteRenderingParams_AddRef(text_rendering_params);
if (state_block->text_rendering_params)
IDWriteRenderingParams_Release(state_block->text_rendering_params);
state_block->text_rendering_params = text_rendering_params;
}
static void STDMETHODCALLTYPE d2d_state_block_GetTextRenderingParams(ID2D1DrawingStateBlock *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment