MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / start_new_path

Method start_new_path

dep/agg/include/agg_path_storage.h:900–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898 //------------------------------------------------------------------------
899 template <class VC>
900 unsigned path_base<VC>::start_new_path()
901 {
902 if (!is_stop(m_vertices.last_command()))
903 {
904 m_vertices.add_vertex(0.0, 0.0, path_cmd_stop);
905 }
906 return m_vertices.total_vertices();
907 }
908
909 //------------------------------------------------------------------------
910 template <class VC>

Callers

nothing calls this directly

Calls 4

is_stopFunction · 0.85
last_commandMethod · 0.45
add_vertexMethod · 0.45
total_verticesMethod · 0.45

Tested by

no test coverage detected