Commit 9f0f9770 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

gdiplus: Add GdipSetPenMode stub.

parent 9d36b416
...@@ -575,7 +575,7 @@ ...@@ -575,7 +575,7 @@
@ stdcall GdipSetPenLineCap197819(ptr long long long) @ stdcall GdipSetPenLineCap197819(ptr long long long)
@ stdcall GdipSetPenLineJoin(ptr long) @ stdcall GdipSetPenLineJoin(ptr long)
@ stdcall GdipSetPenMiterLimit(ptr long) @ stdcall GdipSetPenMiterLimit(ptr long)
@ stub GdipSetPenMode @ stdcall GdipSetPenMode(ptr long)
@ stdcall GdipSetPenStartCap(ptr long) @ stdcall GdipSetPenStartCap(ptr long)
@ stub GdipSetPenTransform @ stub GdipSetPenTransform
@ stub GdipSetPenUnit @ stub GdipSetPenUnit
......
...@@ -380,3 +380,13 @@ GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width) ...@@ -380,3 +380,13 @@ GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width)
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipSetPenMode(GpPen *pen, GpPenAlignment penAlignment)
{
if(!pen) return InvalidParameter;
FIXME("stub (%d)\n", penAlignment);
return Ok;
}
...@@ -124,6 +124,12 @@ enum InterpolationMode ...@@ -124,6 +124,12 @@ enum InterpolationMode
InterpolationModeHighQualityBicubic InterpolationModeHighQualityBicubic
}; };
enum PenAlignment
{
PenAlignmentCenter = 0,
PenAlignmentInset = 1
};
enum PixelOffsetMode enum PixelOffsetMode
{ {
PixelOffsetModeInvalid = QualityModeInvalid, PixelOffsetModeInvalid = QualityModeInvalid,
...@@ -279,6 +285,7 @@ typedef enum StringAlignment StringAlignment; ...@@ -279,6 +285,7 @@ typedef enum StringAlignment StringAlignment;
typedef enum StringTrimming StringTrimming; typedef enum StringTrimming StringTrimming;
typedef enum StringFormatFlags StringFormatFlags; typedef enum StringFormatFlags StringFormatFlags;
typedef enum HotkeyPrefix HotkeyPrefix; typedef enum HotkeyPrefix HotkeyPrefix;
typedef enum PenAlignment GpPenAlignment;
#endif /* end of c typedefs */ #endif /* end of c typedefs */
......
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