[][src]Crate etagere

Re-exports

pub extern crate euclid;

Structs

AllocId

ID referring to an allocated rectangle.

Allocation
AllocatorOptions

Options to tweak the behavior of the atlas allocator.

AtlasAllocator

A Shelf-packing dynamic texture atlas allocator, inspired by https://github.com/mapbox/shelf-pack/

Constants

DEFAULT_OPTIONS

Functions

dump_into_svg

Dump a visual representation of the atlas in SVG, omitting the beginning and end of the SVG document, so that it can be included in a larger document.

dump_svg

Dump a visual representation of the atlas in SVG format.

point2

Shorthand for Point2D::new(x, y).

size2

Shorthand for Size2D::new(w, h).

Type Definitions

Point
Rectangle
Size