From 21aee3dfe51e4e1b3310c1d2068f7ebd1aafd50b Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 24 Sep 2016 03:01:12 +0200 Subject: Return err with NewDevice --- plot.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plot.go') diff --git a/plot.go b/plot.go index 4259eed..e0c778b 100644 --- a/plot.go +++ b/plot.go @@ -5,7 +5,9 @@ type Plotter interface { } type Line []Point -type Berzier [4]Point +type Bezier [4]Point +type Circle [3]Point func (v Line) Draw() []byte { return nil } // MDDDD... func (v Bezier) Draw() []byte { return nil } // BZ... +func (v Circle) Draw() []byte { return nil } // W... -- cgit v1.2.3