//---------------------------------------------------------------- public void Next() { m_interpolator.Next(); if (m_pos >= m_subdiv_size) { int len = m_len; if (len > m_subdiv_size) { len = (int)m_subdiv_size; } m_interpolator.resynchronize((double)m_src_x / (double)subpixel_scale + len, m_src_y, len); m_pos = 0; } m_src_x += subpixel_scale; ++m_pos; --m_len; }