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

Method concat_path

dep/agg/include/agg_path_storage.h:735–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733 //--------------------------------------------------------------------
734 template <class VertexSource>
735 void concat_path(VertexSource& vs, unsigned path_id = 0)
736 {
737 double x, y;
738 unsigned cmd;
739 vs.rewind(path_id);
740 while (!is_stop(cmd = vs.vertex(&x, &y)))
741 {
742 m_vertices.add_vertex(x, y, cmd);
743 }
744 }
745
746 //--------------------------------------------------------------------
747 // Join path. The path is joined with the existing one, that is,

Callers 5

roundedRectMethod · 0.80
ellipseMethod · 0.80
arcMethod · 0.80
addEllipseMethod · 0.80
textMethod · 0.80

Calls 4

is_stopFunction · 0.85
rewindMethod · 0.45
vertexMethod · 0.45
add_vertexMethod · 0.45

Tested by

no test coverage detected