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.10.0 lib/squib/graphics/background.rb
squib-0.9.0 lib/squib/graphics/background.rb
squib-0.8.0 lib/squib/graphics/background.rb
squib-0.7.0 lib/squib/graphics/background.rb
squib-0.6.0 lib/squib/graphics/background.rb
squib-0.5.1 lib/squib/graphics/background.rb
squib-0.5.0 lib/squib/graphics/background.rb
squib-0.4.0 lib/squib/graphics/background.rb
squib-0.3.0 lib/squib/graphics/background.rb