MCPcopy Index your code
hub / github.com/clips/pattern / _getrange

Method _getrange

pattern/web/pdf/utils.py:227–231  ·  view source on GitHub ↗
(self, (x0,y0,x1,y1))

Source from the content-addressed store, hash-verified

225 return obj in self._objs
226
227 def _getrange(self, (x0,y0,x1,y1)):
228 for y in drange(y0, y1, self.gridsize):
229 for x in drange(x0, x1, self.gridsize):
230 yield (x,y)
231 return
232
233 # add(obj): place an object.
234 def add(self, obj):

Callers 3

addMethod · 0.95
removeMethod · 0.95
findMethod · 0.95

Calls 1

drangeFunction · 0.85

Tested by

no test coverage detected