All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.compass-1.0.3.lib.compass.sass_extensions.sprites.engines.rb Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
module Compass
  module SassExtensions
    module Sprites
      class Engine
        attr_accessor :width, :height, :images, :canvas
        def initialize(width, height, images)
          @width, @height, @images = width, height, images
          @canvas = nil
        end
        
        def construct_sprite
          raise ::Compass::Error, "You must implement construct_sprite"
        end
        
        def save(filename)
          raise ::Compass::Error, "You must implement save(filename)"
        end
        
      end
    end
  end
end


require 'compass/sass_extensions/sprites/engines/chunky_png_engine'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy