Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0305729 commit 2b2baa4Copy full SHA for 2b2baa4
1 file changed
src/py_converters_11.h
@@ -294,8 +294,7 @@ namespace PYBIND11_NAMESPACE { namespace detail {
294
value.join = src.attr("_joinstyle").cast<agg::line_join_e>();
295
value.dashes = src.attr("get_dashes")().cast<Dashes>();
296
value.cliprect = src.attr("_cliprect").cast<agg::rect_d>();
297
- /* value.clippath = src.attr("get_clip_path")().cast<ClipPath>(); */
298
- convert_clippath(src.attr("get_clip_path")().ptr(), &value.clippath);
+ value.clippath = src.attr("get_clip_path")().cast<ClipPath>();
299
value.snap_mode = src.attr("get_snap")().cast<e_snap_mode>();
300
value.hatchpath = src.attr("get_hatch_path")().cast<mpl::PathIterator>();
301
value.hatch_color = src.attr("get_hatch_color")().cast<agg::rgba>();
0 commit comments