public static int Convert(double x) { return(AggBasics.iround( x * LineAA.SUBPIXEL_SCALE, LineAA.SUBPIXEL_COORD)); }
//---------------------------------------------------------------- public void ReSync(double xe, double ye, int len) { m_trans.Transform(ref xe, ref ye); m_li_x = new LineInterpolatorDDA2(m_li_x.Y, AggBasics.iround(xe * (double)SUB_PIXEL_SCALE), (int)len); m_li_y = new LineInterpolatorDDA2(m_li_y.Y, AggBasics.iround(ye * (double)SUB_PIXEL_SCALE), (int)len); }