gdiplus: Implemetned GdipGetPenUnit.

This commit is contained in:
Nikolay Sivov 2008-06-27 03:27:03 +04:00 committed by Alexandre Julliard
parent b672dad1b6
commit c4b7281f06
3 changed files with 12 additions and 1 deletions

View File

@ -366,7 +366,7 @@
@ stub GdipGetPenMode
@ stdcall GdipGetPenStartCap(ptr ptr)
@ stub GdipGetPenTransform
@ stub GdipGetPenUnit
@ stdcall GdipGetPenUnit(ptr ptr)
@ stub GdipGetPenWidth
@ stdcall GdipGetPixelOffsetMode(ptr ptr)
@ stdcall GdipGetPointCount(ptr ptr)

View File

@ -237,6 +237,16 @@ GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen *pen, GpLineCap *startCap)
return Ok;
}
GpStatus WINGDIPAPI GdipGetPenUnit(GpPen *pen, GpUnit *unit)
{
if(!pen || !unit)
return InvalidParameter;
*unit = pen->unit;
return Ok;
}
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen *pen, GpBrush *brush)
{
if(!pen || !brush)

View File

@ -53,6 +53,7 @@ GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);