Skip to main content

with_writer

Function with_writer 

Source
pub fn with_writer<R>(f: impl FnOnce(&mut VgaWriter) -> R) -> Option<R>
Expand description

Performs the with writer operation.

Cursor management is deferred to present() to avoid +/-1280 pixel ops per call.