From e0fd87aea19acd4d37b1fc387a85dc209a5ec3c4 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 30 Aug 2012 18:42:47 +0900 Subject: [PATCH] gdiplus: Print some additional information about device and image being drawn. --- dlls/gdiplus/graphics.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 383965a023d..640603a6c6c 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -3092,6 +3092,12 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image GpBitmap* bitmap = (GpBitmap*)image; int use_software=0; + TRACE("graphics: %.2fx%.2f dpi, fmt %#x, scale %f, image: %.2fx%.2f dpi, fmt %#x, color %08x\n", + graphics->xres, graphics->yres, + graphics->image && graphics->image->type == ImageTypeBitmap ? ((GpBitmap *)graphics->image)->format : 0, + graphics->scale, image->xres, image->yres, bitmap->format, + imageAttributes ? imageAttributes->outside_color : 0); + if (imageAttributes || (graphics->image && graphics->image->type == ImageTypeBitmap) || ptf[1].Y != ptf[0].Y || ptf[2].X != ptf[0].X ||