showing fe2o3_geom/README.md
Oxedyne Hematite (fe2o3)
Hematite is a collection of crates built from first principles, providing foundational tools for building robust applications. See the github repo for more information.
This crate
This is a fundamental geometry crate providing types and utilities for 2D layout and positioning. It implements rectangles, coordinates, and dimensions with both absolute and relative positioning support. The crate focuses on robust layout calculations with saturating arithmetic to prevent overflow errors.
Key features include:
- Safe dimension types with saturating arithmetic
- Absolute and relative rectangle positioning
- Flexible layout system with padding and fill options
- Clipping and intersection utilities
- Common alignment presets (top-left, centre, etc.)
This crate serves as a foundation for UI layout systems, particularly terminal user interfaces and widget layouts in the Hematite ecosystem.
Supporting Development
This project is developed and maintained through GitHub Sponsors. If you find Hematite valuable for your work or interesting as a project, consider supporting its continued development. No special perks or privileges - just sustainable open source development of innovative Rust infrastructure and apps.
GitHub Sponsors
License
See the LICENSE file for license rights and limitations.
Contact
<hello@oxedyne.com>
| Name | Size | What |
|---|---|---|
| examples/ | 28.5 KiB | 3 files |
| src/ | 267 KiB | 12 files |
| tests/ | 335 KiB | 238 files |
| Cargo.toml | 561 bytes | |
| LICENSE | 205 bytes | |
| LICENSE-APACHE | 11.1 KiB | |
| LICENSE-BSD | 1.3 KiB | |
| README.md | 1.4 KiB |