Home
last modified time | relevance | path

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

/haiku/headers/libs/agg/
H A Dagg_span_gradient.h190 m_focus_x(0), in gradient_radial_focus()
199 m_focus_x(iround(fx * gradient_subpixel_scale)), in gradient_radial_focus()
209 m_focus_x = iround(fx * gradient_subpixel_scale); in init()
216 double focus_x() const { return double(m_focus_x) / gradient_subpixel_scale; } in focus_x()
227 if(x == iround(m_focus_x)) in calculate()
229 solution_x = m_focus_x; in calculate()
237 double slope = double(y - m_focus_y) / double(x - m_focus_x); in calculate()
254 solution_x += (x < m_focus_x) ? -det : det; in calculate()
264 solution_x -= double(m_focus_x); in calculate()
267 double cur_to_focus = double(x - m_focus_x) * double(x - m_focus_x) + in calculate()
[all …]