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
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
{
static int calls;
if(!graphics)
return InvalidParameter;
if(!(calls++))
FIXME("graphics state not implemented\n");
return NotImplemented;
......@@ -1210,9 +1213,12 @@ GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState stat
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
{
static int calls;
if(!graphics || !state)
return InvalidParameter;
if(!(calls++))
FIXME("graphics state not implemented\n");
return NotImplemented;
......
......@@ -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,6 +43,7 @@ static DWORD gdip_to_gdi_dash(GpDashStyle dash)
case DashStyleDashDotDot:
return PS_DASHDOTDOT;
case DashStyleCustom:
if(!(calls++))
FIXME("DashStyleCustom not implemented\n");
return PS_SOLID;
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