Module: wine Branch: master Commit: d49510e7f009acc39a311af8c210dc12d775b95a URL: http://source.winehq.org/git/wine.git/?a=commit;h=d49510e7f009acc39a311af8c2...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Dec 18 15:54:26 2009 -0600
gdiplus: Add traces to unimplemented functions in brush.c.
---
dlls/gdiplus/brush.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index ad372c0..0f6d707 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -1160,6 +1160,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient { static int calls;
+ TRACE("(%p,%p,%p)\n", grad, argb, count); + if(!grad || !argb || !count || (*count < grad->pathdata.Count)) return InvalidParameter;
@@ -1415,6 +1417,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST RE { static int calls;
+ TRACE("(%p,%p,%p,%i)\n", brush, blend, pos, count); + if(!(calls++)) FIXME("not implemented\n");
@@ -1507,6 +1511,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad, { static int calls;
+ TRACE("(%p,%0.2f,%0.2f)\n", grad, focus, scale); + if(!grad || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0) return InvalidParameter;
@@ -1521,6 +1527,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient { static int calls;
+ TRACE("(%p,%p,%p)\n", grad, argb, count); + if(!grad || !argb || !count || (*count <= 0) || (*count > grad->pathdata.Count)) return InvalidParameter; @@ -1734,6 +1742,8 @@ GpStatus WINGDIPAPI GdipResetLineTransform(GpLineGradient *brush) { static int calls;
+ TRACE("(%p)\n", brush); + if(!(calls++)) FIXME("not implemented\n");
@@ -1745,6 +1755,8 @@ GpStatus WINGDIPAPI GdipSetLineTransform(GpLineGradient *brush, { static int calls;
+ TRACE("(%p,%p)\n", brush, matrix); + if(!(calls++)) FIXME("not implemented\n");
@@ -1756,6 +1768,8 @@ GpStatus WINGDIPAPI GdipScaleLineTransform(GpLineGradient *brush, REAL sx, REAL { static int calls;
+ TRACE("(%p,%0.2f,%0.2f,%u)\n", brush, sx, sy, order); + if(!(calls++)) FIXME("not implemented\n");
@@ -1823,6 +1837,8 @@ GpStatus WINGDIPAPI GdipRotateLineTransform(GpLineGradient* brush, { static int calls;
+ TRACE("(%p,%0.2f,%u)\n", brush, angle, order); + if(!brush) return InvalidParameter;