clean up player sheet

This commit is contained in:
Matt Soucy 2022-05-22 21:17:36 -04:00
parent 1b82d6f034
commit bbcb4e0de2
Signed by: msoucy
GPG Key ID: 7996734FB2370F0C
3 changed files with 3 additions and 1 deletions

View File

@ -22,13 +22,14 @@ end
Squib::Deck.new(cards: 6, width: '3in', height: '4in') do
rect
png x: '0.5in', y: '0.5in', width: '2.0in', height: '2.0in', file: 'images/hexgrid.png'
svg x: '0.5in', y: '0.5in', width: '2.0in', height: '2.0in', file: 'images/hexgrid.svg'
text x: '0.5in', y: '2.75in', width: '2in', height: '0.5in', str: 'Scoring', align: :center
(0..6).each do |i|
rect x: inches(0.5) + i * inches(2.0/7.0), y: '3.0in', width: '0.25in', height: '0.25in'
rect x: inches(0.5) + i * inches(2.0/7.0), y: '3.25in', width: '0.25in', height: '0.25in'
end
star x: inches(0.5) + 6 * inches(2.0/7.0) + inches(0.125), y: '3.125in', outer_radius: '0.125in', inner_radius: inches(1.0/16.0), angle: '270deg'
save_pdf trim: 37.5, file: 'player.pdf'
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB