d2d1: Implement d2d_solid_color_brush_GetTransform().

This commit is contained in:
Henri Verbeet 2015-01-29 10:27:22 +01:00 committed by Alexandre Julliard
parent bbba52dc34
commit 88edc866ea
1 changed files with 3 additions and 8 deletions

View File

@ -244,16 +244,11 @@ static float STDMETHODCALLTYPE d2d_solid_color_brush_GetOpacity(ID2D1SolidColorB
static void STDMETHODCALLTYPE d2d_solid_color_brush_GetTransform(ID2D1SolidColorBrush *iface, static void STDMETHODCALLTYPE d2d_solid_color_brush_GetTransform(ID2D1SolidColorBrush *iface,
D2D1_MATRIX_3X2_F *transform) D2D1_MATRIX_3X2_F *transform)
{ {
static const D2D1_MATRIX_3X2_F identity = struct d2d_brush *brush = impl_from_ID2D1SolidColorBrush(iface);
{
1.0f, 0.0f,
0.0f, 1.0f,
0.0f, 0.0f,
};
FIXME("iface %p, transform %p stub!\n", iface, transform); TRACE("iface %p, transform %p.\n", iface, transform);
*transform = identity; *transform = brush->transform;
} }
static void STDMETHODCALLTYPE d2d_solid_color_brush_SetColor(ID2D1SolidColorBrush *iface, const D2D1_COLOR_F *color) static void STDMETHODCALLTYPE d2d_solid_color_brush_SetColor(ID2D1SolidColorBrush *iface, const D2D1_COLOR_F *color)