gdiplus: Added GdipTranslateTextureTransform.
This commit is contained in:
parent
6800d3dbb7
commit
2d1a9eb307
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue