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
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/lib/compass/sass_extensions/sprites/engines.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.3 lib/compass/sass_extensions/sprites/engines.rb
compass-0.13.alpha.2 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.2 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.2.rc.1 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.2.rc.0 lib/compass/sass_extensions/sprites/engines.rb
compass-0.13.alpha.0 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.1 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.0 lib/compass/sass_extensions/sprites/engines.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/compass-0.11.7/lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.rc.1 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.rc.0 lib/compass/sass_extensions/sprites/engines.rb
compass-0.11.7 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.alpha.4 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.alpha.3 lib/compass/sass_extensions/sprites/engines.rb
compass-0.11.6 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.alpha.2 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.alpha.1 lib/compass/sass_extensions/sprites/engines.rb
compass-0.12.alpha.0 lib/compass/sass_extensions/sprites/engines.rb