gdiplus: Print some additional information about device and image being drawn.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Aug 30 04:42:47 CDT 2012
---
dlls/gdiplus/graphics.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 383965a..640603a 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 ||
--
1.7.11.5
More information about the wine-patches
mailing list