@@ -206,7 +206,7 @@ static PyObject *PyRendererAgg_draw_text_image(PyRendererAgg *self, PyObject *ar
206206
207207 if (!PyArg_ParseTuple (args,
208208 " O&dddO&:draw_text_image" ,
209- &numpy::convert_array_contiguous<agg::int8u, 2 > ,
209+ &image. converter_contiguous ,
210210 &image,
211211 &x,
212212 &y,
@@ -274,7 +274,7 @@ static PyObject *PyRendererAgg_draw_image(PyRendererAgg *self, PyObject *args, P
274274 &gc,
275275 &x,
276276 &y,
277- &numpy::convert_array_contiguous<agg::int8u, 3 > ,
277+ &image. converter_contiguous ,
278278 &image,
279279 &w,
280280 &h,
@@ -319,21 +319,21 @@ PyRendererAgg_draw_path_collection(PyRendererAgg *self, PyObject *args, PyObject
319319 &convert_trans_affine,
320320 &master_transform,
321321 &pathobj,
322- &numpy::convert_array< const double , 3 > ,
322+ &transforms. converter ,
323323 &transforms,
324- &numpy::convert_array< const double , 2 > ,
324+ &offsets. converter ,
325325 &offsets,
326326 &convert_trans_affine,
327327 &offset_trans,
328- &numpy::convert_array< const double , 2 > ,
328+ &facecolors. converter ,
329329 &facecolors,
330- &numpy::convert_array< const double , 2 > ,
330+ &edgecolors. converter ,
331331 &edgecolors,
332- &numpy::convert_array< const double , 1 > ,
332+ &linewidths. converter ,
333333 &linewidths,
334334 &convert_dashes_vector,
335335 &dashes,
336- &numpy::convert_array< const uint8_t , 1 > ,
336+ &antialiaseds. converter ,
337337 &antialiaseds,
338338 &ignored,
339339 &convert_offset_position,
@@ -388,16 +388,16 @@ static PyObject *PyRendererAgg_draw_quad_mesh(PyRendererAgg *self, PyObject *arg
388388 &master_transform,
389389 &mesh_width,
390390 &mesh_height,
391- &numpy::convert_array< const double , 3 > ,
391+ &coordinates. converter ,
392392 &coordinates,
393- &numpy::convert_array< const double , 2 > ,
393+ &offsets. converter ,
394394 &offsets,
395395 &convert_trans_affine,
396396 &offset_trans,
397- &numpy::convert_array< const double , 2 > ,
397+ &facecolors. converter ,
398398 &facecolors,
399399 &antialiased,
400- &numpy::convert_array< const double , 2 > ,
400+ &edgecolors. converter ,
401401 &edgecolors)) {
402402 return NULL ;
403403 }
@@ -429,9 +429,9 @@ PyRendererAgg_draw_gouraud_triangle(PyRendererAgg *self, PyObject *args, PyObjec
429429 " O&O&O&O&|O:draw_gouraud_triangle" ,
430430 &convert_gcagg,
431431 &gc,
432- &numpy::convert_array< const double , 2 > ,
432+ &points. converter ,
433433 &points,
434- &numpy::convert_array< const double , 2 > ,
434+ &colors. converter ,
435435 &colors,
436436 &convert_trans_affine,
437437 &trans)) {
@@ -455,9 +455,9 @@ PyRendererAgg_draw_gouraud_triangles(PyRendererAgg *self, PyObject *args, PyObje
455455 " O&O&O&O&|O:draw_gouraud_triangles" ,
456456 &convert_gcagg,
457457 &gc,
458- &numpy::convert_array< const double , 3 > ,
458+ &points. converter ,
459459 &points,
460- &numpy::convert_array< const double , 3 > ,
460+ &colors. converter ,
461461 &colors,
462462 &convert_trans_affine,
463463 &trans)) {
0 commit comments