aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-11-14 08:51:36 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-11-14 08:51:36 +0100
commitfa99b3dc5d6e15b10de27c95657a8fd2107aed57 (patch)
treef2bc0c4e8bcf3fbcbde7e4c34c2452e3b3e1dc1a
parent9c41295f497a31e59d57c51d702074216e93c5e5 (diff)
TODO: Page struct
-rw-r--r--units.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/units.go b/units.go
index 03026bb..4b6d9d0 100644
--- a/units.go
+++ b/units.go
@@ -16,6 +16,12 @@ const (
var A4 = Point{272 * MM, 200 * MM}
+// TODO
+type Page struct {
+ o Orientation
+ sz Point // A4
+}
+
type Unit float64
func (u Unit) String() string {