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

Method add_vertex

renderers/agg/include/agg_rasterizer_compound_aa.h:406–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 //------------------------------------------------------------------------
405 template<class Clip>
406 void rasterizer_compound_aa<Clip>::add_vertex(double x, double y, unsigned cmd)
407 {
408 if(is_move_to(cmd))
409 {
410 move_to_d(x, y);
411 }
412 else
413 if(is_vertex(cmd))
414 {
415 line_to_d(x, y);
416 }
417 else
418 if(is_close(cmd))
419 {
420 m_clipper.line_to(m_outline, m_start_x, m_start_y);
421 }
422 }
423
424 //------------------------------------------------------------------------
425 template<class Clip>

Callers

nothing calls this directly

Calls 4

is_move_toFunction · 0.85
is_vertexFunction · 0.85
is_closeFunction · 0.85
line_toMethod · 0.45

Tested by

no test coverage detected