Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
| Show All 30 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| /*----------------------ViewEdge methods ----------------------------*/ | /*----------------------ViewEdge methods ----------------------------*/ | ||||
| PyDoc_STRVAR(ViewEdge_doc, | PyDoc_STRVAR( | ||||
| ViewEdge_doc, | |||||
| "Class hierarchy: :class:`Interface1D` > :class:`ViewEdge`\n" | "Class hierarchy: :class:`Interface1D` > :class:`ViewEdge`\n" | ||||
| "\n" | "\n" | ||||
| "Class defining a ViewEdge. A ViewEdge in an edge of the image graph.\n" | "Class defining a ViewEdge. A ViewEdge in an edge of the image graph.\n" | ||||
| "it connects two :class:`ViewVertex` objects. It is made by connecting\n" | "it connects two :class:`ViewVertex` objects. It is made by connecting\n" | ||||
| "a set of FEdges.\n" | "a set of FEdges.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Builds a :class:`ViewEdge` using the default constructor or the copy constructor.\n" | ||||
| "\n" | |||||
| ".. method:: __init__(brother)\n" | |||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: A ViewEdge object.\n" | " :arg brother: A ViewEdge object.\n" | ||||
| " :type brother: :class:`ViewEdge`"); | " :type brother: :class:`ViewEdge`"); | ||||
| static int ViewEdge_init(BPy_ViewEdge *self, PyObject *args, PyObject *kwds) | static int ViewEdge_init(BPy_ViewEdge *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist[] = {"brother", NULL}; | static const char *kwlist[] = {"brother", NULL}; | ||||
| PyObject *brother = 0; | PyObject *brother = 0; | ||||
| if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &ViewEdge_Type, &brother)) { | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &ViewEdge_Type, &brother)) { | ||||
| return -1; | return -1; | ||||
| ▲ Show 20 Lines • Show All 363 Lines • Show Last 20 Lines | |||||