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

Method rel_to_abs

dep/agg/include/agg_path_storage.h:911–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909 //------------------------------------------------------------------------
910 template <class VC>
911 inline void path_base<VC>::rel_to_abs(double* x, double* y) const
912 {
913 if (m_vertices.total_vertices())
914 {
915 double x2;
916 double y2;
917 if (is_vertex(m_vertices.last_vertex(&x2, &y2)))
918 {
919 *x += x2;
920 *y += y2;
921 }
922 }
923 }
924
925 //------------------------------------------------------------------------
926 template <class VC>

Callers

nothing calls this directly

Calls 3

is_vertexFunction · 0.85
total_verticesMethod · 0.45
last_vertexMethod · 0.45

Tested by

no test coverage detected