コード例 #1
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);
        }
コード例 #2
0
 private static Block AddColumn3(Block block)
 {
     block = block.AddRight(Brushes.Blue, 76);
     block.AddInner(Brushes.Yellow, 35, 39, 41);
     Block inner = block.AddInner(Brushes.Red, 36, 37, offsetTop: 37);
     inner = inner.AddBelow(Brushes.Gray, 58, width: 76);
     inner.AddInner(Brushes.White, 300 - 271, 466 - 444, 13, 21);
     inner = inner.AddBelow(Brushes.Red, 25, width: 32);
     inner = inner.AddRight(Brushes.Yellow, 17);
     inner.AddRight(Brushes.Blue, 27);
     return block;
 }
コード例 #3
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;
        }
コード例 #4
0
 private static Block AddColumn4(Block block)
 {
     block = block.AddRight(Brushes.White, 96);
     Block inner = block.AddInner(Brushes.Red, 390 - 357, 444 - 416, 33, 70);
     inner.AddBelow(Brushes.Yellow, 15);
     return block;
 }
コード例 #5
0
 private static Block AddColumn2(Block block)
 {
     block = block.AddRight(Brushes.White, 79);
     Block inner = block.AddInner(Brushes.Gray, 39, 92);
     inner.AddRowsRight(40, new[] { 358, 392, 438 }, new[] { Brushes.Beige, Brushes.Red, Brushes.Yellow });
     return block;
 }
コード例 #6
0
 private static Block AddColumn1(Block block)
 {
     block = block.AddBelow(Brushes.LightGray, 157, 92, 77);
     Block inner = block.AddInner(Brushes.Gray, height: 75, offsetTop: 82);
     inner.AddInner(Brushes.Blue, 28, 28, 41, 23);
     return block;
 }
コード例 #7
0
        public Block AddRow(Block block)
        {
            block = block.AddRowLeftToRight(221, 850, 66,
                new[] { 320, 414, 515, 630, 722, 819, 897, 928 },
                new[] { Brushes.LightGray, Brushes.Yellow, Brushes.LightGray, Brushes.Gray, Brushes.Red, Brushes.Gray, Brushes.Invisible, Brushes.LightGray }
                );

            block = new Block(Brushes.Invisible, block.Graphics, 221, 850, 1, 66, false);

            Block inner = block.AddInner(Brushes.Yellow, offsetLeft: 341, offsetTop: 16, height: 28, width: 39);
            inner.AddInner(Brushes.Black, width: 29);

            block.AddInner(Brushes.Red, width: 31, offsetLeft: 676, offsetTop: 25, height: 24);

            return block;
        }
コード例 #8
0
        public Block AddRow(Block block)
        {
            block = block.AddBelow(Brushes.Yellow, height: 98);

            Block inner = block.AddInner(Brushes.White, width: 154, offsetLeft: 113);
            inner.AddInner(Brushes.LightGray, width: 111, offsetLeft: 43, height: 66);
            inner.AddInner(Brushes.Gray, width: 43, offsetTop: 44, height: 54);

            return block;
        }
コード例 #9
0
        private static void AddColumn2(Block block)
        {
            block.AddInner(Brushes.Gray, width: 75, height: 69, offsetTop: 29, offsetLeft: 315);

            block.AddInnerRows(
                new[] { Brushes.Gray, Brushes.Blue, Brushes.Yellow, Brushes.Blue, Brushes.Red },
                new[] { 36, 37, 38, 20, 26 },
                width: 51,
                offsetLeft: 492,
                offsetTop: 29);

            block.AddInnerRows(
                new[] { Brushes.White, Brushes.Red },
                new[] { 54, 60 },
                width: 59,
                offsetLeft: 543,
                offsetTop: 29);

            block.AddInner(Brushes.Red, width: 50, height: 50, offsetLeft: 602, offsetTop: 29);
        }
コード例 #10
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;
        }
コード例 #11
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;
        }
コード例 #12
0
        private static Block AddColumn7(Block block)
        {
            block = block.AddRight(Brushes.LightGray, 105);
            Block inner = block.AddInner(Brushes.Yellow, 804 - 717, 53);
            inner = inner.AddBelow(Brushes.Gray, 485 - 399, width: block.Width);
            Block innerBlack = inner.AddInner(Brushes.Black, offsetLeft: 39, offsetTop: 32, height: 25, width: 28);
            innerBlack.AddInner(Brushes.Blue, 13, 14, 15, 11);

            Block bottom = inner.AddBelow(Brushes.White, 18);
            bottom.AddInnerColumns(
                new[] { Brushes.Red, Brushes.Beige, Brushes.White, Brushes.Black, Brushes.Blue, Brushes.Beige },
                new[] { 24, 9, 12, 12, 12, 11 });
            return block;
        }
コード例 #13
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;
        }
コード例 #14
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;
        }
コード例 #15
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;
        }
コード例 #16
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;
        }