void Line2NoClip(LineParameters lp, int ex, int ey) { if (lp.len > LineAA.MAX_LENGTH) { LineParameters lp1, lp2; lp.Divide(out lp1, out lp2); Line2NoClip(lp1, lp1.x2 + (lp1.y2 - lp1.y1), lp1.y2 - (lp1.x2 - lp1.x1)); Line2NoClip(lp2, (lp.x2 + ex) >> 1, (lp.y2 + ey) >> 1); return; } LineAA.FixDegenBisectrixEnd(lp, ref ex, ref ey); LineInterpolatorAA2 li = new LineInterpolatorAA2(this, lp, ex, ey); if (li.IsVertical) { while (li.StepV()) { ; } } else { while (li.StepH()) { ; } } }
void Line2NoClip(LineParameters lp, int ex, int ey) { if (lp.len > LineAA.MAX_LENGTH) { LineParameters lp1, lp2; lp.Divide(out lp1, out lp2); Line2NoClip(lp1, lp1.x2 + (lp1.y2 - lp1.y1), lp1.y2 - (lp1.x2 - lp1.x1)); Line2NoClip(lp2, (lp.x2 + ex) >> 1, (lp.y2 + ey) >> 1); return; } LineAA.FixDegenBisectrixEnd(lp, ref ex, ref ey); LineInterpolatorAA2 li = new LineInterpolatorAA2(this, lp, ex, ey); if (li.IsVertical) { while (li.StepV()) ; } else { while (li.StepH()) ; } }