Ejemplo n.º 1
0
        // NSString * MAStringFromMapSize (MAMapSize size);
        //[DllImport("__Internal",EntryPoint = "MAStringFromMapSize")]
        //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));
        }
Ejemplo n.º 2
0
 //[Verify(PlatformInvoke)]
 static extern NSString MAStringFromMapSize(MAMapSize size);
Ejemplo n.º 3
0
 //[Verify(PlatformInvoke)]
 static extern bool MAMapSizeEqualToSize(MAMapSize size1, MAMapSize size2);
Ejemplo n.º 4
0
 //[Verify(PlatformInvoke)]
 static extern bool MAMapSizeContainsSize(MAMapSize size1, MAMapSize size2);
Ejemplo n.º 5
0
 // BOOL MAMapSizeEqualToSize (MAMapSize size1, MAMapSize size2);
 //[DllImport("__Internal",EntryPoint = "MAMapSizeEqualToSize")]
 //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);
 }
Ejemplo n.º 6
0
 public static bool MAMapSizeContainsSize(MAMapSize size1, MAMapSize size2)
 {
     return(_MAMapSizeContainsSize(size1, size2));
 }