Patrick Walton
|
a1b0df0a42
|
Rename `Point2DF` to `Vector2F`, `Point3DF` to `Vector4F`, and `LineSegmentF`
to `LineSegment2F`.
Straw poll on Twitter suggested that these names were preferred.
|
2019-06-03 12:39:29 -07:00 |
Patrick Walton
|
f20d41800c
|
Use a correct algorithm for approximating arcs with Bézier curves
|
2019-05-31 16:01:28 -07:00 |
Patrick Walton
|
712c69faf1
|
Precompute the curve for a quarter-circle arc
|
2019-05-30 21:20:32 -07:00 |
Patrick Walton
|
e1bcc11ace
|
Change the `F32` and `I32` suffixes to `F` and `I` to match the C API.
They're shorter and less noisy.
|
2019-05-29 19:17:16 -07:00 |
Patrick Walton
|
5133bbfe1a
|
Use unit vectors instead of angles for arcs.
This makes things faster and will also simplify the implementation of round
joins.
|
2019-05-29 12:14:47 -07:00 |
Patrick Walton
|
f24d93819b
|
Add arc building methods and switch the Moiré demo to use them.
Also, stop taking points by reference in many methods, for consistency.
|
2019-05-13 12:42:13 -07:00 |
Patrick Walton
|
a078766dc6
|
Implement basic text rendering in canvas with `skribo` and `font-kit`.
Skribo currently writes some debugging info to standard output. A patch is
forthcoming to fix that.
|
2019-05-09 15:21:18 -07:00 |
Patrick Walton
|
3310b15826
|
Fall back to Newton's method instead of dividing by zero when finding critical
points during curve monotonic conversion.
Closes #146.
|
2019-05-08 17:51:12 -07:00 |
Patrick Walton
|
0da11ffe01
|
Run `rustfmt` on the geometry crate
|
2019-04-29 16:46:35 -07:00 |
Patrick Walton
|
fc62e9bc71
|
Subdivide offset curves to an error bound.
|
2019-02-20 18:27:27 -08:00 |
Patrick Walton
|
3a8478a048
|
Remove all Lyon dependencies.
We may want to re-merge at a later date, but for now all relevant algorithms
have been appropriately SIMD-ified.
|
2019-02-20 16:46:50 -08:00 |
Patrick Walton
|
8771dd6789
|
wip: dilation not working yet
|
2019-02-05 20:10:20 -08:00 |
Patrick Walton
|
63b47f1abe
|
Move basic geometry primitives to the `pathfinder_geometry::basic` module
|
2019-02-04 20:20:32 -08:00 |
Patrick Walton
|
f19757e4cf
|
Add a fast path for monotonic conversion
|
2019-02-02 11:12:54 -08:00 |
Patrick Walton
|
2487d71879
|
Add more shuffles and rename combines for clarity
|
2019-02-01 12:16:42 -08:00 |
Patrick Walton
|
0b0c913332
|
Split out SIMD into a separate crate
|
2019-02-01 11:48:10 -08:00 |
Patrick Walton
|
4801503dd8
|
Fix curve/edge intersection logic in clipping
|
2019-01-31 10:12:37 -08:00 |
Patrick Walton
|
d1ca5fe757
|
Use a much better technique for curve flattening
|
2019-01-28 20:36:06 -08:00 |
Patrick Walton
|
a9c1760de5
|
Clipping mostly works now
|
2019-01-28 14:58:57 -08:00 |
Patrick Walton
|
7e3365c481
|
wip
|
2019-01-28 12:57:15 -08:00 |
Patrick Walton
|
938bd30a78
|
wip
|
2019-01-25 14:28:53 -08:00 |
Patrick Walton
|
3ce60afb44
|
Fix clipping
|
2019-01-22 11:46:01 -08:00 |
Patrick Walton
|
77f4f6b188
|
Add the Lyon interoperability to the geometry crate
|
2019-01-14 11:10:47 -08:00 |
Patrick Walton
|
41709daffa
|
Redo the way shuffles work
|
2019-01-12 18:10:18 -08:00 |
Patrick Walton
|
bbf193f00f
|
Remove simdeez
|
2019-01-12 17:13:58 -08:00 |
Patrick Walton
|
37e6e71251
|
Move the `Segment` type to the geometry crate
|
2019-01-11 15:50:09 -08:00 |