gdiplus: Added GdipScaleTextureTransform.

This commit is contained in:
Nikolay Sivov 2008-12-05 10:37:21 +03:00 committed by Alexandre Julliard
parent d127bbd5db
commit 958e73aa69
2 changed files with 15 additions and 1 deletions

View File

@ -954,6 +954,20 @@ GpStatus WINGDIPAPI GdipResetTextureTransform(GpTexture* brush)
return GdipSetMatrixElements(brush->transform, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0); return GdipSetMatrixElements(brush->transform, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
} }
/******************************************************************************
* GdipScaleTextureTransform [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipScaleTextureTransform(GpTexture* brush,
REAL sx, REAL sy, GpMatrixOrder order)
{
TRACE("(%p, %.2f, %.2f, %d)\n", brush, sx, sy, order);
if(!brush)
return InvalidParameter;
return GdipScaleMatrix(brush->transform, sx, sy, order);
}
GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush, GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
GDIPCONST REAL *blend, GDIPCONST REAL* positions, INT count) GDIPCONST REAL *blend, GDIPCONST REAL* positions, INT count)
{ {

View File

@ -500,7 +500,7 @@
@ stdcall GdipScaleMatrix(ptr long long long) @ stdcall GdipScaleMatrix(ptr long long long)
@ stub GdipScalePathGradientTransform @ stub GdipScalePathGradientTransform
@ stub GdipScalePenTransform @ stub GdipScalePenTransform
@ stub GdipScaleTextureTransform @ stdcall GdipScaleTextureTransform(ptr long long long)
@ stdcall GdipScaleWorldTransform(ptr long long long) @ stdcall GdipScaleWorldTransform(ptr long long long)
@ stdcall GdipSetAdjustableArrowCapFillState(ptr long) @ stdcall GdipSetAdjustableArrowCapFillState(ptr long)
@ stdcall GdipSetAdjustableArrowCapHeight(ptr long) @ stdcall GdipSetAdjustableArrowCapHeight(ptr long)