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

Method draw_list

canvas/src/primitives.rs:67–71  ·  view source on GitHub ↗

Draws a series of instructions

(&'a mut self, drawing: DrawIter)

Source from the content-addressed store, hash-verified

65 /// Draws a series of instructions
66 ///
67 fn draw_list<'a, DrawIter: 'a+IntoIterator<Item=Draw>>(&'a mut self, drawing: DrawIter) {
68 for d in drawing.into_iter() {
69 self.draw(d);
70 }
71 }
72
73 ///
74 /// Loads an image from an IO stream into a texture, returning the size (or None if the image can't be read for any reason)

Callers 4

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
section_text_layoutFunction · 0.80

Implementers 1

primitives.rscanvas/src/primitives.rs

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected