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

Method prev_vertex

dep/agg/include/agg_path_storage.h:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 //------------------------------------------------------------------------
245 template <class T, unsigned S, unsigned P>
246 inline unsigned vertex_block_storage<T, S, P>::prev_vertex(
247 double* x, double* y) const
248 {
249 if (m_total_vertices > 1)
250 return vertex(m_total_vertices - 2, x, y);
251 return path_cmd_stop;
252 }
253
254 //------------------------------------------------------------------------
255 template <class T, unsigned S, unsigned P>

Callers 1

curve3Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected