![]() |
Blender V2.61 - r43446
|
Go to the source code of this file.
Classes | |
| struct | ColorObject |
Defines | |
| #define | ColorObject_Check(_v) PyObject_TypeCheck((_v), &color_Type) |
Functions | |
| PyObject * | Color_CreatePyObject (float *col, int type, PyTypeObject *base_type) |
| PyObject * | Color_CreatePyObject_cb (PyObject *cb_user, int cb_type, int cb_subtype) |
Variables | |
| PyTypeObject | color_Type |
Definition in file mathutils_Color.h.
| #define ColorObject_Check | ( | _v | ) | PyObject_TypeCheck((_v), &color_Type) |
Definition at line 39 of file mathutils_Color.h.
Referenced by Color_add(), Color_div(), Color_iadd(), Color_isub(), Color_mul(), Color_richcmpr(), Color_sub(), mathutils_array_parse(), and mathutils_array_parse_alloc().
| PyObject* Color_CreatePyObject | ( | float * | col, |
| int | type, | ||
| PyTypeObject * | base_type | ||
| ) |
Definition at line 855 of file mathutils_Color.c.
References COLOR_SIZE, copy_v3_v3(), NULL, Py_NEW, Py_WRAP, and zero_v3().
Referenced by Color_add(), Color_copy(), Color_CreatePyObject_cb(), color_mul_float(), Color_neg(), Color_new(), Color_sub(), and pyrna_math_object_from_array().
| PyObject* Color_CreatePyObject_cb | ( | PyObject * | cb_user, |
| int | cb_type, | ||
| int | cb_subtype | ||
| ) |
Definition at line 888 of file mathutils_Color.c.
References Color_CreatePyObject(), and Py_NEW.
Referenced by pyrna_math_object_from_array().
| PyTypeObject color_Type |
Definition at line 801 of file mathutils_Color.c.
Referenced by PyInit_mathutils().