Module bitmap

Module bitmap 

Source

Re-exports§

pub use crate::BitmapFlipExt;
pub use crate::BitmapDrawModeExt;

Modules§

api
table
Playdate bitmap-table API

Structs§

Bitmap
BitmapData
The data is 1 bit per pixel packed format, in MSB order; in other words, the high bit of the first byte in data is the top left pixel of the image.
BitmapRef
LCDColorDisplay

Enums§

BitmapDrawMode
BitmapFlip
Color

Traits§

AnyBitmap
BitmapApi
IntoLCDColor
LCDColorConst
LCDColorExtDeprecated
LCDColorFmt
LCDColorIs

Functions§

copy_frame_buffer_bitmap
Returns a copy the contents of the working frame buffer as a bitmap.
debug_bitmap
Only valid in the Simulator, returns the debug framebuffer as a bitmap.
display_buffer_bitmap
Returns a bitmap containing the contents of the display buffer.
pop_context
Pops a context off the stack (if any are left), restoring the drawing settings from before the context was pushed.
push_context
Push a new drawing context for drawing into the given bitmap.
push_framebuffer_to_context
Push a new drawing context for drawing into the display framebuffer.
set_draw_mode
Sets the mode used for drawing bitmaps.
set_stencil
Sets the stencil used for drawing. For a tiled stencil, use set_stencil_tiled instead.
set_stencil_tiled
Sets the stencil used for drawing.