|
Blender V5.3
|
Go to the source code of this file.
Macros | |
| #define | MATHUTILS_SUBTYPE_COLOR 1 |
| #define | MATHUTILS_SUBTYPE_THICKNESS 2 |
Functions | |
| int | StrokeAttribute_Init (PyObject *module) |
| PyDoc_STRVAR (StrokeAttribute_doc, "Class to define a set of attributes associated with a :class:`StrokeVertex`.\n" "The attribute set stores the color, alpha and thickness values for a Stroke\n" "Vertex.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(red, green, blue, alpha, thickness_right, thickness_left)``\n" " - ``__init__(attribute1, attribute2, t)``\n" "\n" " Creates a :class:`StrokeAttribute` object using either a default constructor,\n" " copy constructor, overloaded constructor, or and interpolation constructor\n" " to interpolate between two :class:`StrokeAttribute` objects.\n" "\n" " :param brother: A StrokeAttribute object to be used as a copy constructor.\n" " :type brother: :class:`StrokeAttribute`\n" " :param red: Red component of a stroke color.\n" " :type red: float\n" " :param green: Green component of a stroke color.\n" " :type green: float\n" " :param blue: Blue component of a stroke color.\n" " :type blue: float\n" " :param alpha: Alpha component of a stroke color.\n" " :type alpha: float\n" " :param thickness_right: Stroke thickness on the right.\n" " :type thickness_right: float\n" " :param thickness_left: Stroke thickness on the left.\n" " :type thickness_left: float\n" " :param attribute1: The first StrokeAttribute object.\n" " :type attribute1: :class:`StrokeAttribute`\n" " :param attribute2: The second StrokeAttribute object.\n" " :type attribute2: :class:`StrokeAttribute`\n" " :param t: The interpolation parameter (0 <= t <= 1).\n" " :type t: float\n") | |
| static int | StrokeAttribute_init (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| static void | StrokeAttribute_dealloc (BPy_StrokeAttribute *self) |
| static PyObject * | StrokeAttribute_repr (BPy_StrokeAttribute *self) |
| PyDoc_STRVAR (StrokeAttribute_get_attribute_real_doc, ".. method:: get_attribute_real(name)\n" "\n" " Returns an attribute of float type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: float\n") | |
| static PyObject * | StrokeAttribute_get_attribute_real (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_get_attribute_vec2_doc, ".. method:: get_attribute_vec2(name)\n" "\n" " Returns an attribute of two-dimensional vector type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | StrokeAttribute_get_attribute_vec2 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_get_attribute_vec3_doc, ".. method:: get_attribute_vec3(name)\n" "\n" " Returns an attribute of three-dimensional vector type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | StrokeAttribute_get_attribute_vec3 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_has_attribute_real_doc, ".. method:: has_attribute_real(name)\n" "\n" " Checks whether the attribute name of float type is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n") | |
| static PyObject * | StrokeAttribute_has_attribute_real (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_has_attribute_vec2_doc, ".. method:: has_attribute_vec2(name)\n" "\n" " Checks whether the attribute name of two-dimensional vector type\n" " is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n") | |
| static PyObject * | StrokeAttribute_has_attribute_vec2 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_has_attribute_vec3_doc, ".. method:: has_attribute_vec3(name)\n" "\n" " Checks whether the attribute name of three-dimensional vector\n" " type is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n") | |
| static PyObject * | StrokeAttribute_has_attribute_vec3 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_set_attribute_real_doc, ".. method:: set_attribute_real(name, value)\n" "\n" " Adds a user-defined attribute of float type. If there is no\n" " attribute of the given name, it is added. Otherwise, the new value\n" " replaces the old one.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :param value: The attribute value.\n" " :type value: float\n") | |
| static PyObject * | StrokeAttribute_set_attribute_real (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_set_attribute_vec2_doc, ".. method:: set_attribute_vec2(name, value)\n" "\n" " Adds a user-defined attribute of two-dimensional vector type. If\n" " there is no attribute of the given name, it is added. Otherwise,\n" " the new value replaces the old one.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :param value: The attribute value.\n" " :type value: :class:`mathutils.Vector` | tuple[float, float, float] | list[float]\n") | |
| static PyObject * | StrokeAttribute_set_attribute_vec2 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeAttribute_set_attribute_vec3_doc, ".. method:: set_attribute_vec3(name, value)\n" "\n" " Adds a user-defined attribute of three-dimensional vector type.\n" " If there is no attribute of the given name, it is added.\n" " Otherwise, the new value replaces the old one.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :param value: The attribute value as a 3D vector.\n" " :type value: :class:`mathutils.Vector` | tuple[float, float, float] | list[float]\n") | |
| static PyObject * | StrokeAttribute_set_attribute_vec3 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds) |
| static int | StrokeAttribute_mathutils_check (blender::BaseMathObject *bmo) |
| static int | StrokeAttribute_mathutils_get (blender::BaseMathObject *bmo, int subtype) |
| static int | StrokeAttribute_mathutils_set (blender::BaseMathObject *bmo, int subtype) |
| static int | StrokeAttribute_mathutils_get_index (blender::BaseMathObject *bmo, int subtype, int index) |
| static int | StrokeAttribute_mathutils_set_index (blender::BaseMathObject *bmo, int subtype, int index) |
| void | StrokeAttribute_mathutils_register_callback () |
| PyDoc_STRVAR (StrokeAttribute_alpha_doc, "Alpha component of the stroke color.\n" "\n" ":type: float\n") | |
| static PyObject * | StrokeAttribute_alpha_get (BPy_StrokeAttribute *self, void *) |
| static int | StrokeAttribute_alpha_set (BPy_StrokeAttribute *self, PyObject *value, void *) |
| PyDoc_STRVAR (StrokeAttribute_color_doc, "RGB components of the stroke color.\n" "\n" ":type: :class:`mathutils.Color`\n") | |
| static PyObject * | StrokeAttribute_color_get (BPy_StrokeAttribute *self, void *) |
| static int | StrokeAttribute_color_set (BPy_StrokeAttribute *self, PyObject *value, void *) |
| PyDoc_STRVAR (StrokeAttribute_thickness_doc, "Right and left components of the stroke thickness.\n" "The right (left) component is the thickness on the right (left) of the vertex\n" "when following the stroke.\n" "\n" ":type: :class:`mathutils.Vector`\n") | |
| static PyObject * | StrokeAttribute_thickness_get (BPy_StrokeAttribute *self, void *) |
| static int | StrokeAttribute_thickness_set (BPy_StrokeAttribute *self, PyObject *value, void *) |
| PyDoc_STRVAR (StrokeAttribute_visible_doc, "The visibility flag. True if the StrokeVertex is visible.\n" "\n" ":type: bool\n") | |
| static PyObject * | StrokeAttribute_visible_get (BPy_StrokeAttribute *self, void *) |
| static int | StrokeAttribute_visible_set (BPy_StrokeAttribute *self, PyObject *value, void *) |
Variables | |
| static PyMethodDef | BPy_StrokeAttribute_methods [] |
| static blender::Mathutils_Callback | StrokeAttribute_mathutils_cb |
| static uchar | StrokeAttribute_mathutils_cb_index = -1 |
| static PyGetSetDef | BPy_StrokeAttribute_getseters [] |
| PyTypeObject | StrokeAttribute_Type |
| #define MATHUTILS_SUBTYPE_COLOR 1 |
Definition at line 531 of file BPy_StrokeAttribute.cpp.
Referenced by StrokeAttribute_color_get(), StrokeAttribute_mathutils_get(), StrokeAttribute_mathutils_get_index(), StrokeAttribute_mathutils_set(), and StrokeAttribute_mathutils_set_index().
| #define MATHUTILS_SUBTYPE_THICKNESS 2 |
Definition at line 532 of file BPy_StrokeAttribute.cpp.
Referenced by StrokeAttribute_mathutils_get(), StrokeAttribute_mathutils_get_index(), StrokeAttribute_mathutils_set(), StrokeAttribute_mathutils_set_index(), and StrokeAttribute_thickness_get().
| PyDoc_STRVAR | ( | StrokeAttribute_alpha_doc | , |
| "Alpha component of the stroke color.\n" "\n" ":type: float\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_color_doc | , |
| "RGB components of the stroke color.\n" "\n" ":type: :class:`mathutils.Color`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_doc | , |
| "Class to define a set of attributes associated with a :class:`StrokeVertex`.\n" "The attribute set stores the | color, | ||
| alpha and thickness values for a Stroke\n" "Vertex.\n" "\n" ".. method::__init__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(red, green, blue, alpha, thickness_right, thickness_left)``\n" " - ``__init__(attribute1, attribute2, t)``\n" "\n" " Creates a :class:`StrokeAttribute` object using either a default | constructor, | ||
| \n" " copy | constructor, | ||
| overloaded | constructor, | ||
| or and interpolation constructor\n" " to interpolate between two :class:`StrokeAttribute` objects.\n" "\n" " :param brother:A StrokeAttribute object to be used as a copy constructor.\n" " :type brother::class:`StrokeAttribute`\n" " :param red:Red component of a stroke color.\n" " :type red:float\n" " :param green:Green component of a stroke color.\n" " :type green:float\n" " :param blue:Blue component of a stroke color.\n" " :type blue:float\n" " :param alpha:Alpha component of a stroke color.\n" " :type alpha:float\n" " :param thickness_right:Stroke thickness on the right.\n" " :type thickness_right:float\n" " :param thickness_left:Stroke thickness on the left.\n" " :type thickness_left:float\n" " :param attribute1:The first StrokeAttribute object.\n" " :type attribute1::class:`StrokeAttribute`\n" " :param attribute2:The second StrokeAttribute object.\n" " :type attribute2::class:`StrokeAttribute`\n" " :param t:The interpolation parameter(0<=t<=1).\n" " :type t:float\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_get_attribute_real_doc | , |
| ".. method:: get_attribute_real(name)\n" "\n" " Returns an attribute of float type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: float\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_get_attribute_vec2_doc | , |
| ".. method:: get_attribute_vec2(name)\n" "\n" " Returns an attribute of two-dimensional vector type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_get_attribute_vec3_doc | , |
| ".. method:: get_attribute_vec3(name)\n" "\n" " Returns an attribute of three-dimensional vector type.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_has_attribute_real_doc | , |
| ".. method:: has_attribute_real(name)\n" "\n" " Checks whether the attribute name of float type is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_has_attribute_vec2_doc | , |
| ".. method:: has_attribute_vec2(name)\n" "\n" " Checks whether the attribute name of two-dimensional vector type\n" " is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_has_attribute_vec3_doc | , |
| ".. method:: has_attribute_vec3(name)\n" "\n" " Checks whether the attribute name of three-dimensional vector\n" " type is available.\n" "\n" " :param name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_set_attribute_real_doc | , |
| ".. method:: set_attribute_real(name, value)\n" "\n" " Adds a user-defined attribute of float type. If there is no\n" " attribute of the given | name, | ||
| it is added. | Otherwise, | ||
| the new value\n" " replaces the old one.\n" "\n" " :param name:The name of the attribute.\n" " :type name:str\n" " :param value:The attribute value.\n" " :type value:float\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_set_attribute_vec2_doc | , |
| ".. method:: set_attribute_vec2(name, value)\n" "\n" " Adds a user-defined attribute of two-dimensional vector type. If\n" " there is no attribute of the given | name, | ||
| it is added. | Otherwise, | ||
| \n" " the new value replaces the old one.\n" "\n" " :param name:The name of the attribute.\n" " :type name:str\n" " :param value:The attribute value.\n" " :type value::class:`mathutils.Vector`|tuple|list\n" | [float, float, float][float] ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_set_attribute_vec3_doc | , |
| ".. method:: set_attribute_vec3(name, value)\n" "\n" " Adds a user-defined attribute of three-dimensional vector type.\n" " If there is no attribute of the given | name, | ||
| it is added.\n" " | Otherwise, | ||
| the new value replaces the old one.\n" "\n" " :param name:The name of the attribute.\n" " :type name:str\n" " :param value:The attribute value as a 3D vector.\n" " :type value::class:`mathutils.Vector`|tuple|list\n" | [float, float, float][float] ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_thickness_doc | , |
| "Right and left components of the stroke thickness.\n" "The right (left) component is the thickness on the right (left) of the vertex\n" "when following the stroke.\n" "\n" ":type: :class:`mathutils.Vector`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeAttribute_visible_doc | , |
| "The visibility flag. True if the StrokeVertex is visible.\n" "\n" ":type: bool\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 664 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getAlpha(), BPy_StrokeAttribute::sa, and StrokeAttribute_alpha_get().
Referenced by StrokeAttribute_alpha_get().
|
static |
Definition at line 669 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setAlpha(), and StrokeAttribute_alpha_set().
Referenced by StrokeAttribute_alpha_set().
|
static |
Definition at line 689 of file BPy_StrokeAttribute.cpp.
References blender::Color_CreatePyObject_cb(), MATHUTILS_SUBTYPE_COLOR, StrokeAttribute_color_get(), and StrokeAttribute_mathutils_cb_index.
Referenced by StrokeAttribute_color_get().
|
static |
Definition at line 695 of file BPy_StrokeAttribute.cpp.
References blender::mathutils_array_parse(), BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setColor(), and StrokeAttribute_color_set().
Referenced by StrokeAttribute_color_set().
|
static |
Definition at line 147 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::borrowed, BPy_StrokeAttribute::sa, and StrokeAttribute_dealloc().
Referenced by StrokeAttribute_dealloc().
|
static |
Definition at line 176 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getAttributeReal(), BPy_StrokeAttribute::sa, and StrokeAttribute_get_attribute_real().
Referenced by StrokeAttribute_get_attribute_real().
|
static |
Definition at line 207 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getAttributeVec2f(), BPy_StrokeAttribute::sa, StrokeAttribute_get_attribute_vec2(), and Vector_from_Vec2f().
Referenced by StrokeAttribute_get_attribute_vec2().
|
static |
Definition at line 238 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getAttributeVec3f(), BPy_StrokeAttribute::sa, StrokeAttribute_get_attribute_vec3(), and Vector_from_Vec3f().
Referenced by StrokeAttribute_get_attribute_vec3().
|
static |
Definition at line 269 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::isAttributeAvailableReal(), PyBool_from_bool(), BPy_StrokeAttribute::sa, and StrokeAttribute_has_attribute_real().
Referenced by StrokeAttribute_has_attribute_real().
|
static |
Definition at line 300 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::isAttributeAvailableVec2f(), PyBool_from_bool(), BPy_StrokeAttribute::sa, and StrokeAttribute_has_attribute_vec2().
Referenced by StrokeAttribute_has_attribute_vec2().
|
static |
Definition at line 331 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::isAttributeAvailableVec3f(), PyBool_from_bool(), BPy_StrokeAttribute::sa, and StrokeAttribute_has_attribute_vec3().
Referenced by StrokeAttribute_has_attribute_vec3().
| int StrokeAttribute_Init | ( | PyObject * | module | ) |
Definition at line 20 of file BPy_StrokeAttribute.cpp.
References StrokeAttribute_Init(), StrokeAttribute_mathutils_register_callback(), and StrokeAttribute_Type.
Referenced by Freestyle_Init(), and StrokeAttribute_Init().
|
static |
Definition at line 77 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::borrowed, BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::StrokeAttribute(), StrokeAttribute_init(), and StrokeAttribute_Type.
Referenced by StrokeAttribute_init().
|
static |
Definition at line 534 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute_Check, and StrokeAttribute_mathutils_check().
Referenced by StrokeAttribute_mathutils_check().
|
static |
Definition at line 542 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getColorB(), Freestyle::StrokeAttribute::getColorG(), Freestyle::StrokeAttribute::getColorR(), Freestyle::StrokeAttribute::getThicknessL(), Freestyle::StrokeAttribute::getThicknessR(), MATHUTILS_SUBTYPE_COLOR, MATHUTILS_SUBTYPE_THICKNESS, BPy_StrokeAttribute::sa, and StrokeAttribute_mathutils_get().
Referenced by StrokeAttribute_mathutils_get().
|
static |
Definition at line 577 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getColorB(), Freestyle::StrokeAttribute::getColorG(), Freestyle::StrokeAttribute::getColorR(), Freestyle::StrokeAttribute::getThicknessL(), Freestyle::StrokeAttribute::getThicknessR(), index, MATHUTILS_SUBTYPE_COLOR, MATHUTILS_SUBTYPE_THICKNESS, BPy_StrokeAttribute::sa, and StrokeAttribute_mathutils_get_index().
Referenced by StrokeAttribute_mathutils_get_index().
| void StrokeAttribute_mathutils_register_callback | ( | ) |
Definition at line 651 of file BPy_StrokeAttribute.cpp.
References StrokeAttribute_mathutils_cb, StrokeAttribute_mathutils_cb_index, and StrokeAttribute_mathutils_register_callback().
Referenced by StrokeAttribute_Init(), and StrokeAttribute_mathutils_register_callback().
|
static |
Definition at line 561 of file BPy_StrokeAttribute.cpp.
References MATHUTILS_SUBTYPE_COLOR, MATHUTILS_SUBTYPE_THICKNESS, BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setColor(), Freestyle::StrokeAttribute::setThickness(), and StrokeAttribute_mathutils_set().
Referenced by StrokeAttribute_mathutils_set().
|
static |
Definition at line 616 of file BPy_StrokeAttribute.cpp.
References b, Freestyle::StrokeAttribute::getColorB(), Freestyle::StrokeAttribute::getColorG(), Freestyle::StrokeAttribute::getColorR(), Freestyle::StrokeAttribute::getThicknessL(), Freestyle::StrokeAttribute::getThicknessR(), index, MATHUTILS_SUBTYPE_COLOR, MATHUTILS_SUBTYPE_THICKNESS, BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setColor(), Freestyle::StrokeAttribute::setThickness(), and StrokeAttribute_mathutils_set_index().
Referenced by StrokeAttribute_mathutils_set_index().
|
static |
Definition at line 155 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::getAlpha(), Freestyle::StrokeAttribute::getColorB(), Freestyle::StrokeAttribute::getColorG(), Freestyle::StrokeAttribute::getColorR(), Freestyle::StrokeAttribute::getThicknessL(), Freestyle::StrokeAttribute::getThicknessR(), blender::PyC_UnicodeFromStdStr(), BPy_StrokeAttribute::sa, and StrokeAttribute_repr().
Referenced by StrokeAttribute_repr().
|
static |
Definition at line 363 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setAttributeReal(), and StrokeAttribute_set_attribute_real().
Referenced by StrokeAttribute_set_attribute_real().
|
static |
Definition at line 399 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setAttributeVec2f(), StrokeAttribute_set_attribute_vec2(), and Vec2f_ptr_from_PyObject().
Referenced by StrokeAttribute_set_attribute_vec2().
|
static |
Definition at line 441 of file BPy_StrokeAttribute.cpp.
References BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setAttributeVec3f(), StrokeAttribute_set_attribute_vec3(), and Vec3f_ptr_from_PyObject().
Referenced by StrokeAttribute_set_attribute_vec3().
|
static |
Definition at line 716 of file BPy_StrokeAttribute.cpp.
References MATHUTILS_SUBTYPE_THICKNESS, StrokeAttribute_mathutils_cb_index, StrokeAttribute_thickness_get(), and blender::Vector_CreatePyObject_cb().
Referenced by StrokeAttribute_thickness_get().
|
static |
Definition at line 722 of file BPy_StrokeAttribute.cpp.
References blender::mathutils_array_parse(), BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setThickness(), and StrokeAttribute_thickness_set().
Referenced by StrokeAttribute_thickness_set().
|
static |
Definition at line 741 of file BPy_StrokeAttribute.cpp.
References Freestyle::StrokeAttribute::isVisible(), PyBool_from_bool(), BPy_StrokeAttribute::sa, and StrokeAttribute_visible_get().
Referenced by StrokeAttribute_visible_get().
|
static |
Definition at line 746 of file BPy_StrokeAttribute.cpp.
References bool_from_PyBool(), BPy_StrokeAttribute::sa, Freestyle::StrokeAttribute::setVisible(), and StrokeAttribute_visible_set().
Referenced by StrokeAttribute_visible_set().
|
static |
Definition at line 758 of file BPy_StrokeAttribute.cpp.
|
static |
Definition at line 480 of file BPy_StrokeAttribute.cpp.
|
static |
Definition at line 641 of file BPy_StrokeAttribute.cpp.
Referenced by StrokeAttribute_mathutils_register_callback().
|
static |
Definition at line 649 of file BPy_StrokeAttribute.cpp.
Referenced by StrokeAttribute_color_get(), StrokeAttribute_mathutils_register_callback(), and StrokeAttribute_thickness_get().
| PyTypeObject StrokeAttribute_Type |
Definition at line 784 of file BPy_StrokeAttribute.cpp.
Referenced by BPy_StrokeAttribute_from_StrokeAttribute(), StrokeAttribute_Init(), StrokeAttribute_init(), and StrokeVertex_init().