Commit bbba52dc authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Implement d2d_linear_gradient_brush_GetTransform().

parent d41ee6e5
......@@ -377,16 +377,11 @@ static float STDMETHODCALLTYPE d2d_linear_gradient_brush_GetOpacity(ID2D1LinearG
static void STDMETHODCALLTYPE d2d_linear_gradient_brush_GetTransform(ID2D1LinearGradientBrush *iface,
D2D1_MATRIX_3X2_F *transform)
{
static const D2D1_MATRIX_3X2_F identity =
{
1.0f, 0.0f,
0.0f, 1.0f,
0.0f, 0.0f,
};
struct d2d_brush *brush = impl_from_ID2D1LinearGradientBrush(iface);
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_linear_gradient_brush_SetStartPoint(ID2D1LinearGradientBrush *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