MCPcopy Create free account
hub / github.com/MapServer/MapServer / start_new_path

Method start_new_path

renderers/agg/include/agg_path_storage.h:849–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847 //------------------------------------------------------------------------
848 template<class VC>
849 unsigned path_base<VC>::start_new_path()
850 {
851 if(!is_stop(m_vertices.last_command()))
852 {
853 m_vertices.add_vertex(0.0, 0.0, path_cmd_stop);
854 }
855 return m_vertices.total_vertices();
856 }
857
858
859 //------------------------------------------------------------------------

Callers 1

begin_pathMethod · 0.80

Calls 4

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

Tested by

no test coverage detected