Code

Add page sizes for various business card formats as per request in LP #172225
authorcilix42 <cilix42@users.sourceforge.net>
Fri, 5 Sep 2008 18:54:10 +0000 (18:54 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Fri, 5 Sep 2008 18:54:10 +0000 (18:54 +0000)
src/ui/widget/page-sizer.cpp

index 15a9dc3f6550e6b95aed2fac6babb51ab3048513..98a92b5c76f17144d8cf4ed8e91856981a19df02 100644 (file)
@@ -169,6 +169,11 @@ static PaperSizeRec const inkscape_papers[] = {
     { "Icon 16x16",         16,   16, SP_UNIT_PX },
     { "Icon 32x32",         32,   32, SP_UNIT_PX },
     { "Icon 48x48",         48,   48, SP_UNIT_PX },
+    /* business cards; TODO: select landscape by default */
+    { "Business Card (ISO 7810 ID-1)",         53.98, 85.60, SP_UNIT_MM },
+    { "Business Card (US)",                     2,     3.5,  SP_UNIT_IN },
+    { "Business Card (Europe)",                55,    85,    SP_UNIT_MM },
+    { "Business Card (Australia/New Zealand)", 55,    90,    SP_UNIT_MM },
     { NULL,                  0,    0, SP_UNIT_PX },
 };