mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
image: Remove image.DrawLine (#142)
This commit is contained in:
parent
5c8df39496
commit
07d64da098
5
image.go
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user