mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Remove code 'not yet implemented' since May 10, 2003
This commit is contained in:
parent
59a3e47e4e
commit
f42cbe6e28
18
path.c
18
path.c
|
@ -313,22 +313,6 @@ path_compact(PyPathObject* self, PyObject* args)
|
||||||
return Py_BuildValue("i", i); /* number of removed vertices */
|
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*
|
static PyObject*
|
||||||
path_getbbox(PyPathObject* self, PyObject* args)
|
path_getbbox(PyPathObject* self, PyObject* args)
|
||||||
{
|
{
|
||||||
|
@ -534,8 +518,6 @@ path_transform(PyPathObject* self, PyObject* args)
|
||||||
static struct PyMethodDef methods[] = {
|
static struct PyMethodDef methods[] = {
|
||||||
{"getbbox", (PyCFunction)path_getbbox, 1},
|
{"getbbox", (PyCFunction)path_getbbox, 1},
|
||||||
{"tolist", (PyCFunction)path_tolist, 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},
|
{"compact", (PyCFunction)path_compact, 1},
|
||||||
{"map", (PyCFunction)path_map, 1},
|
{"map", (PyCFunction)path_map, 1},
|
||||||
{"transform", (PyCFunction)path_transform, 1},
|
{"transform", (PyCFunction)path_transform, 1},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user