Expand description

Types for geometry calculations.

This is largely adapted from the smithay crate.

Modules

  • Tag types for makring the coordinate system of a value.

Structs

  • A size as defined by its width and height
  • A point as defined by its x and y coordinates
  • A rectangle defined by its top-left corner and dimensions
  • A two-dimensional scale

Enums

  • Possible transformations to two-dimensional planes

Traits

  • Trait for approximating a number to the nearest integer
  • A trait about the sign of a number.