Sha256: e85c3a3b2026cf56e1dc533c122ff5aa63a0faf7a1e1fad2f7376c855628e7f0

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 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 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'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-sourcemaps-0.12.3.sourcemaps.a4836f1 lib/compass/sass_extensions/sprites/engines.rb
compass-sourcemaps-0.12.2.sourcemaps.57a186c lib/compass/sass_extensions/sprites/engines.rb