Patrick Walton
8730df37a7
Quadratics work now for simple cases
2017-07-11 17:20:03 -07:00
Patrick Walton
a7ba7d200e
First draft of switch to quadratic Béziers
2017-07-10 20:07:10 -07:00
Patrick Walton
49026ae3c3
Fix off by one error
2017-07-10 14:52:43 -07:00
Patrick Walton
a7b61969ff
Fix compile errors in `partitionfinder.h`
2017-07-10 14:01:05 -07:00
Patrick Walton
bd3d8aae44
Merge branch 'master' of github.com:pcwalton/pathfinder
2017-07-10 12:17:04 -07:00
Patrick Walton
ca01e7eb6e
Subdivide cubic Béziers in the legalizer if not monotonically increasing in X.
2017-07-10 12:16:58 -07:00
Patrick Walton
efc8a8bfd7
Add the stub legalizer code to the C API
2017-07-09 13:59:33 -07:00
Patrick Walton
8bcf6de4f5
Add stub code for the legalizer, which will convert curves into monotonic segments.
2017-07-08 16:46:26 -07:00
Patrick Walton
9a9ef90cc9
Generate edge descriptors for instanced rendering when Levien AA is in use
2017-07-07 14:19:33 -07:00
Patrick Walton
0edb604612
Rename "bezieroid" to "B-quad"
2017-07-06 11:39:52 -07:00
Patrick Walton
56101cea9a
Add `no_mangle` in a few places
2017-07-05 19:50:49 -07:00
Patrick Walton
f2835071c7
Initial software tessellation code
2017-07-05 17:03:05 -07:00
Patrick Walton
a066e77c72
Clear out old bezieroids when partitioning a new path. Oops!
2017-07-04 11:51:58 -07:00
Patrick Walton
410d2aa6cd
Don't give up so quickly when performing Newton-Raphson
2017-07-03 20:25:55 -04:00
Patrick Walton
5393f63738
Set left endpoint indices properly on MIN points; basic paths without curves now partition properly
2017-07-03 20:02:59 -04:00
Patrick Walton
0468bbcc24
Fix more random silly bugs; a basic monotone polygon partitions correctly now
2017-07-03 19:26:55 -04:00
Patrick Walton
ffd167a342
Various bug fixes
2017-07-03 15:32:22 -04:00
Patrick Walton
b546ffebcc
Fix issues with jemalloc; remove the needless path index from `Subpath`
2017-07-02 16:41:33 -04:00
Patrick Walton
d695a3d11f
Implement some missing geometry methods, and remove the `Path` type.
...
With the removal of the `Path` type, partitioning multiple paths becomes the responsibility of the user of the library. The reason is that users of the partitioner will frequently want to parallelize over paths via e.g. rayon or Grand Central Dispatch, and we shouldn't mandate a particular parallelism technique.
2017-07-02 15:48:57 -04:00
Patrick Walton
2fde50113c
Initial commit of Pathfinder 2, still incomplete
2017-06-30 17:43:19 -07:00