Vincent Povirk : gdiplus: Add traces to unimplemented functions in graphics .c.
Alexandre Julliard
julliard at winehq.org
Mon Jan 4 10:54:17 CST 2010
Module: wine
Branch: master
Commit: 2005fe9881e7f83a131a74f6f66bd567d09dcf62
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2005fe9881e7f83a131a74f6f66bd567d09dcf62
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri Dec 18 16:04:20 2009 -0600
gdiplus: Add traces to unimplemented functions in graphics.c.
---
dlls/gdiplus/graphics.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index a4f1158..67b0ff9 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1201,6 +1201,8 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE hemf, BOOL delete,
{
static int calls;
+ TRACE("(%p,%i,%p)\n", hemf, delete, metafile);
+
if(!hemf || !metafile)
return InvalidParameter;
@@ -3064,6 +3066,8 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
{
static int calls;
+ TRACE("(%p,%u)\n", graphics, intention);
+
if(!graphics)
return InvalidParameter;
@@ -3161,14 +3165,14 @@ GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics *graphics,
GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics *graphics, ARGB* argb)
{
+ FIXME("(%p, %p): stub\n", graphics, argb);
+
if(!graphics || !argb)
return InvalidParameter;
if(graphics->busy)
return ObjectBusy;
- FIXME("(%p, %p): stub\n", graphics, argb);
-
return NotImplemented;
}
@@ -3455,12 +3459,12 @@ GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics* graphics,
GDIPCONST RectF* layoutRect, GDIPCONST GpStringFormat *stringFormat,
INT regionCount, GpRegion** regions)
{
- if (!(graphics && string && font && layoutRect && stringFormat && regions))
- return InvalidParameter;
-
FIXME("stub: %p %s %d %p %p %p %d %p\n", graphics, debugstr_w(string),
length, font, layoutRect, stringFormat, regionCount, regions);
+ if (!(graphics && string && font && layoutRect && stringFormat && regions))
+ return InvalidParameter;
+
return NotImplemented;
}
@@ -4013,6 +4017,8 @@ GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *metaf
{
static int calls;
+ TRACE("(%p,%u)\n", metafile, limitDpi);
+
if(!(calls++))
FIXME("not implemented\n");
More information about the wine-cvs
mailing list