Crate guillotiere

Source

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 dynamic texture atlas allocator using the guillotine algorithm.
Change
ChangeList
SimpleAtlasAllocator
A simpler atlas allocator implementation that can allocate rectangles but not deallocate them.

Enums§

NodeKind

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 Aliases§

Point
Rectangle
Size