Commit 0d45cd02 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added GdipSetPenWidth.

parent 1ef7793b
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,7 @@
@ stdcall GdipSetPenStartCap(ptr long) @ stdcall GdipSetPenStartCap(ptr long)
@ stub GdipSetPenTransform @ stub GdipSetPenTransform
@ stub GdipSetPenUnit @ stub GdipSetPenUnit
@ stub GdipSetPenWidth @ stdcall GdipSetPenWidth(ptr long)
@ stdcall GdipSetPixelOffsetMode(ptr long) @ stdcall GdipSetPixelOffsetMode(ptr long)
@ stub GdipSetPropertyItem @ stub GdipSetPropertyItem
@ stub GdipSetRenderingOrigin @ stub GdipSetRenderingOrigin
......
...@@ -341,3 +341,12 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen *pen, GpLineCap cap) ...@@ -341,3 +341,12 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen *pen, GpLineCap cap)
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width)
{
if(!pen) return InvalidParameter;
pen->width = width;
return Ok;
}
...@@ -45,6 +45,7 @@ GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap ...@@ -45,6 +45,7 @@ GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap
GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin); GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL); GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap); GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**); GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**); GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
......
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