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

Method rel_to_abs

renderers/agg/include/agg_path_storage.h:861–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859 //------------------------------------------------------------------------
860 template<class VC>
861 inline void path_base<VC>::rel_to_abs(double* x, double* y) const
862 {
863 if(m_vertices.total_vertices())
864 {
865 double x2;
866 double y2;
867 if(is_vertex(m_vertices.last_vertex(&x2, &y2)))
868 {
869 *x += x2;
870 *y += y2;
871 }
872 }
873 }
874
875 //------------------------------------------------------------------------
876 template<class VC>

Callers 4

move_toMethod · 0.80
line_toMethod · 0.80
curve3Method · 0.80
curve4Method · 0.80

Calls 3

is_vertexFunction · 0.85
total_verticesMethod · 0.45
last_vertexMethod · 0.45

Tested by

no test coverage detected