MCPcopy Index your code
hub / github.com/endbasic/endbasic / present_canvas

Method present_canvas

std/src/console/graphics.rs:379–381  ·  view source on GitHub ↗

Renders any buffered changes to the backing surface.

(&mut self)

Source from the content-addressed store, hash-verified

377
378 /// Renders any buffered changes to the backing surface.
379 fn present_canvas(&mut self) -> io::Result<()> {
380 if self.sync_enabled { self.raster_ops.present_canvas() } else { Ok(()) }
381 }
382
383 /// Draws the cursor at the current position and saves the previous contents of the screen so
384 /// that `clear_cursor` can restore them.

Callers 15

clearMethod · 0.45
hide_cursorMethod · 0.45
leave_altMethod · 0.45
show_cursorMethod · 0.45
bucket_fillMethod · 0.45
draw_circleMethod · 0.45
draw_circle_filledMethod · 0.45
draw_lineMethod · 0.45
draw_pixelMethod · 0.45
draw_polyMethod · 0.45
draw_poly_filledMethod · 0.45
draw_rectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected