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

Method vertex

renderers/agg/include/agg_path_storage.h:280–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 //------------------------------------------------------------------------
279 template<class T, unsigned S, unsigned P>
280 inline unsigned vertex_block_storage<T,S,P>::vertex(unsigned idx,
281 double* x, double* y) const
282 {
283 unsigned nb = idx >> block_shift;
284 const T* pv = m_coord_blocks[nb] + ((idx & block_mask) << 1);
285 *x = pv[0];
286 *y = pv[1];
287 return m_cmd_blocks[nb][idx & block_mask];
288 }
289
290 //------------------------------------------------------------------------
291 template<class T, unsigned S, unsigned P>

Callers 11

agg_path_storage.hFile · 0.45
vertexMethod · 0.45
concat_pathMethod · 0.45
join_pathMethod · 0.45
transformMethod · 0.45
transform_all_pathsMethod · 0.45
flip_xMethod · 0.45
flip_yMethod · 0.45
translateMethod · 0.45
translate_all_pathsMethod · 0.45

Calls 1

total_verticesMethod · 0.45

Tested by

no test coverage detected