Commit f1417780 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Add traces for values of newly-created brushes.

parent 5dbbe5a7
...@@ -174,6 +174,7 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone) ...@@ -174,6 +174,7 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
return NotImplemented; return NotImplemented;
} }
TRACE("<-- %p\n", *clone);
return Ok; return Ok;
} }
...@@ -290,6 +291,7 @@ GpStatus WINGDIPAPI GdipCreateHatchBrush(HatchStyle hatchstyle, ARGB forecol, AR ...@@ -290,6 +291,7 @@ GpStatus WINGDIPAPI GdipCreateHatchBrush(HatchStyle hatchstyle, ARGB forecol, AR
(*brush)->forecol = forecol; (*brush)->forecol = forecol;
(*brush)->backcol = backcol; (*brush)->backcol = backcol;
(*brush)->hatchstyle = hatchstyle; (*brush)->hatchstyle = hatchstyle;
TRACE("<-- %p\n", *brush);
} }
else else
{ {
...@@ -370,6 +372,8 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint, ...@@ -370,6 +372,8 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
(*line)->pblendpos = NULL; (*line)->pblendpos = NULL;
(*line)->pblendcount = 0; (*line)->pblendcount = 0;
TRACE("<-- %p\n", *line);
return Ok; return Ok;
} }
...@@ -544,6 +548,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points, ...@@ -544,6 +548,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points,
(*grad)->focus.X = 0.0; (*grad)->focus.X = 0.0;
(*grad)->focus.Y = 0.0; (*grad)->focus.Y = 0.0;
TRACE("<-- %p\n", *grad);
return Ok; return Ok;
} }
...@@ -634,6 +640,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path, ...@@ -634,6 +640,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path,
(*grad)->focus.X = 0.0; (*grad)->focus.X = 0.0;
(*grad)->focus.Y = 0.0; (*grad)->focus.Y = 0.0;
TRACE("<-- %p\n", *grad);
return Ok; return Ok;
} }
...@@ -660,6 +668,8 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf) ...@@ -660,6 +668,8 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf)
(*sf)->color = color; (*sf)->color = color;
(*sf)->bmp = ARGB2BMP(color); (*sf)->bmp = ARGB2BMP(color);
TRACE("<-- %p\n", *sf);
return Ok; return Ok;
} }
...@@ -854,6 +864,8 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image, ...@@ -854,6 +864,8 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
GdipFree(dibits); GdipFree(dibits);
GdipFree(buff); GdipFree(buff);
TRACE("<-- %p\n", *texture);
return Ok; return Ok;
} }
......
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