Module Compass::SassExtensions::Sprites::SpriteMethods
In: lib/compass/sass_extensions/sprites/sprite_methods.rb

Methods

Constants

SPRITE_VERSION = "1"   Changing this string will invalidate all previously generated sprite images. We should do so only when the packing algorithm changes

Public Instance methods

Calculates the overal image dimensions collects image sizes and input parameters for each sprite Calculates the height

Calculates the overal image dimensions collects image sizes and input parameters for each sprite

The on-the-disk filename of the sprite

Generate a sprite image if necessary

Does this sprite need to be generated

All the full-path filenames involved in this sprite

Creates the Sprite::Image objects for each image and calculates the width

Mtime of the sprite file

Checks whether this sprite is outdated

Saves the sprite engine

Calculate the size of the sprite

Returns the uniqueness hash for this sprite object

Validates that the sprite_names are valid sass

[Validate]