From 8fffe988e3fc75bc2f0b8a2ee2b395d0eeaf8e50 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Mon, 11 Aug 2014 22:12:33 -0400 Subject: [PATCH] Adding documentation that includes the sample in readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3c7f64..4c4d9d4 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,10 @@ For me, I tend to ignore any auto-generated files in my output folder, but versi ## Decks with multiple orientations or sizes -If you want to make a deck that has some portrait and some landscape cards, I recommend you use multiple `Squib::Deck`s. The pixel size of a given card is designed to not change thorughout the life of a `Squib::Deck`. To work with landscape cards, there is a `rotate` option on `save_png` so your print-on-demand PNGs can still be in portrait. +If you want to make a deck that has some portrait and some landscape cards, I recommend you use multiple `Squib::Deck`s. The pixel size of a given card is designed to not change thorughout the life of a `Squib::Deck`. To work with landscape cards, there is a `rotate` option on `save_png` so your print-on-demand PNGs can still be in portrait. The following example demonstrates how to do this, found [here](https://github.com/andymeneely/squib/tree/master/samples/portrait-landscape.rb). + +{include:file:samples/portrait-landscape.rb} + # Development