gdiplus: Added GdipSetPenStartCap.
This commit is contained in:
parent
5306245c47
commit
937432ac17
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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**);
|
||||
|
|
Loading…
Reference in New Issue