package drivers import "image/color" type Displayer interface { // Size returns the current size of the display. Size() (x, y int16) // SetPizel modifies the internal buffer. SetPixel(x, y int16, c color.RGBA) // Display sends the buffer (if any) to the screen. Display() error } // Rotation is how much a display has been rotated. Displays can be rotated, and // sometimes also mirrored. type Rotation uint8 // Clockwise rotation of the screen. const ( Rotation0 = iota Rotation90 Rotation180 Rotation270 Rotation0Mirror Rotation90Mirror Rotation180Mirror Rotation270Mirror )