Esempio n. 1
0
            public void DrawLine(IBuffer surface, IBufferPen pen, ref ICollection<float> list, float x1, float x2, int y, bool horizontal = true)
            {
                list.Clear();
                Geometry.AddValSafe(x1, y, horizontal, ref list, Contains);
                Geometry.AddValSafe(x2, y, horizontal, ref list, Contains);

                Option.AddValsSafe(y, horizontal, ref list, this);
                surface.WriteLine(list, y, horizontal, pen, PolyFill.OddEven | PolyFill.AAEnds);
            }