Exemple #1
0
 //----------------------------------------------------------------
 public void Next()
 {
     m_interpolator.Next();
     if (m_pos >= m_subdiv_size)
     {
         uint len = m_len;
         if (len > m_subdiv_size)
         {
             len = (uint)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;
 }