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

Method vline_to

renderers/agg/src/agg_svg_path_renderer.cpp:101–111  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

99
100 //------------------------------------------------------------------------
101 void path_renderer::vline_to(double y, bool rel) // V, v
102 {
103 double x2 = 0.0;
104 double y2 = 0.0;
105 if(m_storage.total_vertices())
106 {
107 m_storage.vertex(m_storage.total_vertices() - 1, &x2, &y2);
108 if(rel) y += y2;
109 m_storage.line_to(x2, y);
110 }
111 }
112
113 //------------------------------------------------------------------------
114 void path_renderer::curve3(double x1, double y1, // Q, q

Callers

nothing calls this directly

Calls 3

total_verticesMethod · 0.45
vertexMethod · 0.45
line_toMethod · 0.45

Tested by

no test coverage detected