Пример #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(M.New <T>(m_src_x).Divide((double)SubPixelScale).Add(len),
                                      m_src_y,
                                      len);
         m_pos = 0;
     }
     m_src_x += SubPixelScale;
     ++m_pos;
     --m_len;
 }