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

Method d2

renderers/agg/include/agg_span_gradient.h:76–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 const ColorF& color_function() const { return *m_color_function; }
75 double d1() const { return double(m_d1) / gradient_subpixel_scale; }
76 double d2() const { return double(m_d2) / gradient_subpixel_scale; }
77
78 //--------------------------------------------------------------------
79 void interpolator(interpolator_type& i) { m_interpolator = &i; }

Callers

nothing calls this directly

Calls 1

iroundFunction · 0.85

Tested by

no test coverage detected