kopia lustrzana https://github.com/EmbroidePy/pyembroidery
Porównaj commity
2 Commity
7268266882
...
0cf034c52f
Autor | SHA1 | Data |
---|---|---|
tatarize | 0cf034c52f | |
tatarize | 4a24598307 |
|
@ -477,8 +477,8 @@ class EmbPattern:
|
|||
|
||||
def move_center_to_origin(self):
|
||||
extends = self.bounds()
|
||||
cx = round((extends[2] - extends[0]) / 2.0)
|
||||
cy = round((extends[3] - extends[1]) / 2.0)
|
||||
cx = round((extends[2] + extends[0]) / 2.0)
|
||||
cy = round((extends[3] + extends[1]) / 2.0)
|
||||
self.translate(-cx, -cy)
|
||||
|
||||
def translate(self, dx, dy):
|
||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|||
|
||||
setuptools.setup(
|
||||
name="pyembroidery",
|
||||
version="1.4.36",
|
||||
version="1.4.38",
|
||||
author="Tatarize",
|
||||
author_email="tatarize@gmail.com",
|
||||
description="Embroidery IO library",
|
||||
|
|
Ładowanie…
Reference in New Issue