def move(self, (x, y)):
        oldBounds = self._boundsCache
        oldControlPointBounds = self._controlPointBoundsCache
        for contour in self._contours:
            contour.move((x, y))
        for component in self._components:
            component.move((x, y))
        for anchor in self._anchors:
            anchor.move((x, y))
        if oldBounds:
            xMin, yMin, xMax, yMax = oldBounds
            xMin += x
            yMin += y
            xMax += x
            yMax += y
            self._boundsCache = (xMin, yMin, xMax, yMax)
        if oldControlPointBounds:
            xMin, yMin, xMax, yMax = oldControlPointBounds
            xMin += x
            yMin += y
            xMax += x
            yMax += y
            self._controlPointBoundsCache = (xMin, yMin, xMax, yMax)
Filters incoming requests
dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/glyph.py/Glyph.move--crossover with--dataset/ETHPy150Open jacek99/corepost/corepost/routing.py/RequestRouter.__filterRequests