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

Method rewind

renderers/agg/src/agg_vcgen_stroke.cpp:70–81  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

68
69 //------------------------------------------------------------------------
70 void vcgen_stroke::rewind(unsigned)
71 {
72 if(m_status == initial)
73 {
74 m_src_vertices.close(m_closed != 0);
75 shorten_path(m_src_vertices, m_shorten, m_closed);
76 if(m_src_vertices.size() < 3) m_closed = 0;
77 }
78 m_status = ready;
79 m_src_vertex = 0;
80 m_out_vertex = 0;
81 }
82
83
84 //------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

shorten_pathFunction · 0.85
closeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected