Thomas Friedel
|
50c77477c9
|
another triangulation bugfix, points should be considered inside the polygon if they are on a line, with a small amount of tolerance
|
2020-02-01 16:25:11 +01:00 |
|
Thomas Friedel
|
1333730731
|
fixed a triangulation bug
|
2020-02-01 15:51:21 +01:00 |
|
Thomas Friedel
|
a4826a3e12
|
fixed a problem with closed paths and self intersecting polygons
added the readme example as a test
|
2019-05-12 13:05:49 +02:00 |
|
Thomas Friedel
|
ff4c73b6b7
|
fixed a transformation issue
|
2019-04-17 16:11:25 +02:00 |
|
Thomas Friedel
|
70ece785e9
|
implemented self intersecting polygon support
|
2019-04-16 14:18:51 +02:00 |
|
Thomas Friedel
|
7c4521b227
|
added a function to check if a point is in a path
|
2019-04-10 11:59:26 +02:00 |
|
Thomas Friedel
|
fe9d6e60e4
|
moved clipping to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
38eddd2837
|
moved a lot of fill code to the backend; also started moving shadow drawing code to backend
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
c1f855278d
|
undid some of the changes from the last update since it didn't work properly; added some tests
|
2019-01-25 13:16:48 +01:00 |
|
Thomas Friedel
|
61612d0b50
|
fixed a bug in the triangulation function
|
2018-07-27 16:46:18 +02:00 |
|
Thomas Friedel
|
7be3a4383c
|
paths with sub-paths fixed
|
2018-04-04 16:01:11 +02:00 |
|
Thomas Friedel
|
26d11865b5
|
switched from float32 to float64 for better compatibility with the default go math package; moved vector and matrix code into package
|
2018-03-21 12:45:32 +01:00 |
|
Thomas Friedel
|
d6b0dc454b
|
improved triangulation so that empty triangles can get removed, which can happen with self-intersecting polygons
|
2018-02-12 10:32:38 +01:00 |
|
Thomas Friedel
|
31c2eb204e
|
fixed the line intersection calculation; splitting polygons at self-intersections now works
|
2018-02-12 10:30:49 +01:00 |
|
Thomas Friedel
|
a7c6f10541
|
added some code to cut the intersections in self-intersecting polygons, but didn't activate it yet since it doesn't seem to work
|
2018-02-11 17:28:41 +01:00 |
|
Thomas Friedel
|
0bd060ae1b
|
path points are now transformed by the transformation matrix as they are added
|
2018-02-05 19:53:10 +01:00 |
|
Thomas Friedel
|
47e34cc670
|
changed library import path
|
2018-01-25 10:57:28 +01:00 |
|
Thomas Friedel
|
97615b7595
|
added polygon filling
|
2018-01-24 16:59:07 +01:00 |
|