[−][src]Function piet_embedded_graphics::batch::draw_blocks
pub fn draw_blocks<SPI, DC, RST, T>(
display: &mut ST7735<SPI, DC, RST>,
item_pixels: T
) -> Result<(), ()> where
SPI: Write<u8>,
DC: OutputPin,
RST: OutputPin,
T: IntoIterator<Item = Pixel<Rgb565>>,
Draw the pixels in the item as Pixel Blocks of contiguous Pixel Rows. The pixels are grouped by row then by block.