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

Method add_vertex

dep/agg/include/agg_rasterizer_compound_aa.h:427–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 //------------------------------------------------------------------------
426 template <class Clip>
427 void rasterizer_compound_aa<Clip>::add_vertex(
428 double x, double y, unsigned cmd)
429 {
430 if (is_move_to(cmd))
431 {
432 move_to_d(x, y);
433 }
434 else if (is_vertex(cmd))
435 {
436 line_to_d(x, y);
437 }
438 else if (is_close(cmd))
439 {
440 m_clipper.line_to(m_outline, m_start_x, m_start_y);
441 }
442 }
443
444 //------------------------------------------------------------------------
445 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