itom 1.3.0
ito::PythonRgba Class Reference

List of all members.

Classes

struct  PyRgba

Static Public Member Functions

static void PyRgba_dealloc (PyRgba *self)
static PyObject * PyRgba_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
static int PyRgba_init (PyRgba *self, PyObject *args, PyObject *kwds)
static PyRgbacreateEmptyPyRgba ()
static bool checkPyRgba (int number, PyObject *rgba1=NULL, PyObject *rgba2=NULL, PyObject *rgba3=NULL)
static PyObject * PyRgba_name (PyRgba *self)
static PyObject * PyRgba_repr (PyRgba *self)
static PyObject * PyRgba_RichCompare (PyRgba *self, PyObject *other, int cmp_op)
static PyObject * PyRgba_getValue (PyRgba *self, void *closure)
static int PyRgba_setValue (PyRgba *self, PyObject *value, void *closure)
static PyObject * PyRgba_Reduce (PyRgba *self, PyObject *args)
static PyObject * PyRgba_SetState (PyRgba *self, PyObject *args)
static PyObject * PyRgba_nbAdd (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbSubtract (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbMultiply (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbPositive (PyObject *o1)
static PyObject * PyRgba_nbAbsolute (PyObject *o1)
static PyObject * PyRgba_nbInvert (PyObject *o1)
static PyObject * PyRgba_nbLshift (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbRshift (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbAnd (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbXor (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbOr (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceAdd (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceSubtract (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceMultiply (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceLshift (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceRshift (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceAnd (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceXor (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_nbInplaceOr (PyObject *o1, PyObject *o2)
static PyObject * PyRgba_StaticZeros (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * PyRgba_StaticOnes (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * PyRgba_StaticRand (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * PyRgba_StaticRandN (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * PyRgba_StaticEye (PyObject *self, PyObject *args)

Static Public Attributes

static PyGetSetDef PyRgba_getseters []
static PyMemberDef PyRgba_members []
static PyMethodDef PyRgba_methods []
static PyTypeObject PyRgbaType
static PyModuleDef PyRgbaModule
static PyNumberMethods PyRgba_numberProtocol

Member Data Documentation

PyGetSetDef ito::PythonRgba::PyRgba_getseters [static]
Initial value:
 {
    
    {NULL}  
}
PyMemberDef ito::PythonRgba::PyRgba_members [static]
Initial value:
 {

        {"r", T_UBYTE, offsetof(PyRgba, rgba.r), 0, "red"}, 
        {"g", T_UBYTE, offsetof(PyRgba, rgba.g), 0, "green"}, 
        {"b", T_UBYTE, offsetof(PyRgba, rgba.b), 0, "blue"}, 
        {"alpha", T_UBYTE, offsetof(PyRgba, rgba.a), 0, "alpha"}, 

        {NULL}  
    }
PyMethodDef ito::PythonRgba::PyRgba_methods [static]
Initial value:
 {
        {"name", (PyCFunction)PythonRgba::PyRgba_name, METH_NOARGS, ""},
        
        {"__reduce__", (PyCFunction)PythonRgba::PyRgba_Reduce, METH_VARARGS, "__reduce__ method for handle pickling commands"},
        {"__setstate__", (PyCFunction)PythonRgba::PyRgba_SetState, METH_VARARGS, "__setstate__ method for handle unpickling commands"},
        
        {NULL}  
    }
PyModuleDef ito::PythonRgba::PyRgbaModule [static]
Initial value:
 {
        PyModuleDef_HEAD_INIT,
        "rgba",
        "Itom Rgba color type in python",
        -1,
        NULL, NULL, NULL, NULL, NULL
    }

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends