------------------------------------------------------------------------------
| 146 | |
| 147 | //------------------------------------------------------------------------------ |
| 148 | bool vtkPythonItem::Paint(vtkContext2D* painter) |
| 149 | { |
| 150 | vtkPythonScopeGilEnsurer gilEnsurer; |
| 151 | const char* mname = "Paint"; |
| 152 | VTK_GET_METHOD(method, this->Object, mname, 0) |
| 153 | |
| 154 | PyObject* vtkself = VTKToPython(this); |
| 155 | PyObject* pypainter = VTKToPython(painter); |
| 156 | vtkSmartPyObject args(PyTuple_Pack(2, vtkself, pypainter)); |
| 157 | Py_DECREF(vtkself); |
| 158 | Py_DECREF(pypainter); |
| 159 | |
| 160 | vtkSmartPyObject result(PyObject_Call(method, args, nullptr)); |
| 161 | |
| 162 | return CheckResult(mname, result); |
| 163 | } |
| 164 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected