gdiplus: Implemented GdipGetPenEndCap.
This commit is contained in:
parent
71310541f4
commit
6eadf3da08
|
@ -359,7 +359,7 @@
|
|||
@ stub GdipGetPenDashCount
|
||||
@ stdcall GdipGetPenDashOffset(ptr ptr)
|
||||
@ stdcall GdipGetPenDashStyle(ptr ptr)
|
||||
@ stub GdipGetPenEndCap
|
||||
@ stdcall GdipGetPenEndCap(ptr ptr)
|
||||
@ stub GdipGetPenFillType
|
||||
@ stub GdipGetPenLineJoin
|
||||
@ stub GdipGetPenMiterLimit
|
||||
|
|
|
@ -197,6 +197,16 @@ GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen *pen, GpLineCap *endCap)
|
||||
{
|
||||
if(!pen || !endCap)
|
||||
return InvalidParameter;
|
||||
|
||||
*endCap = pen->endcap;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen *pen, GpBrush *brush)
|
||||
{
|
||||
if(!pen || !brush)
|
||||
|
|
|
@ -49,6 +49,7 @@ GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
|
|||
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
|
||||
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
|
||||
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
|
||||
GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
|
||||
|
|
Loading…
Reference in New Issue