gdiplus: Implement GdipGetTextureImage.

This commit is contained in:
Vincent Povirk 2010-02-13 12:21:08 -06:00 committed by Alexandre Julliard
parent 70c9e4fb3d
commit cf4ec6e840
2 changed files with 14 additions and 1 deletions

View File

@ -1189,6 +1189,19 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return Ok; return Ok;
} }
/******************************************************************************
* GdipGetTextureImage [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipGetTextureImage(GpTexture *brush, GpImage **image)
{
TRACE("(%p, %p)\n", brush, image);
if(!brush || !image)
return InvalidParameter;
return GdipCloneImage(brush->image, image);
}
/****************************************************************************** /******************************************************************************
* GdipGetTextureTransform [GDIPLUS.@] * GdipGetTextureTransform [GDIPLUS.@]
*/ */

View File

@ -397,7 +397,7 @@
@ stdcall GdipGetStringFormatTrimming(ptr ptr) @ stdcall GdipGetStringFormatTrimming(ptr ptr)
@ stdcall GdipGetTextContrast(ptr ptr) @ stdcall GdipGetTextContrast(ptr ptr)
@ stdcall GdipGetTextRenderingHint(ptr ptr) @ stdcall GdipGetTextRenderingHint(ptr ptr)
@ stub GdipGetTextureImage @ stdcall GdipGetTextureImage(ptr ptr)
@ stdcall GdipGetTextureTransform(ptr ptr) @ stdcall GdipGetTextureTransform(ptr ptr)
@ stdcall GdipGetTextureWrapMode(ptr ptr) @ stdcall GdipGetTextureWrapMode(ptr ptr)
@ stdcall GdipGetVisibleClipBounds(ptr ptr) @ stdcall GdipGetVisibleClipBounds(ptr ptr)