File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ int maxHei = 0;
2121ArrayList<String > elements;
2222
2323/**
24- * Reads csv files, defines cards as 675x1050 px (bridge card at 300 dpi)
24+ * Reads csv files, defines card dimensions to accomodate
25+ * largest x + width and largest y + height of elements
26+ * in template.csv
27+ *
2528 * TODO: Let user choose other card sizes to generate
2629 * TODO: Add bleed area to card sizes for printing.
2730 */
@@ -58,6 +61,7 @@ void createAllCards() {
5861 */
5962void createCard (TableRow conRow ) {
6063 cardMain. clear();
64+ println (" creating " , conRow. getString(" saveFile" ));
6165 for (int i = 0 ; i < elements. size(); i++ ){
6266 // calls drawImg() if "Img" is in element name
6367 if (elements. get(i). indexOf(" Img" ) != - 1 ){
@@ -77,7 +81,6 @@ void createCard(TableRow conRow) {
7781 * @param filename
7882 */
7983void saveCard (String filename ){
80- println (" Saving " , filename);
8184 cardMain. save(filename);
8285}
8386
You can’t perform that action at this time.
0 commit comments