Commit Graph

20 Commits (09711116a739369470ed35cfb7c86895479fca59)

Author SHA1 Message Date
Jan Petykiewicz f00d283c56 Add missing imports 5 years ago
Jan Petykiewicz 032c410b43 Add mirror_x to extrinsic properties
It's not implemented for Polygon shapes, since I haven't thought about
how to normalize those for reflection yet
5 years ago
Jan Petykiewicz 16c6bfc70a Cosmetic changes to argument lists 5 years ago
Jan Petykiewicz 38f64f7c62 Use __slots__ for class members
Also use the other sort of type hints for instance variables
5 years ago
Jan Petykiewicz a461446059 Custom deepcopy() implementations to help speed things up 5 years ago
Jan Petykiewicz 8fe8bbd655 Normalization-related fixes 5 years ago
Jan Petykiewicz c6fac19fe0 Set standard constructor arg order and add `rotation` and `mirrored` args where reasonable 5 years ago
Jan Petykiewicz b295c318a9 Fix arc bounding box calculation 6 years ago
jan f3115baabe Add get_cap_edges() 6 years ago
jan 832e3b46fa Add general angle-to-parameter helper function
and improve accuracy of to_polygons
6 years ago
jan 6bafaaf4fc Fix typo in arc docs 6 years ago
jan d5a255a9d7 Add mirror() to shapes
Might need to fix ordering on Text.to_polygons()
6 years ago
jan ccfd0f7f4f remove whitespace 7 years ago
jan 3d89cd42a0 further fixes to ellipse bounding box 7 years ago
jan 8256a540dc Use polar angle for ellipse bounds 7 years ago
jan 6cc6556e8a typo fix 7 years ago
jan 434178c853 correctly preserve total arc angle during normalize 7 years ago
Jan Petykiewicz ff76626e21 fix multiple bugs in arc and ellipse 7 years ago
jan 103e72628c Remove extra spaces 8 years ago
jan 5bf486ac81 Add all files to repository 8 years ago