Differential D9170 Diff 29819 source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
| Show All 34 Lines | |||||
| PyDoc_STRVAR( | PyDoc_STRVAR( | ||||
| StrokeVertex_doc, | StrokeVertex_doc, | ||||
| "Class hierarchy: :class:`Interface0D` > :class:`CurvePoint` > :class:`StrokeVertex`\n" | "Class hierarchy: :class:`Interface0D` > :class:`CurvePoint` > :class:`StrokeVertex`\n" | ||||
| "\n" | "\n" | ||||
| "Class to define a stroke vertex.\n" | "Class to define a stroke vertex.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| "\n" | " __init__(brother)\n" | ||||
| " Default constructor.\n" | " __init__(first_vertex, second_vertex, t3d)\n" | ||||
| "\n" | " __init__(point)\n" | ||||
| ".. method:: __init__(brother)\n" | " __init__(svertex)\n" | ||||
| "\n" | " __init__(svertex, attribute)\n" | ||||
| " Copy constructor.\n" | "\n" | ||||
| " Builds a :class:`StrokeVertex` using the default constructor,\n" | |||||
| " copy constructor, from 2 :class:`StrokeVertex` and an interpolation parameter,\n" | |||||
| " from a CurvePoint, from a SVertex, or a :class:`SVertex`" | |||||
| " and a :class:`StrokeAttribute` object.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: A StrokeVertex object.\n" | " :arg brother: A StrokeVertex object.\n" | ||||
| " :type brother: :class:`StrokeVertex`\n" | " :type brother: :class:`StrokeVertex`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(first_vertex, second_vertex, t3d)\n" | |||||
| "\n" | |||||
| " Build a stroke vertex from 2 stroke vertices and an interpolation\n" | |||||
| " parameter.\n" | |||||
| "\n" | |||||
| " :arg first_vertex: The first StrokeVertex.\n" | " :arg first_vertex: The first StrokeVertex.\n" | ||||
| " :type first_vertex: :class:`StrokeVertex`\n" | " :type first_vertex: :class:`StrokeVertex`\n" | ||||
| " :arg second_vertex: The second StrokeVertex.\n" | " :arg second_vertex: The second StrokeVertex.\n" | ||||
| " :type second_vertex: :class:`StrokeVertex`\n" | " :type second_vertex: :class:`StrokeVertex`\n" | ||||
| " :arg t3d: An interpolation parameter.\n" | " :arg t3d: An interpolation parameter.\n" | ||||
| " :type t3d: float\n" | " :type t3d: float\n" | ||||
| "\n" | |||||
| ".. method:: __init__(point)\n" | |||||
| "\n" | |||||
| " Build a stroke vertex from a CurvePoint\n" | |||||
| "\n" | |||||
| " :arg point: A CurvePoint object.\n" | " :arg point: A CurvePoint object.\n" | ||||
| " :type point: :class:`CurvePoint`\n" | " :type point: :class:`CurvePoint`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(svertex)\n" | |||||
| "\n" | |||||
| " Build a stroke vertex from a SVertex\n" | |||||
| "\n" | |||||
| " :arg svertex: An SVertex object.\n" | " :arg svertex: An SVertex object.\n" | ||||
| " :type svertex: :class:`SVertex`\n" | " :type svertex: :class:`SVertex`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(svertex, attribute)\n" | |||||
| "\n" | |||||
| " Build a stroke vertex from an SVertex and a StrokeAttribute object.\n" | |||||
| "\n" | |||||
| " :arg svertex: An SVertex object.\n" | " :arg svertex: An SVertex object.\n" | ||||
| " :type svertex: :class:`SVertex`\n" | " :type svertex: :class:`SVertex`\n" | ||||
| " :arg attribute: A StrokeAttribute object.\n" | " :arg attribute: A StrokeAttribute object.\n" | ||||
| " :type attribute: :class:`StrokeAttribute`"); | " :type attribute: :class:`StrokeAttribute`"); | ||||
| static int StrokeVertex_init(BPy_StrokeVertex *self, PyObject *args, PyObject *kwds) | static int StrokeVertex_init(BPy_StrokeVertex *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| ▲ Show 20 Lines • Show All 330 Lines • Show Last 20 Lines | |||||