View Single Post
Old 11-12-2020, 03:38 PM   #6
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by nihilazo View Post
The hangup with fbink is that I can't see how to do things beyond text and already stored images with it, although I'm probably being dumb.
You can feed raw scanlines to fbink, so one can programmatically draw to a buffer, and pass that to FBink for display.

go-fbink-v2 for example has a convenience "PrintRBGA" function, which displays an image.RGBA. You could use a library like gg to draw to an image.RGBA, then display it with "PrintRBGA"

One of these days, it would be cool to have a pure Go solution for printing to screen, but that isn't today...
sherman is offline   Reply With Quote