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

Method edge

renderers/agg/include/agg_rasterizer_compound_aa.h:426–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424 //------------------------------------------------------------------------
425 template<class Clip>
426 void rasterizer_compound_aa<Clip>::edge(int x1, int y1, int x2, int y2)
427 {
428 if(m_outline.sorted()) reset();
429 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1));
430 m_clipper.line_to(m_outline,
431 conv_type::downscale(x2),
432 conv_type::downscale(y2));
433 }
434
435 //------------------------------------------------------------------------
436 template<class Clip>

Callers

nothing calls this directly

Calls 3

sortedMethod · 0.80
move_toMethod · 0.45
line_toMethod · 0.45

Tested by

no test coverage detected