Пример #1
0
        public void TestUnion()
        {
            var sketchA = new Sketch(64, 64,
                                     new Line(16, 16, 48, 16),
                                     new Line(48, 16, 48, 48));

            var sketchB = new Sketch(64, 64,
                                     new Line(48, 48, 16, 48),
                                     new Line(16, 48, 16, 16));

            var sketchUnion = Bolt.Union(sketchA, sketchB);

            sketchUnion.Scale = 8.0;

            sketchUnion.WriteImage(WorkingDirectory, "Union");
        }