gdiplus: Stub GdipTranslatePenTransform.

This commit is contained in:
Vincent Povirk 2010-07-02 16:36:21 -04:00 committed by Alexandre Julliard
parent b57c4314c1
commit 18a4e24368
2 changed files with 16 additions and 1 deletions

View File

@ -614,7 +614,7 @@
@ stdcall GdipTranslateLineTransform(ptr long long long)
@ stdcall GdipTranslateMatrix(ptr long long long)
@ stdcall GdipTranslatePathGradientTransform(ptr long long long)
@ stub GdipTranslatePenTransform
@ stdcall GdipTranslatePenTransform(ptr long long long)
@ stdcall GdipTranslateRegion(ptr long long)
@ stdcall GdipTranslateRegionI(ptr long long)
@ stdcall GdipTranslateTextureTransform(ptr long long long)

View File

@ -434,6 +434,21 @@ GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *pen, GpMatrix *matrix)
return NotImplemented;
}
GpStatus WINGDIPAPI GdipTranslatePenTransform(GpPen *pen, REAL dx, REAL dy, GpMatrixOrder order)
{
static int calls;
TRACE("(%p,%0.2f,%0.2f,%u)\n", pen, dx, dy, order);
if(!pen)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order)
{
static int calls;