Documentation ¶
Index ¶
Constants ¶
View Source
const ( Refnone = draw.Refnone KeyCmd = draw.KeyCmd KeyDown = draw.KeyDown KeyEnd = draw.KeyEnd KeyHome = draw.KeyHome KeyInsert = draw.KeyInsert KeyLeft = draw.KeyLeft KeyPageDown = draw.KeyPageDown KeyPageUp = draw.KeyPageUp KeyRight = draw.KeyRight KeyUp = draw.KeyUp Darkyellow = draw.Darkyellow Medblue = draw.Medblue Nofill = draw.Nofill Notacolor = draw.Notacolor Palebluegreen = draw.Palebluegreen Palegreygreen = draw.Palegreygreen Paleyellow = draw.Paleyellow Purpleblue = draw.Purpleblue Transparent = draw.Transparent White = draw.White Yellowgreen = draw.Yellowgreen )
Variables ¶
View Source
var Init = draw.Init
Functions ¶
Types ¶
type Display ¶
type Display interface { ScreenImage() Image White() Image Black() Image Opaque() Image Transparent() Image InitKeyboard() *Keyboardctl InitMouse() *Mousectl OpenFont(name string) (Font, error) AllocImage(r image.Rectangle, pix Pix, repl bool, val Color) (Image, error) AllocImageMix(color1, color3 Color) Image Attach(ref int) error Flush() error ScaleSize(n int) int ReadSnarf(buf []byte) (int, int, error) WriteSnarf(data []byte) error MoveTo(pt image.Point) error SetCursor(c *Cursor) error Close() error }
type Keyboardctl ¶
type Keyboardctl = draw.Keyboardctl
Click to show internal directories.
Click to hide internal directories.