From 07d64da098759a7c99f5ecbb7dcda0328e02f5f0 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 6 Feb 2016 17:49:26 +0900 Subject: [PATCH] image: Remove image.DrawLine (#142) --- image.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/image.go b/image.go index 15c030b11..0cbc7250f 100644 --- a/image.go +++ b/image.go @@ -97,11 +97,6 @@ func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) { return } -// DrawLine draws a line. -func (i *Image) DrawLine(x0, y0, x1, y1 int, clr color.Color) error { - return i.DrawLines(&line{x0, y0, x1, y1, clr}) -} - // DrawLines draws lines. func (i *Image) DrawLines(lines Lines) (err error) { i.pixels = nil