@@ -526,17 +526,6 @@ PyRendererAgg_draw_gouraud_triangles(PyRendererAgg *self, PyObject *args, PyObje
526526 Py_RETURN_NONE;
527527}
528528
529- static PyObject *
530- PyRendererAgg_get_content_extents (PyRendererAgg *self, PyObject *args, PyObject *kwds)
531- {
532- agg::rect_i extents;
533-
534- CALL_CPP (" get_content_extents" , (extents = self->x ->get_content_extents ()));
535-
536- return Py_BuildValue (
537- " iiii" , extents.x1 , extents.y1 , extents.x2 - extents.x1 , extents.y2 - extents.y1 );
538- }
539-
540529int PyRendererAgg_get_buffer (PyRendererAgg *self, Py_buffer *buf, int flags)
541530{
542531 Py_INCREF (self);
@@ -627,7 +616,6 @@ static PyTypeObject *PyRendererAgg_init_type(PyObject *m, PyTypeObject *type)
627616 {" draw_gouraud_triangle" , (PyCFunction)PyRendererAgg_draw_gouraud_triangle, METH_VARARGS, NULL },
628617 {" draw_gouraud_triangles" , (PyCFunction)PyRendererAgg_draw_gouraud_triangles, METH_VARARGS, NULL },
629618
630- {" get_content_extents" , (PyCFunction)PyRendererAgg_get_content_extents, METH_NOARGS, NULL },
631619 {" clear" , (PyCFunction)PyRendererAgg_clear, METH_NOARGS, NULL },
632620
633621 {" copy_from_bbox" , (PyCFunction)PyRendererAgg_copy_from_bbox, METH_VARARGS, NULL },
0 commit comments