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

Function render_scanlines_aa

renderers/agg/include/agg_renderer_scanline.h:180–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 template<class Rasterizer, class Scanline, class BaseRenderer,
179 class SpanAllocator, class SpanGenerator>
180 void render_scanlines_aa(Rasterizer& ras, Scanline& sl, BaseRenderer& ren,
181 SpanAllocator& alloc, SpanGenerator& span_gen)
182 {
183 if(ras.rewind_scanlines())
184 {
185 sl.reset(ras.min_x(), ras.max_x());
186 span_gen.prepare();
187 while(ras.sweep_scanline(sl))
188 {
189 render_scanline_aa(sl, ren, alloc, span_gen);
190 }
191 }
192 }
193
194 //====================================================renderer_scanline_aa
195 template<class BaseRenderer, class SpanAllocator, class SpanGenerator>

Callers 2

agg2RenderPolygonTiledFunction · 0.85
agg2RenderPixmapSymbolFunction · 0.85

Calls 7

render_scanline_aaFunction · 0.85
rewind_scanlinesMethod · 0.45
resetMethod · 0.45
min_xMethod · 0.45
max_xMethod · 0.45
prepareMethod · 0.45
sweep_scanlineMethod · 0.45

Tested by

no test coverage detected