gdiplus: Implemented GdipGetPenWidth.
This commit is contained in:
parent
c4b7281f06
commit
314396ae9c
|
@ -367,7 +367,7 @@
|
|||
@ stdcall GdipGetPenStartCap(ptr ptr)
|
||||
@ stub GdipGetPenTransform
|
||||
@ stdcall GdipGetPenUnit(ptr ptr)
|
||||
@ stub GdipGetPenWidth
|
||||
@ stdcall GdipGetPenWidth(ptr ptr)
|
||||
@ stdcall GdipGetPixelOffsetMode(ptr ptr)
|
||||
@ stdcall GdipGetPointCount(ptr ptr)
|
||||
@ stub GdipGetPropertyCount
|
||||
|
|
|
@ -247,6 +247,16 @@ GpStatus WINGDIPAPI GdipGetPenUnit(GpPen *pen, GpUnit *unit)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenWidth(GpPen *pen, REAL *width)
|
||||
{
|
||||
if(!pen || !width)
|
||||
return InvalidParameter;
|
||||
|
||||
*width = pen->width;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen *pen, GpBrush *brush)
|
||||
{
|
||||
if(!pen || !brush)
|
||||
|
|
|
@ -54,6 +54,7 @@ GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
|
|||
GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
|
||||
GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
|
||||
GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
|
||||
|
|
Loading…
Reference in New Issue