Sha256: 9bb3151755f9f49c70e2c93a57cbb3550ceb021ef6e69c8c672d9f823b47e44c

Contents?: true

Size: 620 Bytes

Versions: 24

Compression:

Stored size: 620 Bytes

Contents

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 impliment construct_sprite"
        end
        
        def save(filename)
          raise ::Compass::Error, "You must impliment save(filename)"
        end
        
      end
    end
  end
end


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

Version data entries

24 entries across 23 versions & 4 rubygems

Version Path
compass-rails31-0.12.0.alpha.0.91a748a lib/compass/sass_extensions/sprites/engines.rb
compass-0.11.5 lib/compass/sass_extensions/sprites/engines.rb
compass-0.11.4 lib/compass/sass_extensions/sprites/engines.rb
compass-0.11.3 lib/compass/sass_extensions/sprites/engines.rb