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

Method vertex

renderers/agg/src/agg_vcgen_markers_term.cpp:84–100  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

82
83 //------------------------------------------------------------------------
84 unsigned vcgen_markers_term::vertex(double* x, double* y)
85 {
86 if(m_curr_id > 2 || m_curr_idx >= m_markers.size())
87 {
88 return path_cmd_stop;
89 }
90 const coord_type& c = m_markers[m_curr_idx];
91 *x = c.x;
92 *y = c.y;
93 if(m_curr_idx & 1)
94 {
95 m_curr_idx += 3;
96 return path_cmd_line_to;
97 }
98 ++m_curr_idx;
99 return path_cmd_move_to;
100 }
101
102
103}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected