gdiplus: Add GdipSetPenMode stub.

This commit is contained in:
Alistair Leslie-Hughes 2008-01-30 15:46:25 +11:00 committed by Alexandre Julliard
parent 9d36b416a7
commit 9f0f97706d
3 changed files with 18 additions and 1 deletions

View File

@ -575,7 +575,7 @@
@ stdcall GdipSetPenLineCap197819(ptr long long long)
@ stdcall GdipSetPenLineJoin(ptr long)
@ stdcall GdipSetPenMiterLimit(ptr long)
@ stub GdipSetPenMode
@ stdcall GdipSetPenMode(ptr long)
@ stdcall GdipSetPenStartCap(ptr long)
@ stub GdipSetPenTransform
@ stub GdipSetPenUnit

View File

@ -380,3 +380,13 @@ GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width)
return Ok;
}
GpStatus WINGDIPAPI GdipSetPenMode(GpPen *pen, GpPenAlignment penAlignment)
{
if(!pen) return InvalidParameter;
FIXME("stub (%d)\n", penAlignment);
return Ok;
}

View File

@ -124,6 +124,12 @@ enum InterpolationMode
InterpolationModeHighQualityBicubic
};
enum PenAlignment
{
PenAlignmentCenter = 0,
PenAlignmentInset = 1
};
enum PixelOffsetMode
{
PixelOffsetModeInvalid = QualityModeInvalid,
@ -279,6 +285,7 @@ typedef enum StringAlignment StringAlignment;
typedef enum StringTrimming StringTrimming;
typedef enum StringFormatFlags StringFormatFlags;
typedef enum HotkeyPrefix HotkeyPrefix;
typedef enum PenAlignment GpPenAlignment;
#endif /* end of c typedefs */