d2d1: Implement d2d_bitmap_brush_GetInterpolationMode().

This commit is contained in:
Henri Verbeet 2015-04-24 19:31:36 +02:00 committed by Alexandre Julliard
parent 1014d9a105
commit 719dfff5bd
1 changed files with 4 additions and 2 deletions

View File

@ -599,9 +599,11 @@ static D2D1_EXTEND_MODE STDMETHODCALLTYPE d2d_bitmap_brush_GetExtendModeY(ID2D1B
static D2D1_BITMAP_INTERPOLATION_MODE STDMETHODCALLTYPE d2d_bitmap_brush_GetInterpolationMode(ID2D1BitmapBrush *iface) static D2D1_BITMAP_INTERPOLATION_MODE STDMETHODCALLTYPE d2d_bitmap_brush_GetInterpolationMode(ID2D1BitmapBrush *iface)
{ {
FIXME("iface %p stub!\n", iface); struct d2d_brush *brush = impl_from_ID2D1BitmapBrush(iface);
return D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR; TRACE("iface %p.\n", iface);
return brush->u.bitmap.interpolation_mode;
} }
static void STDMETHODCALLTYPE d2d_bitmap_brush_GetBitmap(ID2D1BitmapBrush *iface, ID2D1Bitmap **bitmap) static void STDMETHODCALLTYPE d2d_bitmap_brush_GetBitmap(ID2D1BitmapBrush *iface, ID2D1Bitmap **bitmap)