Commit 2d1a9eb3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: Added GdipTranslateTextureTransform.

parent 6800d3db
...@@ -1239,6 +1239,20 @@ GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush, ...@@ -1239,6 +1239,20 @@ GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush,
return NotImplemented; 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) GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient *brush, GpRectF *rect)
{ {
TRACE("(%p, %p)\n", brush, rect); TRACE("(%p, %p)\n", brush, rect);
......
...@@ -617,7 +617,7 @@ ...@@ -617,7 +617,7 @@
@ stub GdipTranslatePenTransform @ stub GdipTranslatePenTransform
@ stdcall GdipTranslateRegion(ptr long long) @ stdcall GdipTranslateRegion(ptr long long)
@ stdcall GdipTranslateRegionI(ptr long long) @ stdcall GdipTranslateRegionI(ptr long long)
@ stub GdipTranslateTextureTransform @ stdcall GdipTranslateTextureTransform(ptr long long long)
@ stdcall GdipTranslateWorldTransform(ptr long long long) @ stdcall GdipTranslateWorldTransform(ptr long long long)
@ stdcall GdipVectorTransformMatrixPoints(ptr ptr long) @ stdcall GdipVectorTransformMatrixPoints(ptr ptr long)
@ stdcall GdipVectorTransformMatrixPointsI(ptr ptr long) @ stdcall GdipVectorTransformMatrixPointsI(ptr ptr long)
......
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