Blender  V3.3
Macros | Functions | Variables
BPy_StrokeAttribute.cpp File Reference
#include "BPy_StrokeAttribute.h"
#include "BPy_Convert.h"

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__()\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" " :arg brother: A StrokeAttribute object to be used as a copy constructor.\n" " :type brother: :class:`StrokeAttribute`\n" " :arg red: Red component of a stroke color.\n" " :type red: float\n" " :arg green: Green component of a stroke color.\n" " :type green: float\n" " :arg blue: Blue component of a stroke color.\n" " :type blue: float\n" " :arg alpha: Alpha component of a stroke color.\n" " :type alpha: float\n" " :arg thickness_right: Stroke thickness on the right.\n" " :type thickness_right: float\n" " :arg thickness_left: Stroke thickness on the left.\n" " :type thickness_left: float\n" " :arg attribute1: The first StrokeAttribute object.\n" " :type attribute1: :class:`StrokeAttribute`\n" " :arg attribute2: The second StrokeAttribute object.\n" " :type attribute2: :class:`StrokeAttribute`\n" " :arg 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" " :arg 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" " :arg 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" " :arg 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" " :arg 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" " :arg 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" " :arg 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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :arg 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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :arg value: The attribute value.\n" " :type value: :class:`mathutils.Vector`, list or tuple of 2 real numbers\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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :arg value: The attribute value.\n" " :type value: :class:`mathutils.Vector`, list or tuple of 3 real numbers\n")
 
static PyObject * StrokeAttribute_set_attribute_vec3 (BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
 
static int StrokeAttribute_mathutils_check (BaseMathObject *bmo)
 
static int StrokeAttribute_mathutils_get (BaseMathObject *bmo, int subtype)
 
static int StrokeAttribute_mathutils_set (BaseMathObject *bmo, int subtype)
 
static int StrokeAttribute_mathutils_get_index (BaseMathObject *bmo, int subtype, int index)
 
static int StrokeAttribute_mathutils_set_index (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")
 
static PyObject * StrokeAttribute_alpha_get (BPy_StrokeAttribute *self, void *UNUSED(closure))
 
static int StrokeAttribute_alpha_set (BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
 
 PyDoc_STRVAR (StrokeAttribute_color_doc, "RGB components of the stroke color.\n" "\n" ":type: :class:`mathutils.Color`")
 
static PyObject * StrokeAttribute_color_get (BPy_StrokeAttribute *self, void *UNUSED(closure))
 
static int StrokeAttribute_color_set (BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
 
 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`")
 
static PyObject * StrokeAttribute_thickness_get (BPy_StrokeAttribute *self, void *UNUSED(closure))
 
static int StrokeAttribute_thickness_set (BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
 
 PyDoc_STRVAR (StrokeAttribute_visible_doc, "The visibility flag. True if the StrokeVertex is visible.\n" "\n" ":type: bool")
 
static PyObject * StrokeAttribute_visible_get (BPy_StrokeAttribute *self, void *UNUSED(closure))
 
static int StrokeAttribute_visible_set (BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
 

Variables

static PyMethodDef BPy_StrokeAttribute_methods []
 
static Mathutils_Callback StrokeAttribute_mathutils_cb
 
static unsigned char StrokeAttribute_mathutils_cb_index = -1
 
static PyGetSetDef BPy_StrokeAttribute_getseters []
 
PyTypeObject StrokeAttribute_Type
 

Macro Definition Documentation

◆ MATHUTILS_SUBTYPE_COLOR

#define MATHUTILS_SUBTYPE_COLOR   1

Definition at line 422 of file BPy_StrokeAttribute.cpp.

◆ MATHUTILS_SUBTYPE_THICKNESS

#define MATHUTILS_SUBTYPE_THICKNESS   2

Definition at line 423 of file BPy_StrokeAttribute.cpp.

Function Documentation

◆ PyDoc_STRVAR() [1/14]

PyDoc_STRVAR ( StrokeAttribute_alpha_doc  ,
"Alpha component of the stroke color.\n" "\n" ":type: float  
)

◆ PyDoc_STRVAR() [2/14]

PyDoc_STRVAR ( StrokeAttribute_color_doc  ,
"RGB components of the stroke color.\n" "\n" ":type: :class:`mathutils.Color`"   
)

◆ PyDoc_STRVAR() [3/14]

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__()\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" " :arg brother:A StrokeAttribute object to be used as a copy constructor.\n" " :type brother::class:`StrokeAttribute`\n" " :arg red:Red component of a stroke color.\n" " :type red:float\n" " :arg green:Green component of a stroke color.\n" " :type green:float\n" " :arg blue:Blue component of a stroke color.\n" " :type blue:float\n" " :arg alpha:Alpha component of a stroke color.\n" " :type alpha:float\n" " :arg thickness_right:Stroke thickness on the right.\n" " :type thickness_right:float\n" " :arg thickness_left:Stroke thickness on the left.\n" " :type thickness_left:float\n" " :arg attribute1:The first StrokeAttribute object.\n" " :type attribute1::class:`StrokeAttribute`\n" " :arg attribute2:The second StrokeAttribute object.\n" " :type attribute2::class:`StrokeAttribute`\n" " :arg t:The interpolation parameter(0<=t<=1).\n" " :type t:float\n"   
)

◆ PyDoc_STRVAR() [4/14]

PyDoc_STRVAR ( StrokeAttribute_get_attribute_real_doc  ,
".. method:: get_attribute_real(name)\n" "\n" " Returns an attribute of float type.\n" "\n" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: float\n"   
)

◆ PyDoc_STRVAR() [5/14]

PyDoc_STRVAR ( StrokeAttribute_get_attribute_vec2_doc  ,
".. method:: get_attribute_vec2(name)\n" "\n" " Returns an attribute of two-dimensional vector type.\n" "\n" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n"   
)

◆ PyDoc_STRVAR() [6/14]

PyDoc_STRVAR ( StrokeAttribute_get_attribute_vec3_doc  ,
".. method:: get_attribute_vec3(name)\n" "\n" " Returns an attribute of three-dimensional vector type.\n" "\n" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: The attribute value.\n" " :rtype: :class:`mathutils.Vector`\n"   
)

◆ PyDoc_STRVAR() [7/14]

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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n"   
)

◆ PyDoc_STRVAR() [8/14]

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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n"   
)

◆ PyDoc_STRVAR() [9/14]

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" " :arg name: The name of the attribute.\n" " :type name: str\n" " :return: True if the attribute is available.\n" " :rtype: bool\n"   
)

◆ PyDoc_STRVAR() [10/14]

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" " :arg name:The name of the attribute.\n" " :type name:str\n" " :arg value:The attribute value.\n" " :type value:float\n"   
)

◆ PyDoc_STRVAR() [11/14]

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" " :arg name:The name of the attribute.\n" " :type name:str\n" " :arg value:The attribute value.\n" " :type value::class:`mathutils.Vector`  ,
list or tuple of 2 real numbers\n"   
)

◆ PyDoc_STRVAR() [12/14]

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" " :arg name:The name of the attribute.\n" " :type name:str\n" " :arg value:The attribute value.\n" " :type value::class:`mathutils.Vector`  ,
list or tuple of 3 real numbers\n"   
)

◆ PyDoc_STRVAR() [13/14]

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`"   
)

◆ PyDoc_STRVAR() [14/14]

PyDoc_STRVAR ( StrokeAttribute_visible_doc  ,
"The visibility flag. True if the StrokeVertex is visible.\n" "\n" ":type: bool  
)

◆ StrokeAttribute_alpha_get()

static PyObject* StrokeAttribute_alpha_get ( BPy_StrokeAttribute self,
void UNUSEDclosure 
)
static

Definition at line 548 of file BPy_StrokeAttribute.cpp.

References self.

◆ StrokeAttribute_alpha_set()

static int StrokeAttribute_alpha_set ( BPy_StrokeAttribute self,
PyObject *  value,
void UNUSEDclosure 
)
static

Definition at line 553 of file BPy_StrokeAttribute.cpp.

◆ StrokeAttribute_color_get()

static PyObject* StrokeAttribute_color_get ( BPy_StrokeAttribute self,
void UNUSEDclosure 
)
static

◆ StrokeAttribute_color_set()

static int StrokeAttribute_color_set ( BPy_StrokeAttribute self,
PyObject *  value,
void UNUSEDclosure 
)
static

Definition at line 578 of file BPy_StrokeAttribute.cpp.

References mathutils_array_parse(), and v.

◆ StrokeAttribute_dealloc()

static void StrokeAttribute_dealloc ( BPy_StrokeAttribute self)
static

Definition at line 125 of file BPy_StrokeAttribute.cpp.

References self.

◆ StrokeAttribute_get_attribute_real()

static PyObject* StrokeAttribute_get_attribute_real ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 153 of file BPy_StrokeAttribute.cpp.

References Freestyle::a.

◆ StrokeAttribute_get_attribute_vec2()

static PyObject* StrokeAttribute_get_attribute_vec2 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 177 of file BPy_StrokeAttribute.cpp.

References Freestyle::a, and Vector_from_Vec2f().

◆ StrokeAttribute_get_attribute_vec3()

static PyObject* StrokeAttribute_get_attribute_vec3 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 201 of file BPy_StrokeAttribute.cpp.

References Freestyle::a, and Vector_from_Vec3f().

◆ StrokeAttribute_has_attribute_real()

static PyObject* StrokeAttribute_has_attribute_real ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 225 of file BPy_StrokeAttribute.cpp.

References PyBool_from_bool(), and self.

◆ StrokeAttribute_has_attribute_vec2()

static PyObject* StrokeAttribute_has_attribute_vec2 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 249 of file BPy_StrokeAttribute.cpp.

References PyBool_from_bool(), and self.

◆ StrokeAttribute_has_attribute_vec3()

static PyObject* StrokeAttribute_has_attribute_vec3 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 273 of file BPy_StrokeAttribute.cpp.

References PyBool_from_bool(), and self.

◆ StrokeAttribute_init()

static int StrokeAttribute_init ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 73 of file BPy_StrokeAttribute.cpp.

References blue, green, red, StrokeAttribute_Type, and t.

◆ StrokeAttribute_Init()

int StrokeAttribute_Init ( PyObject *  module)

◆ StrokeAttribute_mathutils_check()

static int StrokeAttribute_mathutils_check ( BaseMathObject bmo)
static

Definition at line 425 of file BPy_StrokeAttribute.cpp.

References BPy_StrokeAttribute_Check.

◆ StrokeAttribute_mathutils_get()

static int StrokeAttribute_mathutils_get ( BaseMathObject bmo,
int  subtype 
)
static

◆ StrokeAttribute_mathutils_get_index()

static int StrokeAttribute_mathutils_get_index ( BaseMathObject bmo,
int  subtype,
int  index 
)
static

◆ StrokeAttribute_mathutils_register_callback()

void StrokeAttribute_mathutils_register_callback ( )

◆ StrokeAttribute_mathutils_set()

static int StrokeAttribute_mathutils_set ( BaseMathObject bmo,
int  subtype 
)
static

◆ StrokeAttribute_mathutils_set_index()

static int StrokeAttribute_mathutils_set_index ( BaseMathObject bmo,
int  subtype,
int  index 
)
static

◆ StrokeAttribute_repr()

static PyObject* StrokeAttribute_repr ( BPy_StrokeAttribute self)
static

Definition at line 133 of file BPy_StrokeAttribute.cpp.

◆ StrokeAttribute_set_attribute_real()

static PyObject* StrokeAttribute_set_attribute_real ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 298 of file BPy_StrokeAttribute.cpp.

◆ StrokeAttribute_set_attribute_vec2()

static PyObject* StrokeAttribute_set_attribute_vec2 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 325 of file BPy_StrokeAttribute.cpp.

References Vec2f_ptr_from_PyObject().

◆ StrokeAttribute_set_attribute_vec3()

static PyObject* StrokeAttribute_set_attribute_vec3 ( BPy_StrokeAttribute self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 358 of file BPy_StrokeAttribute.cpp.

References Vec3f_ptr_from_PyObject().

◆ StrokeAttribute_thickness_get()

static PyObject* StrokeAttribute_thickness_get ( BPy_StrokeAttribute self,
void UNUSEDclosure 
)
static

◆ StrokeAttribute_thickness_set()

static int StrokeAttribute_thickness_set ( BPy_StrokeAttribute self,
PyObject *  value,
void UNUSEDclosure 
)
static

Definition at line 603 of file BPy_StrokeAttribute.cpp.

References mathutils_array_parse(), and v.

◆ StrokeAttribute_visible_get()

static PyObject* StrokeAttribute_visible_get ( BPy_StrokeAttribute self,
void UNUSEDclosure 
)
static

Definition at line 620 of file BPy_StrokeAttribute.cpp.

References PyBool_from_bool(), and self.

◆ StrokeAttribute_visible_set()

static int StrokeAttribute_visible_set ( BPy_StrokeAttribute self,
PyObject *  value,
void UNUSEDclosure 
)
static

Definition at line 625 of file BPy_StrokeAttribute.cpp.

References bool_from_PyBool().

Variable Documentation

◆ BPy_StrokeAttribute_getseters

PyGetSetDef BPy_StrokeAttribute_getseters[]
static
Initial value:
= {
{"alpha",
StrokeAttribute_alpha_doc,
nullptr},
{"color",
StrokeAttribute_color_doc,
nullptr},
{"thickness",
StrokeAttribute_thickness_doc,
nullptr},
{"visible",
StrokeAttribute_visible_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static int StrokeAttribute_color_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static PyObject * StrokeAttribute_color_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static PyObject * StrokeAttribute_alpha_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static int StrokeAttribute_visible_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static int StrokeAttribute_alpha_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static PyObject * StrokeAttribute_thickness_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static int StrokeAttribute_thickness_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static PyObject * StrokeAttribute_visible_get(BPy_StrokeAttribute *self, void *UNUSED(closure))

Definition at line 637 of file BPy_StrokeAttribute.cpp.

◆ BPy_StrokeAttribute_methods

PyMethodDef BPy_StrokeAttribute_methods[]
static

Definition at line 379 of file BPy_StrokeAttribute.cpp.

◆ StrokeAttribute_mathutils_cb

Mathutils_Callback StrokeAttribute_mathutils_cb
static
Initial value:
= {
}
static int StrokeAttribute_mathutils_set(BaseMathObject *bmo, int subtype)
static int StrokeAttribute_mathutils_get_index(BaseMathObject *bmo, int subtype, int index)
static int StrokeAttribute_mathutils_check(BaseMathObject *bmo)
static int StrokeAttribute_mathutils_get(BaseMathObject *bmo, int subtype)
static int StrokeAttribute_mathutils_set_index(BaseMathObject *bmo, int subtype, int index)

Definition at line 526 of file BPy_StrokeAttribute.cpp.

Referenced by StrokeAttribute_mathutils_register_callback().

◆ StrokeAttribute_mathutils_cb_index

unsigned char StrokeAttribute_mathutils_cb_index = -1
static

◆ StrokeAttribute_Type

PyTypeObject StrokeAttribute_Type