Module agera::geom

source ·
Expand description

Work with geometry.

Structs

  • Represents a circle.
  • Represents an ellipse.
  • Represents a two-dimensional transformation matrix that determines how to map points from one coordinate space to another. You can perform various graphical transformations on a display object by setting the properties of a Matrix2d object, applying that Matrix2d object to the display object through its set_transform_matrix() method. These transformation functions include translation (x and y repositioning), rotation, scaling, and skewing.
  • Represents a rectangle by its position followed by its size.
  • Represents a two-dimensional vector.