Module: wine Branch: master Commit: f1417780033a008ad8ce72dbac931ed4c723bc0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=f1417780033a008ad8ce72dbac...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Dec 18 14:58:28 2009 -0600
gdiplus: Add traces for values of newly-created brushes.
---
dlls/gdiplus/brush.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index 3bce1d3..49e9e0e 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -174,6 +174,7 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone) return NotImplemented; }
+ TRACE("<-- %p\n", *clone); return Ok; }
@@ -290,6 +291,7 @@ GpStatus WINGDIPAPI GdipCreateHatchBrush(HatchStyle hatchstyle, ARGB forecol, AR (*brush)->forecol = forecol; (*brush)->backcol = backcol; (*brush)->hatchstyle = hatchstyle; + TRACE("<-- %p\n", *brush); } else { @@ -370,6 +372,8 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint, (*line)->pblendpos = NULL; (*line)->pblendcount = 0;
+ TRACE("<-- %p\n", *line); + return Ok; }
@@ -544,6 +548,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points, (*grad)->focus.X = 0.0; (*grad)->focus.Y = 0.0;
+ TRACE("<-- %p\n", *grad); + return Ok; }
@@ -634,6 +640,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path, (*grad)->focus.X = 0.0; (*grad)->focus.Y = 0.0;
+ TRACE("<-- %p\n", *grad); + return Ok; }
@@ -660,6 +668,8 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf) (*sf)->color = color; (*sf)->bmp = ARGB2BMP(color);
+ TRACE("<-- %p\n", *sf); + return Ok; }
@@ -854,6 +864,8 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image, GdipFree(dibits); GdipFree(buff);
+ TRACE("<-- %p\n", *texture); + return Ok; }