Exemplo n.º 1
0
 public static List <string> AddRuler(List <string> list, Bounding bounds)
 {
     if (bounds != null && bounds.IsValid())
     {
         return(AddRuler(list, bounds.XMin, bounds.YMin));
     }
     return(AddRuler(list));
 }
Exemplo n.º 2
0
 public void IntersectingDimensions(Bounding rhs, out int width, out int height)
 {
     if (IsValid() && rhs.IsValid())
     {
         IntersectingWidth(rhs, out width);
         IntersectingHeight(rhs, out height);
     }
     else
     {
         width  = 0;
         height = 0;
     }
 }