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

Method clear

dep/agg/include/agg_renderer_base.h:168–178  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

166
167 //--------------------------------------------------------------------
168 void clear(const color_type& c)
169 {
170 unsigned y;
171 if (width())
172 {
173 for (y = 0; y < height(); y++)
174 {
175 m_ren->copy_hline(0, y, width(), c);
176 }
177 }
178 }
179
180 //--------------------------------------------------------------------
181 void fill(const color_type& c)

Callers

nothing calls this directly

Calls 1

copy_hlineMethod · 0.45

Tested by

no test coverage detected