gdiplus: GdipGetLineWrapMode implementation.

This commit is contained in:
Nikolay Sivov 2008-07-08 01:32:19 +04:00 committed by Alexandre Julliard
parent f1fd5667f1
commit 9fbec615ae
3 changed files with 12 additions and 1 deletions

View File

@ -482,6 +482,16 @@ GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line,
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient *brush, GpWrapMode *wrapmode)
{
if(!brush || !wrapmode)
return InvalidParameter;
*wrapmode = brush->wrap;
return Ok;
}
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad, GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad,
GpPointF *point) GpPointF *point)
{ {

View File

@ -310,7 +310,7 @@
@ stdcall GdipGetLineRectI(ptr ptr) @ stdcall GdipGetLineRectI(ptr ptr)
@ stdcall GdipGetLineSpacing(ptr long ptr) @ stdcall GdipGetLineSpacing(ptr long ptr)
@ stub GdipGetLineTransform @ stub GdipGetLineTransform
@ stub GdipGetLineWrapMode @ stdcall GdipGetLineWrapMode(ptr ptr)
@ stub GdipGetLogFontA @ stub GdipGetLogFontA
@ stdcall GdipGetLogFontW(ptr ptr ptr) @ stdcall GdipGetLogFontW(ptr ptr ptr)
@ stdcall GdipGetMatrixElements(ptr ptr) @ stdcall GdipGetMatrixElements(ptr ptr)

View File

@ -179,6 +179,7 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*); GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*); GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*); GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*);
GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*); GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*); GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*); GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);