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

Method blend_solid_vspan

dep/agg/include/agg_renderer_base.h:389–415  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

387
388 //--------------------------------------------------------------------
389 void blend_solid_vspan(int x,
390 int y,
391 int len,
392 const color_type& c,
393 const cover_type* covers)
394 {
395 if (x > xmax())
396 return;
397 if (x < xmin())
398 return;
399
400 if (y < ymin())
401 {
402 len -= ymin() - y;
403 if (len <= 0)
404 return;
405 covers += ymin() - y;
406 y = ymin();
407 }
408 if (y + len > ymax())
409 {
410 len = ymax() - y + 1;
411 if (len <= 0)
412 return;
413 }
414 m_ren->blend_solid_vspan(x, y, len, c, covers);
415 }
416
417 //--------------------------------------------------------------------
418 void copy_color_hspan(int x, int y, int len, const color_type* colors)

Callers 1

render_textMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected