Work on abstractions for an ST7789 font and frame buffer #293

Merged
savanni merged 7 commits from st7789-drawing into main 2025-03-05 15:01:03 +00:00
Owner

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.

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.
savanni added 6 commits 2025-03-05 14:57:49 +00:00
savanni added 1 commit 2025-03-05 14:58:53 +00:00
savanni merged commit bc9e24c0c9 into main 2025-03-05 15:01:03 +00:00
savanni deleted branch st7789-drawing 2025-03-05 15:01:03 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: savanni/monorepo#293
No description provided.