70 Commits

Author SHA1 Message Date
f00d283c56 Add missing imports 2019-05-17 00:41:43 -07:00
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
2019-05-17 00:41:26 -07:00
16c6bfc70a Cosmetic changes to argument lists 2019-05-17 00:39:46 -07:00
38f64f7c62 Use __slots__ for class members
Also use the other sort of type hints for instance variables
2019-05-17 00:37:56 -07:00
a461446059 Custom deepcopy() implementations to help speed things up 2019-05-15 00:19:37 -07:00
8fe8bbd655 Normalization-related fixes 2019-04-20 14:18:52 -07:00
c6fac19fe0 Set standard constructor arg order and add rotation and mirrored args where reasonable 2019-04-20 14:18:25 -07:00
b295c318a9 Fix arc bounding box calculation 2018-10-28 13:32:04 -07:00
jan
f3115baabe Add get_cap_edges() 2018-09-16 20:33:55 -07:00
jan
832e3b46fa Add general angle-to-parameter helper function
and improve accuracy of to_polygons
2018-09-16 20:32:19 -07:00
jan
6bafaaf4fc Fix typo in arc docs 2018-08-30 23:06:45 -07:00
jan
d5a255a9d7 Add mirror() to shapes
Might need to fix ordering on Text.to_polygons()
2018-04-14 15:27:56 -07:00
jan
ccfd0f7f4f remove whitespace 2017-09-05 11:00:50 -07:00
jan
3d89cd42a0 further fixes to ellipse bounding box 2017-08-29 16:55:06 -07:00
jan
8256a540dc Use polar angle for ellipse bounds 2017-08-29 15:51:00 -07:00
jan
6cc6556e8a typo fix 2017-04-20 13:05:58 -07:00
jan
434178c853 correctly preserve total arc angle during normalize 2017-04-20 13:01:31 -07:00
ff76626e21 fix multiple bugs in arc and ellipse 2017-04-19 18:54:58 -07:00
jan
103e72628c Remove extra spaces 2016-10-19 16:52:40 -07:00
jan
5bf486ac81 Add all files to repository 2016-03-15 19:12:39 -07:00