Sha256: c8a5caeb77dd0786c2ba1c39d945a7bbb49c49e91e9350db979683d6260e3531

Contents?: true

Size: 210 Bytes

Versions: 29

Compression:

Stored size: 210 Bytes

Contents

module Squib
  class Card

    # :nodoc:
    # @api private
    def background(color)
      use_cairo do |cc|
        cc.set_source_squibcolor(color)
        cc.paint
      end
    end

  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
squib-0.18.0 lib/squib/graphics/background.rb
squib-0.17.2 lib/squib/graphics/background.rb
squib-0.17.1 lib/squib/graphics/background.rb
squib-0.17.0 lib/squib/graphics/background.rb
squib-0.16.0 lib/squib/graphics/background.rb
squib-0.16.0.pre.preview2 lib/squib/graphics/background.rb
squib-0.16.0.pre.preview1 lib/squib/graphics/background.rb
squib-0.15.3 lib/squib/graphics/background.rb
squib-0.15.0 lib/squib/graphics/background.rb
squib-0.14.3.pre1 lib/squib/graphics/background.rb
squib-0.14.1 lib/squib/graphics/background.rb
squib-0.14.0 lib/squib/graphics/background.rb
squib-0.14.beta1 lib/squib/graphics/background.rb
squib-0.13.4 lib/squib/graphics/background.rb
squib-0.13.3 lib/squib/graphics/background.rb
squib-0.13.2 lib/squib/graphics/background.rb
squib-0.13.1 lib/squib/graphics/background.rb
squib-0.13.0 lib/squib/graphics/background.rb
squib-0.12.0 lib/squib/graphics/background.rb
squib-0.11.0 lib/squib/graphics/background.rb