gdiplus: Limit fixme output.

This commit is contained in:
Evan Stade 2007-07-24 17:19:09 -07:00 committed by Alexandre Julliard
parent 45c24bbef3
commit b0acdb8389
2 changed files with 12 additions and 3 deletions

View File

@ -1200,20 +1200,26 @@ GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics *graphics, GpMatrix *matrix
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
{
static int calls;
if(!graphics)
return InvalidParameter;
FIXME("graphics state not implemented\n");
if(!(calls++))
FIXME("graphics state not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
{
static int calls;
if(!graphics || !state)
return InvalidParameter;
FIXME("graphics state not implemented\n");
if(!(calls++))
FIXME("graphics state not implemented\n");
return NotImplemented;
}

View File

@ -29,6 +29,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
static DWORD gdip_to_gdi_dash(GpDashStyle dash)
{
static int calls;
switch(dash){
case DashStyleSolid:
return PS_SOLID;
@ -41,7 +43,8 @@ static DWORD gdip_to_gdi_dash(GpDashStyle dash)
case DashStyleDashDotDot:
return PS_DASHDOTDOT;
case DashStyleCustom:
FIXME("DashStyleCustom not implemented\n");
if(!(calls++))
FIXME("DashStyleCustom not implemented\n");
return PS_SOLID;
default:
ERR("Not a member of GpDashStyle enumeration\n");