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

Method reset

renderers/agg/include/agg_scanline_bin.h:65–74  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

63
64 //--------------------------------------------------------------------
65 void reset(int min_x, int max_x)
66 {
67 unsigned max_len = max_x - min_x + 3;
68 if(max_len > m_spans.size())
69 {
70 m_spans.resize(max_len);
71 }
72 m_last_x = 0x7FFFFFF0;
73 m_cur_span = &m_spans[0];
74 }
75
76 //--------------------------------------------------------------------
77 void add_cell(int x, unsigned)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected