Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_geom

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>

NameSizeWhat
examples/28.5 KiB3 files
src/267 KiB12 files
tests/335 KiB238 files
Cargo.toml561 bytes
LICENSE205 bytes
LICENSE-APACHE11.1 KiB
LICENSE-BSD1.3 KiB
README.md1.4 KiB