Пример #1
0
        private Block AddColumn4(Block block)
        {
            block = block.AddRight(Brushes.Invisible, width: 161, newOffsetLeft: 716);

            int totalHeight = 0;
            Block inner = block.AddInnerColumns(
                new[] { Brushes.Gray, Brushes.Invisible, Brushes.Red, Brushes.Invisible, Brushes.Black, Brushes.Blue, Brushes.Invisible, Brushes.Black, Brushes.Blue },
                new[] { 20, 42, 19, 16, 9, 18, 16, 9, 12 },
                height: 18
                );
            totalHeight = inner.Height;
            inner = block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Invisible, Brushes.Blue, Brushes.Invisible, Brushes.Red, Brushes.Invisible },
                new[] { 62, 19, 21, 22, 19, 18 },
                height: 17,
                offsetTop: totalHeight
                );
            totalHeight += inner.Height;

            inner = block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Red, Brushes.Invisible, Brushes.Black, Brushes.Red, Brushes.Black, Brushes.Invisible, Brushes.Blue },
                new[] { 62, 19, 13, 12, 11, 16, 10, 18 },
                height: 15,
                offsetTop: totalHeight
                );
            totalHeight += inner.Height;

            inner = block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Invisible, Brushes.Blue, Brushes.Invisible, Brushes.Red, Brushes.Invisible },
                new[] { 62, 19, 21, 22, 19, 18 },
                height: 17,
                offsetTop: totalHeight
                );

            totalHeight += inner.Height;

            inner = block.AddInnerColumns(
                new[] { Brushes.Red, Brushes.Gray, Brushes.Yellow, Brushes.Red, Brushes.Blue, Brushes.Invisible, Brushes.Red, Brushes.Yellow, Brushes.Blue },
                new[] { 20, 17, 7, 18, 19, 21, 22, 19, 18 },
                height: 17,
                offsetTop: totalHeight
                );

            inner = inner.AddBelow(Brushes.Yellow, height: 13, width: 20);
            inner.AddBelow(Brushes.Blue, 17);

            return block;
        }
Пример #2
0
        private static void AddColumn1(Block block)
        {
            Block inner =
                block.AddInnerColumns(
                    new[] { Brushes.Black, Brushes.LightGray, Brushes.Red, Brushes.Black, Brushes.LightGray },
                    new[] { 128, 27, 20, 24, 18 },
                    height: 29);

            inner.AddBelow(Brushes.Gray, height: 36);

            inner = block.AddInner(Brushes.LightGray, offsetLeft: 223, width: 35, height: 33, offsetTop: 65);
            inner.AddRight(Brushes.Red, width: 52);

            inner = block.AddInner(Brushes.Blue, width: 76, height: 65, offsetLeft: 217);
            inner.AddInner(Brushes.Yellow, width: 23, height: 19, offsetLeft: 25, offsetTop: 16);

            inner.AddInnerColumns(
                new[]
                    {
                        Brushes.LightGray, Brushes.DarkYellow, Brushes.Black, Brushes.Red, Brushes.Invisible, Brushes.Black,
                        Brushes.Red, Brushes.White, Brushes.Black, Brushes.Yellow, Brushes.Blue, Brushes.Black, Brushes.Red,
                        Brushes.Black, Brushes.Yellow, Brushes.Gray, Brushes.Blue
                    },
                new[] { 25, 4, 20, 13, 17, 28, 8, 56, 31, 17, 4, 22, 19, 27, 33, 8, 50 },
                height: 29,
                offsetLeft: inner.Width);
        }
Пример #3
0
        private static Block AddColumn5(Block block)
        {
            block = block.AddRight(Brushes.Gray, 111);
            Block inner = block.AddInnerColumns(
                new[] { Brushes.Red, Brushes.LightGray, Brushes.Blue, Brushes.Yellow },
                new[] { 32, 27, 30, 22 },
                height: 27);

            inner = inner.AddBelow(Brushes.Gray, 109);
            inner.AddInner(Brushes.Red, 514 - 432, 472 - 415, 12, 42);

            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.White, Brushes.Red, Brushes.Yellow, Brushes.White, Brushes.Black },
                new[] { 26, 18, 21, 9, 8, 29 },
                height: 21,
                offsetTop: 136);

            return block;
        }
Пример #4
0
        public Block AddRow(Block block)
        {
            block = block.AddBelow(Brushes.Black, 24, newStartOffsetLeft: 400, width: 313);

            block.AddInnerColumns(
                new[] { Brushes.Invisible, Brushes.Yellow, Brushes.Invisible, Brushes.Yellow, Brushes.White, Brushes.Invisible, Brushes.DarkRed, Brushes.Red, Brushes.Blue, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Invisible },
                new[] { 43, 41, 31, 8, 72, 10, 8, 12, 14, 4, 8, 1, 9, 35, 17 });

            block.AddInner(Brushes.Yellow, width: 9, height: block.Height - 4, offsetTop: 2, offsetLeft: 261);

            return block;
        }
Пример #5
0
        public Block AddRow(Block block)
        {
            block = block.AddBelow(Brushes.Red, height: 33, width: 38, newStartOffsetLeft: 131, newStartOffsetTop: 681);

            block = block.AddInnerColumns(
                new[] { Brushes.Yellow, Brushes.LightGray, Brushes.Yellow, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Red, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Beige, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.White, Brushes.Yellow, Brushes.Red, Brushes.Blue, Brushes.Beige, Brushes.LightGray, Brushes.Yellow, Brushes.White, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Black, Brushes.Beige, Brushes.Red, Brushes.White, Brushes.Red, Brushes.Blue },
                new[] { 19, 8, 9, 23, 11, 9, 9, 15, 15, 10, 9, 23, 51, 18, 13, 23, 32, 13, 14, 19, 22, 17, 9, 19, 24, 22, 16, 20, 17, 18, 18, 18, 8, 19, 16, 20, 9, 18, 17, 10, 29, 21, 3, 19, 10, 17, 17, 31, 17, 27, 22, 23 },
                height: 18,
                offsetLeft: block.Width,
                offsetTop: 15
                );
            return block;
        }
Пример #6
0
        private Block AddColumn1(Block block)
        {
            block = block.AddBelow(Brushes.White, height: 114, newStartOffsetLeft: 131, width: 195);

            Block inner = block.AddInner(Brushes.Yellow, offsetLeft: 16, width: 17, height: 45, offsetTop: 19);
            block.AddInner(Brushes.Yellow, width: 15, offsetLeft: 33, offsetTop: 33, height: 31);
            block.AddInnerColumns(
                new[] { Brushes.Yellow, Brushes.DarkYellow },
                new[] { 73, 51 },
                height: 64,
                offsetLeft: 48);

            inner = block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Invisible, Brushes.Red },
                new[] { 73, 25, 49 },
                offsetTop: 64,
                offsetLeft: 48,
                height: 50);
            inner.AddInner(Brushes.Yellow, offsetLeft: 30, offsetTop: 12, height: 21, width: 23);
            inner.AddInner(Brushes.Gray, offsetLeft: 73, width: 25, height: 20);

            return block;
        }
Пример #7
0
        public Block AddRow(Block block)
        {
            block = block.AddBelow(Brushes.Gray, height: 64, newStartOffsetLeft: 400, width: 313);

            block.AddInner(Brushes.Yellow, width: 220);
            block.AddInnerColumns(
                new[] { Brushes.LightGray, Brushes.White },
                new[] { 34, 34 },
                height: 33,
                offsetLeft: 43);
            block.AddInner(Brushes.Black, offsetLeft: 84, offsetTop: 33, width: 29, height: 31);

            return block;
        }
Пример #8
0
        private Block AddColumn2(Block block)
        {
            block = block.AddRight(Brushes.Invisible, width: 204);

            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Invisible, Brushes.Yellow, Brushes.Red, Brushes.Invisible, Brushes.Red, Brushes.Yellow },
                new[] { 24, 60, 26, 22, 34, 28, 10 },
                height: 19);
            block.AddInnerColumns(
                new[] { Brushes.Gray, Brushes.Blue },
                new[] { 84, 120 },
                height: 56,
                offsetTop: 19);
            block.AddInnerColumns(
                new[] { Brushes.LightGray, Brushes.Red },
                new[] { 84, 120 },
                height: 39,
                offsetTop: 75);

            block.AddInner(Brushes.Red, width: 30, height: 25, offsetTop: 33, offsetLeft: 31);
            block.AddInner(Brushes.Yellow, width: 25, height: 22, offsetTop: 33, offsetLeft: 131);

            return block;
        }
Пример #9
0
        private Block AddColumn6(Block block)
        {
            block = block.AddRight(Brushes.Invisible, width: 131);

            block.AddInnerColumns(
                new[] { Brushes.Invisible, Brushes.Gray, Brushes.LightGray },
                new[] { 44, 46, 41 },
                height: 42
                );
            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.LightGray },
                new[] { 44, 46 },
                height: 41,
                offsetTop: 42
                );
            block.AddInner(Brushes.LightGray, width: 44, height: 31, offsetTop: 83);

            return block;
        }
Пример #10
0
        private Block AddColumn5(Block block)
        {
            block = block.AddRight(Brushes.Red, width: 92);

            block.AddInner(Brushes.Yellow, height: 42);
            block.AddInner(Brushes.Yellow, height: 21, width: 22, offsetLeft: 31, offsetTop: 60);

            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.White, Brushes.Blue },
                new[] { 23, 44, 25 },
                height: 15,
                offsetTop: 99
                );

            return block;
        }
Пример #11
0
        private static Block AddColumn9(Block block)
        {
            block = block.AddRight(Brushes.Gray, 205);

            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Yellow },
                new[] { 38, 42 },
                height: 37);
            block.AddInnerColumns(
                new[] { Brushes.Red, Brushes.Blue, Brushes.White, Brushes.Red },
                new[] { 15, 21, 20, 24 },
                height: 20,
                offsetTop: 82);

            Block inner = block.AddInner(Brushes.White, 61, 46, 80, 52);
            Block blueInner = inner.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.Invisible, Brushes.Yellow },
                new[] { 48, 13, 64 },
                height: 41,
                offsetTop: inner.Height);
            blueInner.AddInner(Brushes.Yellow, 21, 21, 12, 13);

            block.AddInnerColumns(
                new[] { Brushes.Blue, Brushes.White, Brushes.Blue, Brushes.Yellow, Brushes.White },
                new[] { 19, 13, 24, 85, 45 },
                height: 18,
                offsetTop: block.Height - 18);

            return block;
        }