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

Method rewind_scanlines

renderers/agg/include/agg_rasterizer_scanline_aa.h:464–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 //------------------------------------------------------------------------
463 template<class Clip>
464 AGG_INLINE bool rasterizer_scanline_aa<Clip>::rewind_scanlines()
465 {
466 if(m_auto_close) close_polygon();
467 m_outline.sort_cells();
468 if(m_outline.total_cells() == 0)
469 {
470 return false;
471 }
472 m_scan_y = m_outline.min_y();
473 return true;
474 }
475
476
477 //------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

sort_cellsMethod · 0.80
total_cellsMethod · 0.80
min_yMethod · 0.45

Tested by

no test coverage detected