Work on abstractions for an ST7789 font and frame buffer #293
No reviewers
Labels
No Label
hex-grid
maintenance
music-player
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: savanni/monorepo#293
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "st7789-drawing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm driving toward libraries for drawing and for fonts on various screens as an abstraction. This introduces a Canvas trait and a Font trait.
The Canvas trait provides some stock drawing functions based on the set_pixel function, which applications need to implement based on the exact hardware they're driving.
The Font trait doesn't require client implementations, it just provides the framework for additional fonts. Clients will generally just import one of the existing fonts, which at this time is just a sixteen-segment display.