gdiplus: Added GdipSetPathFillMode.

This commit is contained in:
Evan Stade 2007-07-13 17:51:01 -07:00 committed by Alexandre Julliard
parent f686cfab2f
commit 68a3d94722
3 changed files with 12 additions and 1 deletions

View File

@ -526,7 +526,7 @@
@ stub GdipSetMetafileDownLevelRasterizationLimit @ stub GdipSetMetafileDownLevelRasterizationLimit
@ stub GdipSetPageScale @ stub GdipSetPageScale
@ stub GdipSetPageUnit @ stub GdipSetPageUnit
@ stub GdipSetPathFillMode @ stdcall GdipSetPathFillMode(ptr long)
@ stub GdipSetPathGradientBlend @ stub GdipSetPathGradientBlend
@ stub GdipSetPathGradientCenterColor @ stub GdipSetPathGradientCenterColor
@ stub GdipSetPathGradientCenterPoint @ stub GdipSetPathGradientCenterPoint

View File

@ -361,6 +361,16 @@ GpStatus WINGDIPAPI GdipResetPath(GpPath *path)
return Ok; 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) GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
{ {
if(!path) if(!path)

View File

@ -65,6 +65,7 @@ GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*); GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*); GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
GpStatus WINGDIPAPI GdipResetPath(GpPath*); GpStatus WINGDIPAPI GdipResetPath(GpPath*);
GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*); GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**); GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);