Showing
2 changed files
with
3 additions
and
0 deletions
@@ -9,6 +9,7 @@ | @@ -9,6 +9,7 @@ | ||
9 | - Add equality operator to PdfPageFormat | 9 | - Add equality operator to PdfPageFormat |
10 | - Improve TextStyle decoration merging | 10 | - Improve TextStyle decoration merging |
11 | - Add PdfColor.flatten | 11 | - Add PdfColor.flatten |
12 | +- Add A6 page format | ||
12 | 13 | ||
13 | ## 3.3.0 | 14 | ## 3.3.0 |
14 | 15 |
@@ -38,6 +38,8 @@ class PdfPageFormat { | @@ -38,6 +38,8 @@ class PdfPageFormat { | ||
38 | PdfPageFormat(21.0 * cm, 29.7 * cm, marginAll: 2.0 * cm); | 38 | PdfPageFormat(21.0 * cm, 29.7 * cm, marginAll: 2.0 * cm); |
39 | static const PdfPageFormat a5 = | 39 | static const PdfPageFormat a5 = |
40 | PdfPageFormat(14.8 * cm, 21.0 * cm, marginAll: 2.0 * cm); | 40 | PdfPageFormat(14.8 * cm, 21.0 * cm, marginAll: 2.0 * cm); |
41 | + static const PdfPageFormat a6 = | ||
42 | + PdfPageFormat(105 * mm, 148 * mm, marginAll: 1.0 * cm); | ||
41 | static const PdfPageFormat letter = | 43 | static const PdfPageFormat letter = |
42 | PdfPageFormat(8.5 * inch, 11.0 * inch, marginAll: inch); | 44 | PdfPageFormat(8.5 * inch, 11.0 * inch, marginAll: inch); |
43 | static const PdfPageFormat legal = | 45 | static const PdfPageFormat legal = |
-
Please register or login to post a comment