itom
Loading...
Searching...
No Matches
ito::PythonRegion Class Reference

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 * PyRegion_getRectCount (PyRegion *self, void *closure)
 
static PyObject * PyRegion_getRects (PyRegion *self, void *closure)
 
static PyObject * PyRegion_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

◆ PyRegion_getseters

PyGetSetDef ito::PythonRegion::PyRegion_getseters
static
Initial value:
= {
{"empty", (getter)PyRegion_getEmpty, NULL, pyRegion_getEmpty_doc, NULL},
{"rectCount", (getter)PyRegion_getRectCount, NULL, pyRegion_getRectCount_doc, NULL },
{"rects", (getter)PyRegion_getRects, NULL, pyRegion_getRects_doc, NULL },
{"boundingRect", (getter)PyRegion_getBoundingRect, NULL, pyRegion_getBoundingRect_doc, NULL },
{NULL}
}

◆ PyRegion_methods

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}
}

◆ PyRegionModule

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: