Inheritance: LineInterpolatorAABase
Exemple #1
0
        void Line0NoClip(LineParameters lp)
        {
            if (lp.len > LineAA.MAX_LENGTH)
            {
                LineParameters lp1, lp2;
                lp.Divide(out lp1, out lp2);
                Line0NoClip(lp1);
                Line0NoClip(lp2);
                return;
            }

            LineInterpolatorAA0 li = new LineInterpolatorAA0(this, lp);

            if (li.Count != 0)
            {
                if (li.IsVertical)
                {
                    while (li.StepV())
                    {
                        ;
                    }
                }
                else
                {
                    while (li.StepH())
                    {
                        ;
                    }
                }
            }
        }
Exemple #2
0
        void Line0NoClip(LineParameters lp)
        {
            if (lp.len > LineAA.MAX_LENGTH)
            {
                LineParameters lp1, lp2;
                lp.Divide(out lp1, out lp2);
                Line0NoClip(lp1);
                Line0NoClip(lp2);
                return;
            }

            LineInterpolatorAA0 li = new LineInterpolatorAA0(this, lp);

            li.Loop();
        }
        void Line0NoClip(LineParameters lp)
        {
            if (lp.len > LineAA.MAX_LENGTH)
            {
                LineParameters lp1, lp2;
                lp.Divide(out lp1, out lp2);
                Line0NoClip(lp1);
                Line0NoClip(lp2);
                return;
            }

            LineInterpolatorAA0 li = new LineInterpolatorAA0(this, lp);
            if (li.Count != 0)
            {
                if (li.IsVertical)
                {
                    while (li.StepV()) ;
                }
                else
                {
                    while (li.StepH()) ;
                }
            }
        }