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

This commit is contained in:
Vincent Povirk 2009-12-18 14:58:28 -06:00 committed by Alexandre Julliard
parent 5dbbe5a7f1
commit f141778003
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}