Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Color.c
| Show First 20 Lines • Show All 1,096 Lines • ▼ Show 20 Lines | PyDoc_STRVAR( | ||||
| ".. class:: Color(rgb)\n" | ".. class:: Color(rgb)\n" | ||||
| "\n" | "\n" | ||||
| " This object gives access to Colors in Blender.\n" | " This object gives access to Colors in Blender.\n" | ||||
| "\n" | "\n" | ||||
| " Most colors returned by Blender APIs are in scene linear color space, as defined by " | " Most colors returned by Blender APIs are in scene linear color space, as defined by " | ||||
| " the OpenColorIO configuration. The notable exception is user interface theming colors, " | " the OpenColorIO configuration. The notable exception is user interface theming colors, " | ||||
| " which are in sRGB color space.\n" | " which are in sRGB color space.\n" | ||||
| "\n" | "\n" | ||||
| " :param rgb: (r, g, b) color values\n" | " :arg rgb: (r, g, b) color values\n" | ||||
| " :type rgb: 3d vector\n"); | " :type rgb: 3d vector\n"); | ||||
| PyTypeObject color_Type = { | PyTypeObject color_Type = { | ||||
| PyVarObject_HEAD_INIT(NULL, 0) "Color", /* tp_name */ | PyVarObject_HEAD_INIT(NULL, 0) "Color", /* tp_name */ | ||||
| sizeof(ColorObject), /* tp_basicsize */ | sizeof(ColorObject), /* tp_basicsize */ | ||||
| 0, /* tp_itemsize */ | 0, /* tp_itemsize */ | ||||
| (destructor)BaseMathObject_dealloc, /* tp_dealloc */ | (destructor)BaseMathObject_dealloc, /* tp_dealloc */ | ||||
| (printfunc)NULL, /* tp_print */ | (printfunc)NULL, /* tp_print */ | ||||
| NULL, /* tp_getattr */ | NULL, /* tp_getattr */ | ||||
| ▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines | |||||