Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp
| Show All 35 Lines | |||||
| PyDoc_STRVAR(FrsCurve_doc, | PyDoc_STRVAR(FrsCurve_doc, | ||||
| "Class hierarchy: :class:`Interface1D` > :class:`Curve`\n" | "Class hierarchy: :class:`Interface1D` > :class:`Curve`\n" | ||||
| "\n" | "\n" | ||||
| "Base class for curves made of CurvePoints. :class:`SVertex` is the\n" | "Base class for curves made of CurvePoints. :class:`SVertex` is the\n" | ||||
| "type of the initial curve vertices. A :class:`Chain` is a\n" | "type of the initial curve vertices. A :class:`Chain` is a\n" | ||||
| "specialization of a Curve.\n" | "specialization of a Curve.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| " __init__(id)\n" | |||||
| "\n" | "\n" | ||||
| " Default Constructor.\n" | " Builds a :class:`FrsCurve` using a default constructor,\n" | ||||
| "\n" | " copy constructor or from an :class:`Id`.\n" | ||||
| ".. method:: __init__(brother)\n" | |||||
| "\n" | |||||
| " Copy Constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: A Curve object.\n" | " :arg brother: A Curve object.\n" | ||||
| " :type brother: :class:`Curve`\n" | " :type brother: :class:`Curve`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(id)\n" | |||||
| "\n" | |||||
| " Builds a Curve from its Id.\n" | |||||
| "\n" | |||||
| " :arg id: An Id object.\n" | " :arg id: An Id object.\n" | ||||
| " :type id: :class:`Id`"); | " :type id: :class:`Id`"); | ||||
| static int FrsCurve_init(BPy_FrsCurve *self, PyObject *args, PyObject *kwds) | static int FrsCurve_init(BPy_FrsCurve *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| static const char *kwlist_2[] = {"id", NULL}; | static const char *kwlist_2[] = {"id", NULL}; | ||||
| PyObject *obj = 0; | PyObject *obj = 0; | ||||
| ▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines | |||||