mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 12:32:05 +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
|
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.
|
// DrawLines draws lines.
|
||||||
func (i *Image) DrawLines(lines Lines) (err error) {
|
func (i *Image) DrawLines(lines Lines) (err error) {
|
||||||
i.pixels = nil
|
i.pixels = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user