gdiplus: Added GdipSetPenStartCap.

This commit is contained in:
Evan Stade 2007-07-19 18:23:13 -07:00 committed by Alexandre Julliard
parent 5306245c47
commit 937432ac17
3 changed files with 13 additions and 1 deletions

View File

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

View File

@ -248,3 +248,14 @@ GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen *pen, REAL limit)
return Ok;
}
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen *pen, GpLineCap cap)
{
if(!pen) return InvalidParameter;
GdipDeleteCustomLineCap(pen->customstart);
pen->customstart = NULL;
pen->startcap = cap;
return Ok;
}

View File

@ -38,6 +38,7 @@ GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);