Closed conejoninja closed 3 weeks ago
Probably the first time I rebase locally, hope I didn't screw up.
Probably the first time I rebase locally, hope I didn't screw up.
That was perfect. :+1:
DrawBuffer
is a new interface, why didn't you use the conventional DrawBitmap
interface? (Or even DrawRGBBitmap8
)
DrawBitmap
already exists and it calls d.SetPixel for each pixel, but I already had the buffer with the data in the correct format, should should avoid a bunch of operations if just copy it instead. It's convenient (in my case)
DrawBitmap already exists and it calls d.SetPixel for each pixel
Perhaps you would like to improve the implementation of DrawBitmap()
instead? :smile_cat:
DrawBitmap already exists and it calls d.SetPixel for each pixel
Perhaps you would like to improve the implementation of
DrawBitmap()
instead? 😸
Not sure if possible or worthy. Each byte of the buffer represent a row of 1x8 pixels. Using arbitrary coordinates x,y (ie not a multiple of 8), size and different rotations could be quite complex.
Just coming back around to this, since the badger2040 repo is using it.
What should we do?
@conejoninja I think this PR will no longer be required after our efforts of earlier today.
@conejoninja please rebase against latest
dev
. Thanks!