[common] rects: implement routine to copy rectangles from framebuffer
This commit is contained in:
1 parent
cab95c5eed
commit
0462cee9db
4 files changed
+41
-1
No files matched your search
@@ -61,6 +61,12 @@ void framebuffer_prepare(FrameBuffer * frame);
|
||||
*/
|
||||
bool framebuffer_write(FrameBuffer * frame, const void * src, size_t size);
|
||||
|
||||
/**
|
||||
* Gets the underlying data buffer of the framebuffer.
|
||||
* For custom read routines only.
|
||||
*/
|
||||
const uint8_t * framebuffer_get_buffer(const FrameBuffer * frame);
|
||||
|
||||
/**
|
||||
* Gets the underlying data buffer of the framebuffer.
|
||||
* For custom write routines only.
|
||||
|
||||
Reference in new issue
Block a user