From b56d65368f4655cd27c8880d072795a883e90677 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 10 Oct 2013 09:32:43 -0400 Subject: [PATCH] misnamed variable in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2d6e5e..a8c456a 100644 --- a/README.md +++ b/README.md @@ -62,13 +62,13 @@ output << Nandeck::Image.new( ) area = Nandeck::Geometry.new(Card.border + 0.05, Card.real_border + 0.05, 0.688, 0.640) -output << Nandeck::Image.new(1, "images/balloon.png", *balloon.to_a) +output << Nandeck::Image.new(1, "images/balloon.png", *area.to_a) Nandeck::Font.for(typeface: "Tahoma", flag: 'T') do |font| height = 0.41 font.for(size: inches_to_points(height), color: "#000000") do |balloon_font| - x, y = balloon.center.to_a + x, y = area.center.to_a output << balloon_font.text(1, "5", x - height / 2 - 0.10, y - height / 2 - 0.10, height + 0.20, height