Beispiel #1
0
 public bool AddFrom(Point point)
 {
     if (InTos(point))
     {
         return(false);
     }
     Froms.Add(point);
     return(true);
 }
Beispiel #2
0
        private void GenerateFroms(Pattern from)
        {
            Froms.Add(Rotate(from));
            for (int z = 0; z < 3; z++)
            {
                Froms.Add(Rotate(Froms.Last()));
            }

            from = FlipY(from);
            Froms.Add(Rotate(from));
            for (int z = 0; z < 3; z++)
            {
                Froms.Add(Rotate(Froms.Last()));
            }

            from = FlipX(from);
            Froms.Add(Rotate(from));
            for (int z = 0; z < 3; z++)
            {
                Froms.Add(Rotate(Froms.Last()));
            }

            from = FlipY(from);
            Froms.Add(Rotate(from));
            for (int z = 0; z < 3; z++)
            {
                Froms.Add(Rotate(Froms.Last()));
            }

            from = FlipX(from);
            Froms.Add(Rotate(from));
            for (int z = 0; z < 3; z++)
            {
                Froms.Add(Rotate(Froms.Last()));
            }
        }
Beispiel #3
0
 public void AddFrom(string email)
 {
     Froms.Add(new MailboxAddress(email, email));
 }