itom 2.0.0
ito::PythonRegion Class Reference

List of all members.

Classes

struct  PyRegion

Static Public Member Functions

static void PyRegion_dealloc (PyRegion *self)
static PyObject * PyRegion_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
static int PyRegion_init (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * createPyRegion (const QRegion &region)
static PyObject * PyRegion_repr (PyRegion *self)
static PyObject * PyRegion_contains (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_intersected (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_intersects (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_subtracted (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_translate (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_translated (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_united (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_xored (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_createMask (PyRegion *self, PyObject *args, PyObject *kwds)
static PyObject * PyRegion_Reduce (PyRegion *self, PyObject *args)
static PyObject * PyRegion_SetState (PyRegion *self, PyObject *args)
static PyObject * PyRegion_nbAdd (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbSubtract (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbAnd (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbXor (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbOr (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbInplaceAdd (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbInplaceSubtract (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbInplaceAnd (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbInplaceXor (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_nbInplaceOr (PyRegion *o1, PyRegion *o2)
static PyObject * PyRegion_getEmpty (PyRegion *self, void *closure)
static PyObject * PyFigure_getRectCount (PyRegion *self, void *closure)
static PyObject * PyFigure_getRects (PyRegion *self, void *closure)
static PyObject * PyFigure_getBoundingRect (PyRegion *self, void *closure)
static void PyRegion_addTpDict (PyObject *tp_dict)

Static Public Attributes

static PyMethodDef PyRegion_methods []
static PyGetSetDef PyRegion_getseters []
static PyTypeObject PyRegionType
static PyModuleDef PyRegionModule
static PyNumberMethods PyRegion_numberProtocol

Member Data Documentation

PyGetSetDef ito::PythonRegion::PyRegion_getseters [static]
Initial value:
 {
    {"empty", (getter)PyRegion_getEmpty, NULL, "Returns True if region is empty, else False", NULL},
    {"rectCount", (getter)PyFigure_getRectCount, NULL, "Returns True if region is empty, else False", NULL},
    {"rects", (getter)PyFigure_getRects, NULL, "Returns list of rectangles", NULL},
    {"boundingRect", (getter)PyFigure_getBoundingRect, NULL, "Returns (x,y,w,h) of the bounding rectangle of this region. An empty region returns None.", NULL},
    {NULL}  
}
PyMethodDef ito::PythonRegion::PyRegion_methods [static]
Initial value:
 {
    {"contains", (PyCFunction)PyRegion_contains, METH_VARARGS | METH_KEYWORDS, pyRegionContains_doc},
    {"intersected", (PyCFunction)PyRegion_intersected, METH_VARARGS | METH_KEYWORDS, pyRegionIntersected_doc},
    {"intersects", (PyCFunction)PyRegion_intersects, METH_VARARGS | METH_KEYWORDS, pyRegionIntersects_doc},
    {"subtracted", (PyCFunction)PyRegion_subtracted, METH_VARARGS | METH_KEYWORDS, pyRegionSubtracted_doc},
    {"translate", (PyCFunction)PyRegion_translate, METH_VARARGS | METH_KEYWORDS, pyRegionTranslate_doc},
    {"translated", (PyCFunction)PyRegion_translated, METH_VARARGS | METH_KEYWORDS, pyRegionTranslated_doc},
    {"united", (PyCFunction)PyRegion_united, METH_VARARGS | METH_KEYWORDS, pyRegionUnited_doc},
    {"xored", (PyCFunction)PyRegion_xored, METH_VARARGS | METH_KEYWORDS, pyRegionXored_doc},
    {"__reduce__", (PyCFunction)PyRegion_Reduce, METH_VARARGS,      "__reduce__ method for handle pickling commands"},
    {"__setstate__", (PyCFunction)PyRegion_SetState, METH_VARARGS,  "__setstate__ method for handle unpickling commands"},
    {"createMask", (PyCFunction)PyRegion_createMask, METH_VARARGS | METH_KEYWORDS, pyRegionCreateMask_doc },
    {NULL}  
}
PyModuleDef ito::PythonRegion::PyRegionModule [static]
Initial value:
 {
    PyModuleDef_HEAD_INIT, "region", "Region (wrapper for QRegion)", -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