gdiplus: Stub GdipSetPenTransform.

This commit is contained in:
Vincent Povirk 2010-06-19 17:56:42 -05:00 committed by Alexandre Julliard
parent d4befda3c7
commit 09de12b2a3
2 changed files with 16 additions and 1 deletions

View File

@ -577,7 +577,7 @@
@ stdcall GdipSetPenMiterLimit(ptr long) @ stdcall GdipSetPenMiterLimit(ptr long)
@ stdcall GdipSetPenMode(ptr long) @ stdcall GdipSetPenMode(ptr long)
@ stdcall GdipSetPenStartCap(ptr long) @ stdcall GdipSetPenStartCap(ptr long)
@ stub GdipSetPenTransform @ stdcall GdipSetPenTransform(ptr ptr)
@ stub GdipSetPenUnit @ stub GdipSetPenUnit
@ stdcall GdipSetPenWidth(ptr long) @ stdcall GdipSetPenWidth(ptr long)
@ stdcall GdipSetPixelOffsetMode(ptr long) @ stdcall GdipSetPixelOffsetMode(ptr long)

View File

@ -404,6 +404,21 @@ GpStatus WINGDIPAPI GdipResetPenTransform(GpPen *pen)
return NotImplemented; return NotImplemented;
} }
GpStatus WINGDIPAPI GdipSetPenTransform(GpPen *pen, GpMatrix *matrix)
{
static int calls;
TRACE("(%p,%p)\n", pen, matrix);
if(!pen || !matrix)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order) GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order)
{ {
static int calls; static int calls;