keyset_geom/lib.rs
1//! This crate contains the geometry types used internally in [keyset]. At the moment it mainly just
2//! re-exports types from Kurbo with a few custom additions.
3//!
4//! [keyset]: https://crates.io/crates/keyset
5
6#![warn(
7 missing_docs,
8 clippy::all,
9 clippy::correctness,
10 clippy::suspicious,
11 clippy::style,
12 clippy::complexity,
13 clippy::perf,
14 clippy::pedantic,
15 clippy::cargo,
16 clippy::nursery
17)]
18#![allow(
19 clippy::suboptimal_flops // Optimiser is pretty good, and mul_add is pretty ugly
20)]
21
22mod round_rect;
23
24pub use round_rect::RoundRect;
25
26pub use kurbo::{Affine, Arc, BezPath, Circle, Insets, PathEl, Point, Rect, Shape, Size, Vec2};