gdiplus: Add traces to unimplemented functions in graphics.c.

This commit is contained in:
Vincent Povirk 2009-12-18 16:04:20 -06:00 committed by Alexandre Julliard
parent e1f55929da
commit 2005fe9881
1 changed files with 11 additions and 5 deletions

View File

@ -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");