From f42cbe6e28b0171f7164fc03b11d7b3b14fcf9f8 Mon Sep 17 00:00:00 2001 From: hugovk Date: Mon, 22 May 2017 23:02:08 +0300 Subject: [PATCH] Remove code 'not yet implemented' since May 10, 2003 --- path.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/path.c b/path.c index 4715e0679..b56ea838e 100644 --- a/path.c +++ b/path.c @@ -313,22 +313,6 @@ path_compact(PyPathObject* self, PyObject* args) return Py_BuildValue("i", i); /* number of removed vertices */ } -static PyObject* -path_clip_polygon(PyPathObject* self, PyObject* args) -{ - /* Clip path representing a single polygon */ - PyErr_SetString(PyExc_RuntimeError, "not yet implemented"); - return NULL; -} - -static PyObject* -path_clip_polyline(PyPathObject* self, PyObject* args) -{ - /* Clip path representing a single polyline (outline) */ - PyErr_SetString(PyExc_RuntimeError, "not yet implemented"); - return NULL; -} - static PyObject* path_getbbox(PyPathObject* self, PyObject* args) { @@ -534,8 +518,6 @@ path_transform(PyPathObject* self, PyObject* args) static struct PyMethodDef methods[] = { {"getbbox", (PyCFunction)path_getbbox, 1}, {"tolist", (PyCFunction)path_tolist, 1}, - {"clip_polygon", (PyCFunction)path_clip_polygon, 1}, - {"clip_polyline", (PyCFunction)path_clip_polyline, 1}, {"compact", (PyCFunction)path_compact, 1}, {"map", (PyCFunction)path_map, 1}, {"transform", (PyCFunction)path_transform, 1},