Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
tatarize 0cf034c52f Fix move_center_to_origin 2023-11-06 04:14:04 -08:00
tatarize 4a24598307 Version bump 1.4.37 2023-11-06 03:32:34 -08:00
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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):

Wyświetl plik

@ -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",