copy_frame_buffer_bitmap

Function copy_frame_buffer_bitmap 

Source
pub fn copy_frame_buffer_bitmap() -> Result<Bitmap<Default, true>, Error>
Expand description

Returns a copy the contents of the working frame buffer as a bitmap.

The caller is responsible for freeing the returned bitmap, it will automatically on drop.

This function is shorthand for Graphics::frame_buffer_bitmap, using default ZST end-point.

Equivalent to sys::ffi::playdate_graphics::copyFrameBufferBitmap.