image: Remove image.DrawLine (#142)

This commit is contained in:
Hajime Hoshi 2016-02-06 17:49:26 +09:00
parent 5c8df39496
commit 07d64da098

View File

@ -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