pull/104/head
George Sexton 1 year ago
parent b32071b6a0
commit b9be27f074

@ -144,16 +144,16 @@ func (i *VerticalLSB) SetBit(x, y int, b Bit) {
}
// Draw a horizontal line from start to end at ypos
func (i *VerticalLSB)DrawHLine(start, end, ypos int, b Bit) {
for x:=start; x < end; x++ {
i.SetBit(x,ypos,b)
func (i *VerticalLSB) DrawHLine(start, end, ypos int, b Bit) {
for x := start; x < end; x++ {
i.SetBit(x, ypos, b)
}
}
// Draw a vertical line from start to end at xpos
func (i *VerticalLSB)DrawVLine(start, end, xpos int, b Bit) {
for y:=start; y < end; y++ {
i.SetBit(xpos,y,b)
func (i *VerticalLSB) DrawVLine(start, end, xpos int, b Bit) {
for y := start; y < end; y++ {
i.SetBit(xpos, y, b)
}
}

Loading…
Cancel
Save