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

Method arrange_orientations

dep/agg/include/agg_path_storage.h:1393–1409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1391 //------------------------------------------------------------------------
1392 template <class VC>
1393 unsigned path_base<VC>::arrange_orientations(
1394 unsigned start, path_flags_e orientation)
1395 {
1396 if (orientation != path_flags_none)
1397 {
1398 while (start < m_vertices.total_vertices())
1399 {
1400 start = arrange_polygon_orientation(start, orientation);
1401 if (is_stop(m_vertices.command(start)))
1402 {
1403 ++start;
1404 break;
1405 }
1406 }
1407 }
1408 return start;
1409 }
1410
1411 //------------------------------------------------------------------------
1412 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