From 80a6c6c182a51f0ad5159a22162e6f9726abe1ea Mon Sep 17 00:00:00 2001 From: Jonathan Feinberg Date: Mon, 27 May 2013 15:09:57 -0400 Subject: [PATCH] Include new API in interface. --- draw2d/gc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/draw2d/gc.go b/draw2d/gc.go index cf7a22b..a96ba42 100644 --- a/draw2d/gc.go +++ b/draw2d/gc.go @@ -43,8 +43,11 @@ type GraphicContext interface { ClearRect(x1, y1, x2, y2 int) SetDPI(dpi int) GetDPI() int + CreateStringPath(text string, x, y float64) (cursor float64) FillString(text string) (cursor float64) + FillStringAt(text string, x, y float64) (cursor float64) StrokeString(text string) (cursor float64) + StrokeStringAt(text string, x, y float64) (cursor float64) Stroke(paths ...*PathStorage) Fill(paths ...*PathStorage) FillStroke(paths ...*PathStorage)