Checkpoint

This commit is contained in:
maze authored and maze committed 2026-10-29 17:29:41 +01:00
1 parent 0295eb1ad2
commit b8a493b93d
138 files changed
+1898 -57607

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
package hardware
import (
"image"
"image/color"
"image/draw"
)
// Display driver.
type Display interface {
Driver
// Draw an image on the display.
Draw(r image.Rectangle, src image.Image, sp image.Point) error
// Size of the display.
Size() image.Point
// Fill with one color.
Fill(color.Color) error
// Refresh the display.
Refresh() error
draw.Image
}