gdiplus: Added GdipSetPenMiterLimit.
This commit is contained in:
parent
18ee93b0c4
commit
d59fe31e8b
|
@ -553,7 +553,7 @@
|
|||
@ stdcall GdipSetPenEndCap(ptr long)
|
||||
@ stdcall GdipSetPenLineCap197819(ptr long long long)
|
||||
@ stdcall GdipSetPenLineJoin(ptr long)
|
||||
@ stub GdipSetPenMiterLimit
|
||||
@ stdcall GdipSetPenMiterLimit(ptr long)
|
||||
@ stub GdipSetPenMode
|
||||
@ stub GdipSetPenStartCap
|
||||
@ stub GdipSetPenTransform
|
||||
|
|
|
@ -135,3 +135,13 @@ GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen *pen, GpLineJoin join)
|
|||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen *pen, REAL limit)
|
||||
{
|
||||
if(!pen)
|
||||
return InvalidParameter;
|
||||
|
||||
pen->miterlimit = limit;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
|
|||
GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
|
||||
GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
|
||||
GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
|
||||
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
||||
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
|
||||
|
|
Loading…
Reference in New Issue