Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_SShape.cpp
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| /*----------------------SShape methods ----------------------------*/ | /*----------------------SShape methods ----------------------------*/ | ||||
| PyDoc_STRVAR(SShape_doc, | PyDoc_STRVAR(SShape_doc, | ||||
| "Class to define a feature shape. It is the gathering of feature\n" | "Class to define a feature shape. It is the gathering of feature\n" | ||||
| "elements from an identified input shape.\n" | "elements from an identified input shape.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Creates a :class:`SShape` class using either a default constructor or copy constructor.\n" | ||||
| "\n" | |||||
| ".. method:: __init__(brother)\n" | |||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: An SShape object.\n" | " :arg brother: An SShape object.\n" | ||||
| " :type brother: :class:`SShape`"); | " :type brother: :class:`SShape`"); | ||||
| static int SShape_init(BPy_SShape *self, PyObject *args, PyObject *kwds) | static int SShape_init(BPy_SShape *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist[] = {"brother", NULL}; | static const char *kwlist[] = {"brother", NULL}; | ||||
| PyObject *brother = 0; | PyObject *brother = 0; | ||||
| ▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines | |||||