gdiplus: Added GdipTranslateTextureTransform.

This commit is contained in:
Nikolay Sivov 2008-12-03 00:22:52 +03:00 committed by Alexandre Julliard
parent 6800d3dbb7
commit 2d1a9eb307
2 changed files with 15 additions and 1 deletions

View File

@ -1239,6 +1239,20 @@ GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush,
return NotImplemented;
}
/******************************************************************************
* GdipTranslateTextureTransform [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipTranslateTextureTransform(GpTexture* brush, REAL dx, REAL dy,
GpMatrixOrder order)
{
TRACE("(%p, %.2f, %.2f, %d)\n", brush, dx, dy, order);
if(!brush)
return InvalidParameter;
return GdipTranslateMatrix(brush->transform, dx, dy, order);
}
GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient *brush, GpRectF *rect)
{
TRACE("(%p, %p)\n", brush, rect);

View File

@ -617,7 +617,7 @@
@ stub GdipTranslatePenTransform
@ stdcall GdipTranslateRegion(ptr long long)
@ stdcall GdipTranslateRegionI(ptr long long)
@ stub GdipTranslateTextureTransform
@ stdcall GdipTranslateTextureTransform(ptr long long long)
@ stdcall GdipTranslateWorldTransform(ptr long long long)
@ stdcall GdipVectorTransformMatrixPoints(ptr ptr long)
@ stdcall GdipVectorTransformMatrixPointsI(ptr ptr long)