Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(2) | Derive(0) | Import(0)
Get a transformation that moves by dx, dy
@staticmethod def move(dx, dy): """Get a transformation that moves by dx, dy""" return Transform([[1, 0, dx], [0, 1, dy], [0, 0, 1]])
if m: x, y = float(m.group("x")), float(m.group("y")) nt = Transform.move(x,y) * nt m = re.match(r'matrix\((?P<a>[0-9.-]+),(?P<b>[0-9.-]+),(?P<c>[0-9.-]+),(?P<d>[0-9.-]+),(?P<e>[0-9.-]+),(?P<f>[0-9.-]+)\)', new_t)
src/p/y/Py2D-HEAD/py2d/SVG.py Py2D(Download)
if m: x, y = float(m.group("x")), float(m.group("y")) nt = Transform.move(x,y) * nt m = re.match(r'matrix\((?P<a>[0-9.-]+),(?P<b>[0-9.-]+),(?P<c>[0-9.-]+),(?P<d>[0-9.-]+),(?P<e>[0-9.-]+),(?P<f>[0-9.-]+)\)', new_t)