diff --git a/src/skia/SamplingOptions.cpp b/src/skia/SamplingOptions.cpp index 10fef5ef4..0333529e8 100644 --- a/src/skia/SamplingOptions.cpp +++ b/src/skia/SamplingOptions.cpp @@ -32,8 +32,11 @@ void initSamplingOptions(py::module& m) { py::arg("SamplingOptions")) .def(py::init(), py::arg("CubicResampler")) + .def(py::init(), + py::arg("FilterMode")) .def(py::init(), py::arg("FilterMode"), py::arg("MipmapMode")) + .def("isAniso", &SkSamplingOptions::isAniso) .def_readonly("maxAniso", &SkSamplingOptions::maxAniso) .def_readonly("useCubic", &SkSamplingOptions::useCubic) .def_readonly("cubic", &SkSamplingOptions::cubic)