Commit eae78db8 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: GdipClearPathMarkers implementation.

parent f8826a85
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
@ stub GdipBitmapSetPixel @ stub GdipBitmapSetPixel
@ stub GdipBitmapSetResolution @ stub GdipBitmapSetResolution
@ stdcall GdipBitmapUnlockBits(ptr ptr) @ stdcall GdipBitmapUnlockBits(ptr ptr)
@ stub GdipClearPathMarkers @ stdcall GdipClearPathMarkers(ptr)
@ stub GdipCloneBitmapArea @ stub GdipCloneBitmapArea
@ stub GdipCloneBitmapAreaI @ stub GdipCloneBitmapAreaI
@ stdcall GdipCloneBrush(ptr ptr) @ stdcall GdipCloneBrush(ptr ptr)
......
...@@ -849,3 +849,20 @@ GpStatus WINGDIPAPI GdipSetPathMarker(GpPath* path) ...@@ -849,3 +849,20 @@ GpStatus WINGDIPAPI GdipSetPathMarker(GpPath* path)
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath* path)
{
INT count;
INT i;
if(!path)
return InvalidParameter;
count = path->pathdata.Count;
for(i = 0; i < count - 1; i++){
path->pathdata.Types[i] &= ~PathPointTypePathMarker;
}
return Ok;
}
...@@ -147,6 +147,7 @@ GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode); ...@@ -147,6 +147,7 @@ GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL); GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit); GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*); GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*);
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode); GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode); GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint); GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment