diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 273a9ee9e1b..9d6457e5d04 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -526,7 +526,7 @@ @ stub GdipSetMetafileDownLevelRasterizationLimit @ stub GdipSetPageScale @ stub GdipSetPageUnit -@ stub GdipSetPathFillMode +@ stdcall GdipSetPathFillMode(ptr long) @ stub GdipSetPathGradientBlend @ stub GdipSetPathGradientCenterColor @ stub GdipSetPathGradientCenterPoint diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 2fabd497021..5b0e502705c 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -361,6 +361,16 @@ GpStatus WINGDIPAPI GdipResetPath(GpPath *path) return Ok; } +GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath *path, GpFillMode fill) +{ + if(!path) + return InvalidParameter; + + path->fill = fill; + + return Ok; +} + GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix) { if(!path) diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 07f52e962cb..42c33deaf28 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -65,6 +65,7 @@ GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*, GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*); GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*); GpStatus WINGDIPAPI GdipResetPath(GpPath*); +GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode); GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*); GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);