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)
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;
}
......
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