Struct guillotiere::SimpleAtlasAllocator [−][src]
pub struct SimpleAtlasAllocator { /* fields omitted */ }
Expand description
A simpler atlas allocator implementation that can allocate rectangles but not deallocate them.
Implementations
Create a simple atlas allocator with the provided options.
Clear the allocator and reset its size and options.
Allocate a rectangle in the atlas.
Resize the atlas without changing the allocations.
This method is not allowed to shrink the width or height of the atlas.
Initialize this simple allocator with the content of an atlas allocator.