gdiplus: GdipSetPathMarker implementation.
This commit is contained in:
parent
143ebd60bb
commit
f8826a8525
|
@ -561,7 +561,7 @@
|
|||
@ stdcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
|
||||
@ stub GdipSetPathGradientTransform
|
||||
@ stdcall GdipSetPathGradientWrapMode(ptr long)
|
||||
@ stub GdipSetPathMarker
|
||||
@ stdcall GdipSetPathMarker(ptr)
|
||||
@ stdcall GdipSetPenBrushFill(ptr ptr)
|
||||
@ stdcall GdipSetPenColor(ptr long)
|
||||
@ stub GdipSetPenCompoundArray
|
||||
|
|
|
@ -833,3 +833,19 @@ GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath *path, GDIPCONST GpRect *rects
|
|||
|
||||
return retstat;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPathMarker(GpPath* path)
|
||||
{
|
||||
INT count;
|
||||
|
||||
if(!path)
|
||||
return InvalidParameter;
|
||||
|
||||
count = path->pathdata.Count;
|
||||
|
||||
/* set marker flag */
|
||||
if(count > 0)
|
||||
path->pathdata.Types[count-1] |= PathPointTypePathMarker;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
|
|
@ -146,6 +146,7 @@ GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
|
|||
GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
|
||||
GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
|
||||
GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
|
||||
GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
|
||||
GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
|
||||
GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
|
||||
|
|
Loading…
Reference in New Issue