Exemplo n.º 1
0
        // NSString * MAStringFromMapSize (MAMapSize size);
        //[DllImport("__Internal")]
        //static extern NSString MAStringFromMapSize(MAMapSize size);
        ////
        public static string MAStringFromMapSize(MAMapSize size)
        {
            var a = size.width;
            var b = size.height;

            return(string.Format(@"{%.1f, %.1f}", a, b));
        }
Exemplo n.º 2
0
 // BOOL MAMapSizeEqualToSize (MAMapSize size1, MAMapSize size2);
 //[DllImport("__Internal")]
 //static extern bool MAMapSizeEqualToSize(MAMapSize size1, MAMapSize size2);
 ////
 public static bool MAMapSizeEqualToSize(MAMapSize size1, MAMapSize size2)
 {
     return(size1.width == size2.width && size1.height == size2.height);
 }
Exemplo n.º 3
0
 static extern bool MAMapSizeContainsSize(MAMapSize size1, MAMapSize size2);