Commit b0acdb83 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Limit fixme output.

parent 45c24bbe
...@@ -1200,9 +1200,12 @@ GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics *graphics, GpMatrix *matrix ...@@ -1200,9 +1200,12 @@ GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics *graphics, GpMatrix *matrix
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state) GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
{ {
static int calls;
if(!graphics) if(!graphics)
return InvalidParameter; return InvalidParameter;
if(!(calls++))
FIXME("graphics state not implemented\n"); FIXME("graphics state not implemented\n");
return NotImplemented; return NotImplemented;
...@@ -1210,9 +1213,12 @@ GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState stat ...@@ -1210,9 +1213,12 @@ GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState stat
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state) GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
{ {
static int calls;
if(!graphics || !state) if(!graphics || !state)
return InvalidParameter; return InvalidParameter;
if(!(calls++))
FIXME("graphics state not implemented\n"); FIXME("graphics state not implemented\n");
return NotImplemented; return NotImplemented;
......
...@@ -29,6 +29,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); ...@@ -29,6 +29,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
static DWORD gdip_to_gdi_dash(GpDashStyle dash) static DWORD gdip_to_gdi_dash(GpDashStyle dash)
{ {
static int calls;
switch(dash){ switch(dash){
case DashStyleSolid: case DashStyleSolid:
return PS_SOLID; return PS_SOLID;
...@@ -41,6 +43,7 @@ static DWORD gdip_to_gdi_dash(GpDashStyle dash) ...@@ -41,6 +43,7 @@ static DWORD gdip_to_gdi_dash(GpDashStyle dash)
case DashStyleDashDotDot: case DashStyleDashDotDot:
return PS_DASHDOTDOT; return PS_DASHDOTDOT;
case DashStyleCustom: case DashStyleCustom:
if(!(calls++))
FIXME("DashStyleCustom not implemented\n"); FIXME("DashStyleCustom not implemented\n");
return PS_SOLID; return PS_SOLID;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment