Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_ViewShape.cpp
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| /*----------------------ViewShape methods ----------------------------*/ | /*----------------------ViewShape methods ----------------------------*/ | ||||
| PyDoc_STRVAR(ViewShape_doc, | PyDoc_STRVAR(ViewShape_doc, | ||||
| "Class gathering the elements of the ViewMap (i.e., :class:`ViewVertex`\n" | "Class gathering the elements of the ViewMap (i.e., :class:`ViewVertex`\n" | ||||
| "and :class:`ViewEdge`) that are issued from the same input shape.\n" | "and :class:`ViewEdge`) that are issued from the same input shape.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| " __init__(sshape)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Builds a :class:`ViewShape` using the default constructor,\n" | ||||
| "\n" | " copy constructor, or from a :class:`SShape`.\n" | ||||
| ".. method:: __init__(brother)\n" | |||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: A ViewShape object.\n" | " :arg brother: A ViewShape object.\n" | ||||
| " :type brother: :class:`ViewShape`\n" | " :type brother: :class:`ViewShape`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(sshape)\n" | |||||
| "\n" | |||||
| " Builds a ViewShape from an SShape.\n" | |||||
| "\n" | |||||
| " :arg sshape: An SShape object.\n" | " :arg sshape: An SShape object.\n" | ||||
| " :type sshape: :class:`SShape`"); | " :type sshape: :class:`SShape`"); | ||||
| static int ViewShape_init(BPy_ViewShape *self, PyObject *args, PyObject *kwds) | static int ViewShape_init(BPy_ViewShape *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| static const char *kwlist_2[] = {"sshape", NULL}; | static const char *kwlist_2[] = {"sshape", NULL}; | ||||
| PyObject *obj = 0; | PyObject *obj = 0; | ||||
| ▲ Show 20 Lines • Show All 317 Lines • Show Last 20 Lines | |||||