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

Method rewind_scanlines

renderers/agg/include/agg_rasterizer_compound_aa.h:456–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 //------------------------------------------------------------------------
455 template<class Clip>
456 AGG_INLINE bool rasterizer_compound_aa<Clip>::rewind_scanlines()
457 {
458 m_outline.sort_cells();
459 if(m_outline.total_cells() == 0)
460 {
461 return false;
462 }
463 if(m_max_style < m_min_style)
464 {
465 return false;
466 }
467 m_scan_y = m_outline.min_y();
468 m_styles.allocate(m_max_style - m_min_style + 2, 128);
469 allocate_master_alpha();
470 return true;
471 }
472
473 //------------------------------------------------------------------------
474 template<class Clip>

Callers 10

sbool_intersect_shapesFunction · 0.45
sbool_unite_shapesFunction · 0.45
sbool_subtract_shapesFunction · 0.45
render_scanlines_aaFunction · 0.45
render_scanlines_binFunction · 0.45
render_scanlinesFunction · 0.45

Calls 4

sort_cellsMethod · 0.80
total_cellsMethod · 0.80
min_yMethod · 0.45
allocateMethod · 0.45

Tested by

no test coverage detected