MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / reset_frame

Method reset_frame

canvas/src/context.rs:32–32  ·  view source on GitHub ↗

Resets the frame count back to 0 (for when regenerating the state of a canvas)

(&mut self)

Source from the content-addressed store, hash-verified

30
31 /// Resets the frame count back to 0 (for when regenerating the state of a canvas)
32 fn reset_frame(&mut self) { self.draw(Draw::ResetFrame); }
33
34
35

Callers 1

drawMethod · 0.80

Implementers 3

font_line_layout.rscanvas/src/font_line_layout.rs
context.rscanvas/src/context.rs
canvas.rscanvas/src/canvas.rs

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected