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

Method arrange_orientations

renderers/agg/include/agg_path_storage.h:1319–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317 //------------------------------------------------------------------------
1318 template<class VC>
1319 unsigned path_base<VC>::arrange_orientations(unsigned start,
1320 path_flags_e orientation)
1321 {
1322 if(orientation != path_flags_none)
1323 {
1324 while(start < m_vertices.total_vertices())
1325 {
1326 start = arrange_polygon_orientation(start, orientation);
1327 if(is_stop(m_vertices.command(start)))
1328 {
1329 ++start;
1330 break;
1331 }
1332 }
1333 }
1334 return start;
1335 }
1336
1337 //------------------------------------------------------------------------
1338 template<class VC>

Callers

nothing calls this directly

Calls 3

is_stopFunction · 0.85
total_verticesMethod · 0.45
commandMethod · 0.45

Tested by

no test coverage detected