mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-05 02:09:44 +00:00
Remove support for clip by path
This is not supported currently anyway and was not generated before.
This commit is contained in:
parent
5e36912bb6
commit
831fb361fd
@ -2004,9 +2004,6 @@ static void canvas_clip_pixman(CanvasBase *canvas,
|
||||
|
||||
break;
|
||||
}
|
||||
case SPICE_CLIP_TYPE_PATH:
|
||||
CANVAS_ERROR("clip paths not supported anymore");
|
||||
break;
|
||||
default:
|
||||
CANVAS_ERROR("invalid clip type");
|
||||
}
|
||||
|
||||
@ -430,12 +430,6 @@ static void set_clip(GdiCanvas *canvas, SpiceClip *clip)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPICE_CLIP_TYPE_PATH:
|
||||
set_path(canvas, SPICE_GET_ADDRESS(clip->data));
|
||||
if (SelectClipPath(canvas->dc, RGN_COPY) == ERROR) {
|
||||
CANVAS_ERROR("Unable to SelectClipPath");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
CANVAS_ERROR("invalid clip type");
|
||||
}
|
||||
|
||||
@ -198,12 +198,6 @@ static void set_clip(GLCanvas *canvas, SpiceRect *bbox, SpiceClip *clip)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPICE_CLIP_TYPE_PATH: {
|
||||
GLCPath path = get_path(canvas, SPICE_GET_ADDRESS(clip->data));
|
||||
glc_clip_path(canvas->glc, path, GLC_CLIP_OP_SET);
|
||||
glc_path_destroy(path);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
CANVAS_ERROR("invalid clip type");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user