public int BaseStepH(DistanceInterpolator1 di) { m_li.Next(); m_x += m_lp.inc; m_y = (m_lp.y1 + m_li.Y) >> LineAA.SUBPIXEL_SHIFT; if (m_lp.inc > 0) di.IncX(m_y - m_old_y); else di.DecX(m_y - m_old_y); m_old_y = m_y; return di.Distance / m_len; }
public int BaseStepH(DistanceInterpolator1 di) { m_li.Next(); m_x += m_lp.inc; m_y = (m_lp.y1 + m_li.Y) >> LineAA.SUBPIXEL_SHIFT; if (m_lp.inc > 0) { di.IncX(m_y - m_old_y); } else { di.DecX(m_y - m_old_y); } m_old_y = m_y; return(di.Distance / m_len); }