- Use edition 2021.
- Do SIMD runtime detection only once on the first
Rasterizer::new
instead of on each.
- Fix x86, x86_64 no_std builds, require
std
feature for runtime detected SIMD.
- Add runtime detected AVX2 or SSE4.2 line drawing. Improves performance on compatible x86_64 CPUs.
- Remove cap of
1.0
for coverage values returned byfor_each_pixel
now>= 1.0
means fully covered. This allows a minor reduction in operations / performance boost.
- Add
Rasterizer::reset
,Rasterizer::clear
methods to allow allocation reuse.
- Fix index oob panic scenario.
- For
Point
implementSub
,Add
,SubAssign
,AddAssign
,PartialEq
,PartialOrd
,From<(x, y)>
,From<[x, y]>
for easier use downstream. - Switch
Point
Debug
implementation to outputpoint(1.2, 3.4)
smaller representation referring to thepoint
fn.
- Add explicit compile error when building no_std without the "libm" feature.
- Implement zero dependency coverage rasterization for lines, quadratic & cubic beziers.