Re-exports§
pub use resvg;
Structs§
- Sprite
- A single icon within a spritesheet.
- Sprite
Description - A description of a sprite image within a spritesheet. Used for the JSON output required by a Mapbox Style Specification index file.
- Spritesheet
- Spritesheet
Builder - Builder pattern for
Spritesheet
: construct aSpritesheet
object using calls to a builder helper.
Enums§
- Spreet
Error - Errors encountered during execution.
Functions§
- get_
svg_ input_ paths - Returns a vector of file paths matching all SVGs within the given directory.
- load_
svg - Load an SVG image from a file path.
- sprite_
name - Returns the name (unique id within a spritesheet) taken from a file.