Home
last modified time | relevance | path

Searched refs:m_color_function (Results 1 – 1 of 1) sorted by relevance

/haiku/headers/libs/agg/
H A Dagg_span_gradient.h66 m_color_function(&color_function), in span_gradient()
74 const ColorF& color_function() const { return *m_color_function; } in color_function()
81 void color_function(const ColorF& cf) { m_color_function = &cf; } in color_function()
99 d = ((d - m_d1) * (int)m_color_function->size()) / dd; in generate()
101 if(d >= (int)m_color_function->size()) d = m_color_function->size() - 1; in generate()
102 *span++ = (*m_color_function)[d]; in generate()
111 const ColorF* m_color_function; variable