aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cutter.go b/cutter.go
index d9d07ea..a063143 100644
--- a/cutter.go
+++ b/cutter.go
@@ -10,6 +10,10 @@ type Point struct {
X, Y int
}
+func add(a, b Point) Point {
+ return Point{a.X + b.X, a.Y + b.Y}
+}
+
/*
A4 Cutting area