//------------------------------------------------------- public int BaseStepV(DistanceInterpolator1 di) { m_li.Next(); m_y += m_lp.inc; m_x = (m_lp.x1 + m_li.Y) >> LineAA.SUBPIXEL_SHIFT; if (m_lp.inc > 0) { di.IncY(m_x - m_old_x); } else { di.DecY(m_x - m_old_x); } m_old_x = m_x; return(di.Distance / m_len); }
//------------------------------------------------------- public int BaseStepV(DistanceInterpolator1 di) { m_li.Next(); m_y += m_lp.inc; m_x = (m_lp.x1 + m_li.Y) >> LineAA.SUBPIXEL_SHIFT; if (m_lp.inc > 0) di.IncY(m_x - m_old_x); else di.DecY(m_x - m_old_x); m_old_x = m_x; return di.Distance / m_len; }