Ejemplo n.º 1
1
static PyObject *
region_ShrinkRegion(PaxRegionObject *self, PyObject *args)
{
    int dx, dy;
    if (!PyArg_ParseTuple(args, "ii", &dx, &dy))
	return NULL;
    XShrinkRegion(self->region, dx, dy);
    Py_INCREF(Py_None);
    return Py_None;
}
Ejemplo n.º 2
0
void
CompRegion::shrink (int dx, int dy)
{
    priv->makeReal ();
    XShrinkRegion (handle (), dx, dy);
}