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

Method clear_sprite

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

Releases the resources used by the current sprite

(&mut self)

Source from the content-addressed store, hash-verified

185
186 /// Releases the resources used by the current sprite
187 fn clear_sprite(&mut self) { self.draw(Draw::ClearSprite); }
188
189 /// Adds a sprite transform to the next sprite drawing operation
190 fn sprite_transform(&mut self, transform: SpriteTransform) {

Callers 10

drawMethod · 0.80
randomMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
section_spritesFunction · 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