Sha256: c737e61b7c8cdbc884a4918af951b5b529d44e4b7b0612f1c2fdd2fb46420d0d

Contents?: true

Size: 671 Bytes

Versions: 14

Compression:

Stored size: 671 Bytes

Contents

require 'squib'

# This sample uses a proof overlay from TheGameCrafter.com to check bleed
Squib::Deck.new(width: 825, height: 1125, cards: 1) do
  background color: :white
  rect x: 38, y: 38, width: 750, height: 1050, x_radius: 38, y_radius: 38
  rect x: 75, y: 75, width: 128, height: 128, x_radius: 25, y_radius: 25

  text str: 'Mastermind', x: 220, y: 78, font: 'Arial 54'
  text str: 3, x: 75, y: 85, width: 128, font: 'Arial 72', align: :center

  png file: 'shiny-purse.png', x: 620, y: 75
  svg file: 'spanner.svg', x: 620, y: 218

  # TGC proof overlay
  png file: 'pokercard.png', x:0, y:0, alpha: 0.5

  save_png prefix: 'tgc_sample_'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
squib-0.12.0 samples/tgc_proofs.rb
squib-0.11.0 samples/tgc_proofs.rb
squib-0.10.0 samples/tgc_proofs.rb
squib-0.9.0 samples/tgc_proofs.rb
squib-0.8.0 samples/tgc_proofs.rb
squib-0.7.0 samples/tgc_proofs.rb
squib-0.6.0 samples/tgc_proofs.rb
squib-0.5.1 samples/tgc_proofs.rb
squib-0.5.0 samples/tgc_proofs.rb
squib-0.4.0 samples/tgc_proofs.rb
squib-0.3.0 samples/tgc_proofs.rb
squib-0.2.0 samples/tgc_proofs.rb
squib-0.1.0 samples/tgc_proofs.rb
squib-0.0.6 samples/tgc_proofs.rb