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

Method close_path

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

Closes the current path (adds a line to the last move point)

(&mut self)

Source from the content-addressed store, hash-verified

49
50 /// Closes the current path (adds a line to the last move point)
51 fn close_path(&mut self) { self.draw(Draw::Path(PathOp::ClosePath)); }
52
53 /// Fills the currently defined path
54 fn fill(&mut self) { self.draw(Draw::Fill); }

Callers 7

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

Tested by

no test coverage detected