49 #define PyRegion_Check(op) PyObject_TypeCheck(op, &ito::PythonRegion::PyRegionType)
54 static void PyRegion_dealloc(
PyRegion *self);
55 static PyObject* PyRegion_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
56 static int PyRegion_init(
PyRegion *self, PyObject *args, PyObject *kwds);
58 static PyObject* createPyRegion(
const QRegion ®ion);
63 static PyObject* PyRegion_repr(
PyRegion *self);
65 static PyObject* PyRegion_contains(
PyRegion *self, PyObject *args, PyObject *kwds);
66 static PyObject* PyRegion_intersected(
PyRegion *self, PyObject *args, PyObject *kwds);
67 static PyObject* PyRegion_intersects(
PyRegion *self, PyObject *args, PyObject *kwds);
68 static PyObject* PyRegion_subtracted(
PyRegion *self, PyObject *args, PyObject *kwds);
69 static PyObject* PyRegion_translate(
PyRegion *self, PyObject *args, PyObject *kwds);
70 static PyObject* PyRegion_translated(
PyRegion *self, PyObject *args, PyObject *kwds);
71 static PyObject* PyRegion_united(
PyRegion *self, PyObject *args, PyObject *kwds);
72 static PyObject* PyRegion_xored(
PyRegion *self, PyObject *args, PyObject *kwds);
74 static PyObject* PyRegion_createMask(
PyRegion *self, PyObject *args, PyObject *kwds);
79 static PyObject* PyRegion_Reduce(
PyRegion *self, PyObject *args);
80 static PyObject* PyRegion_SetState(
PyRegion *self, PyObject *args);
99 static PyObject* PyRegion_getEmpty(
PyRegion *self,
void *closure);
100 static PyObject* PyRegion_getRectCount(
PyRegion *self,
void *closure);
101 static PyObject* PyRegion_getRects(
PyRegion *self,
void *closure);
102 static PyObject* PyRegion_getBoundingRect(
PyRegion *self,
void *closure);
108 static PyMethodDef PyRegion_methods[];
109 static PyGetSetDef PyRegion_getseters[];
110 static PyTypeObject PyRegionType;
111 static PyModuleDef PyRegionModule;
112 static PyNumberMethods PyRegion_numberProtocol;
114 static void PyRegion_addTpDict(PyObject *tp_dict);