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

Method rewind

dep/agg/include/agg_vcgen_vertex_sequence.h:101–110  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

99
100 //------------------------------------------------------------------------
101 inline void vcgen_vertex_sequence::rewind(unsigned)
102 {
103 if (!m_ready)
104 {
105 m_src_vertices.close(is_closed(m_flags));
106 shorten_path(m_src_vertices, m_shorten, get_close_flag(m_flags));
107 }
108 m_ready = true;
109 m_cur_vertex = 0;
110 }
111
112 //------------------------------------------------------------------------
113 inline unsigned vcgen_vertex_sequence::vertex(double* x, double* y)

Callers

nothing calls this directly

Calls 4

is_closedFunction · 0.85
shorten_pathFunction · 0.85
get_close_flagFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected