aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-24 01:38:47 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-24 01:38:47 +0200
commit23bc3d8109537b4e2684610426f30c0be353b95f (patch)
treef42f5a5ea9d07dc5cb9a1d470cdb99a1dafbae52
parent94a007f6a6a796541d3aac3c4724b449f976df5f (diff)
add plotter
-rw-r--r--plot.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/plot.go b/plot.go
new file mode 100644
index 0000000..4259eed
--- /dev/null
+++ b/plot.go
@@ -0,0 +1,11 @@
+package robo
+
+type Plotter interface {
+ Plot() []byte
+}
+
+type Line []Point
+type Berzier [4]Point
+
+func (v Line) Draw() []byte { return nil } // MDDDD...
+func (v Bezier) Draw() []byte { return nil } // BZ...