draw

package
v0.0.0-...-1be2e0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufferHorizontal

func BufferHorizontal(
	width int,
	height int,
	x_from int,
	y_from int,
	buffer ...*Buffer,
) int

func BufferVertical

func BufferVertical(
	width int,
	height int,
	x_from int,
	y_from int,
	buffer ...*Buffer,
) int

func Fill

func Fill(
	width int,
	height int,
	background termbox.Attribute,
	foreground termbox.Attribute,
	x_from int,
	x_to int,
	y_from int,
	y_to int,
	c rune,
) (
	int,
	int,
)

func PaintHorizontal

func PaintHorizontal(
	width int,
	height int,
	background termbox.Attribute,
	foreground termbox.Attribute,
	x_from int,
	x_to int,
	y_from int,
	c rune,
) int

func PaintVertical

func PaintVertical(
	width int,
	height int,
	background termbox.Attribute,
	foreground termbox.Attribute,
	x_from int,
	y_from int,
	y_to int,
	c rune,
) int

func PrintHorizontal

func PrintHorizontal(
	width int,
	height int,
	background termbox.Attribute,
	foreground termbox.Attribute,
	x_from int,
	y_from int,
	s string,
) int

func PrintVertical

func PrintVertical(
	width int,
	height int,
	background termbox.Attribute,
	foreground termbox.Attribute,
	x_from int,
	y_from int,
	s string,
) int

Types

type Buffer

type Buffer struct {
	X          int
	Y          int
	C          rune
	Foreground termbox.Attribute
	Background termbox.Attribute
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL