gdiplus: Trace GpRectF arguments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
65f7fab050
commit
9d123b5424
|
@ -410,7 +410,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF* rect,
|
||||||
{
|
{
|
||||||
float angle;
|
float angle;
|
||||||
|
|
||||||
TRACE("(%p, %x, %x, %d, %d, %p)\n", rect, startcolor, endcolor, mode,
|
TRACE("(%s, %x, %x, %d, %d, %p)\n", debugstr_rectf(rect), startcolor, endcolor, mode,
|
||||||
wrap, line);
|
wrap, line);
|
||||||
|
|
||||||
if(!line || !rect)
|
if(!line || !rect)
|
||||||
|
@ -466,7 +466,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF* rect
|
||||||
REAL sin_angle, cos_angle, sin_cos_angle;
|
REAL sin_angle, cos_angle, sin_cos_angle;
|
||||||
GpPointF start, end;
|
GpPointF start, end;
|
||||||
|
|
||||||
TRACE("(%p, %x, %x, %.2f, %d, %d, %p)\n", rect, startcolor, endcolor, angle, isAngleScalable,
|
TRACE("(%s, %x, %x, %.2f, %d, %d, %p)\n", debugstr_rectf(rect), startcolor, endcolor, angle, isAngleScalable,
|
||||||
wrap, line);
|
wrap, line);
|
||||||
|
|
||||||
if (!rect || !line || wrap == WrapModeClamp)
|
if (!rect || !line || wrap == WrapModeClamp)
|
||||||
|
|
|
@ -86,7 +86,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *rect,
|
||||||
GDIPCONST GpPointF *pt, GpMatrix **matrix)
|
GDIPCONST GpPointF *pt, GpMatrix **matrix)
|
||||||
{
|
{
|
||||||
REAL m11, m12, m21, m22, dx, dy;
|
REAL m11, m12, m21, m22, dx, dy;
|
||||||
TRACE("(%p, %p, %p)\n", rect, pt, matrix);
|
|
||||||
|
TRACE("(%s, %p, %p)\n", debugstr_rectf(rect), pt, matrix);
|
||||||
|
|
||||||
if(!matrix || !pt)
|
if(!matrix || !pt)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
|
@ -740,7 +740,7 @@ GpStatus WINGDIPAPI GdipRecordMetafile(HDC hdc, EmfType type, GDIPCONST GpRectF
|
||||||
RECT rc, *lprc;
|
RECT rc, *lprc;
|
||||||
GpStatus stat;
|
GpStatus stat;
|
||||||
|
|
||||||
TRACE("(%p %d %p %d %p %p)\n", hdc, type, frameRect, frameUnit, desc, metafile);
|
TRACE("(%p %d %s %d %p %p)\n", hdc, type, debugstr_rectf(frameRect), frameUnit, desc, metafile);
|
||||||
|
|
||||||
if (!hdc || type < EmfTypeEmfOnly || type > EmfTypeEmfPlusDual || !metafile)
|
if (!hdc || type < EmfTypeEmfOnly || type > EmfTypeEmfPlusDual || !metafile)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
@ -885,7 +885,7 @@ GpStatus WINGDIPAPI GdipRecordMetafileStream(IStream *stream, HDC hdc, EmfType t
|
||||||
{
|
{
|
||||||
GpStatus stat;
|
GpStatus stat;
|
||||||
|
|
||||||
TRACE("(%p %p %d %p %d %p %p)\n", stream, hdc, type, frameRect, frameUnit, desc, metafile);
|
TRACE("(%p %p %d %s %d %p %p)\n", stream, hdc, type, debugstr_rectf(frameRect), frameUnit, desc, metafile);
|
||||||
|
|
||||||
if (!stream)
|
if (!stream)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
@ -4048,7 +4048,7 @@ GpStatus WINGDIPAPI GdipRecordMetafileFileName(GDIPCONST WCHAR* fileName,
|
||||||
MetafileFrameUnit frameUnit, GDIPCONST WCHAR *desc,
|
MetafileFrameUnit frameUnit, GDIPCONST WCHAR *desc,
|
||||||
GpMetafile **metafile)
|
GpMetafile **metafile)
|
||||||
{
|
{
|
||||||
FIXME("%s %p %d %p %d %s %p stub!\n", debugstr_w(fileName), hdc, type, pFrameRect,
|
FIXME("%s %p %d %s %d %s %p stub!\n", debugstr_w(fileName), hdc, type, debugstr_rectf(pFrameRect),
|
||||||
frameUnit, debugstr_w(desc), metafile);
|
frameUnit, debugstr_w(desc), metafile);
|
||||||
|
|
||||||
return NotImplemented;
|
return NotImplemented;
|
||||||
|
|
|
@ -461,7 +461,7 @@ GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *rect,
|
||||||
{
|
{
|
||||||
GpStatus stat;
|
GpStatus stat;
|
||||||
|
|
||||||
TRACE("%p, %p\n", rect, region);
|
TRACE("%s, %p\n", debugstr_rectf(rect), region);
|
||||||
|
|
||||||
if (!(rect && region))
|
if (!(rect && region))
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
Loading…
Reference in New Issue