public static NPoint FromPointInUtmk(this NMapView This, CGPoint pt) { NPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("fromPointInUtmk:"), pt); } else { global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend_stret_CGPoint(out ret, This.Handle, Selector.GetHandle("fromPointInUtmk:"), pt); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("fromPointInUtmk:"), pt); } else { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("fromPointInUtmk:"), pt); } return(ret); }
public static CGPoint ToPointFromUtmk(this NMapView This, NPoint utmk) { CGPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_NPoint(This.Handle, Selector.GetHandle("toPointFromUtmk:"), utmk); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_stret_NPoint(out ret, This.Handle, Selector.GetHandle("toPointFromUtmk:"), utmk); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_NPoint(This.Handle, Selector.GetHandle("toPointFromUtmk:"), utmk); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_NPoint(This.Handle, Selector.GetHandle("toPointFromUtmk:"), utmk); } return(ret); }
public static CGPoint ToMapPointFromViewPortOffset(this NMapView This, CGPoint offset) { CGPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("toMapPointFromViewPortOffset:"), offset); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_stret_CGPoint(out ret, This.Handle, Selector.GetHandle("toMapPointFromViewPortOffset:"), offset); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("toMapPointFromViewPortOffset:"), offset); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_CGPoint(This.Handle, Selector.GetHandle("toMapPointFromViewPortOffset:"), offset); } return(ret); }
public static NGPoint ToMapPointFromUtmk(this NMapView This, NPoint utmk, int level, NGRect viewPort) { NGPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NPoint_int_NGRect(This.Handle, Selector.GetHandle("toMapPointFromUtmk:atLevel:viewPort:"), utmk, level, viewPort); } else { global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_stret_NPoint_int_NGRect(out ret, This.Handle, Selector.GetHandle("toMapPointFromUtmk:atLevel:viewPort:"), utmk, level, viewPort); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NPoint_int_NGRect(This.Handle, Selector.GetHandle("toMapPointFromUtmk:atLevel:viewPort:"), utmk, level, viewPort); } else { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NPoint_int_NGRect(This.Handle, Selector.GetHandle("toMapPointFromUtmk:atLevel:viewPort:"), utmk, level, viewPort); } return(ret); }
public static NGeoRect ScreenBoundsBy(this NMapView This, double areaRatio) { NGeoRect ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NGeoRect_objc_msgSend_Double(This.Handle, Selector.GetHandle("screenBoundsBy:"), areaRatio); } else { global::NMapViewerSDK.iOS.Messaging.NGeoRect_objc_msgSend_stret_Double(out ret, This.Handle, Selector.GetHandle("screenBoundsBy:"), areaRatio); } } else if (IntPtr.Size == 8) { global::NMapViewerSDK.iOS.Messaging.NGeoRect_objc_msgSend_stret_Double(out ret, This.Handle, Selector.GetHandle("screenBoundsBy:"), areaRatio); } else { global::NMapViewerSDK.iOS.Messaging.NGeoRect_objc_msgSend_stret_Double(out ret, This.Handle, Selector.GetHandle("screenBoundsBy:"), areaRatio); } return(ret); }
public static NSize ToSizeInViewPort(this NMapView This, NSize size) { NSize ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NSize_objc_msgSend_NSize(This.Handle, Selector.GetHandle("toSizeInViewPort:"), size); } else { global::NMapViewerSDK.iOS.Messaging.NSize_objc_msgSend_stret_NSize(out ret, This.Handle, Selector.GetHandle("toSizeInViewPort:"), size); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NSize_objc_msgSend_NSize(This.Handle, Selector.GetHandle("toSizeInViewPort:"), size); } else { ret = global::NMapViewerSDK.iOS.Messaging.NSize_objc_msgSend_NSize(This.Handle, Selector.GetHandle("toSizeInViewPort:"), size); } return(ret); }
public static NRect ScreenBoundsInUtmk(this NMapView This) { NRect ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend(This.Handle, Selector.GetHandle("screenBoundsInUtmk")); } else { global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("screenBoundsInUtmk")); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend(This.Handle, Selector.GetHandle("screenBoundsInUtmk")); } else { global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("screenBoundsInUtmk")); } return(ret); }
public static NRect ToBoundsInUtmk(this NMapView This, NGeoRect bounds) { NRect ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_NGeoRect(This.Handle, Selector.GetHandle("toBoundsInUtmk:"), bounds); } else { global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_stret_NGeoRect(out ret, This.Handle, Selector.GetHandle("toBoundsInUtmk:"), bounds); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_NGeoRect(This.Handle, Selector.GetHandle("toBoundsInUtmk:"), bounds); } else { global::NMapViewerSDK.iOS.Messaging.NRect_objc_msgSend_stret_NGeoRect(out ret, This.Handle, Selector.GetHandle("toBoundsInUtmk:"), bounds); } return(ret); }
public static NGPoint ToMapPointFromLocation(this NMapView This, NGeoPoint location) { NGPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NGeoPoint(This.Handle, Selector.GetHandle("toMapPointFromLocation:"), location); } else { global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_stret_NGeoPoint(out ret, This.Handle, Selector.GetHandle("toMapPointFromLocation:"), location); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NGeoPoint(This.Handle, Selector.GetHandle("toMapPointFromLocation:"), location); } else { ret = global::NMapViewerSDK.iOS.Messaging.NGPoint_objc_msgSend_NGeoPoint(This.Handle, Selector.GetHandle("toMapPointFromLocation:"), location); } return(ret); }
public static NPoint MapBoundsCenterInUtmkX(this NMapView This) { NPoint ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend(This.Handle, Selector.GetHandle("mapBoundsCenterInUtmkX")); } else { global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("mapBoundsCenterInUtmkX")); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend(This.Handle, Selector.GetHandle("mapBoundsCenterInUtmkX")); } else { ret = global::NMapViewerSDK.iOS.Messaging.NPoint_objc_msgSend(This.Handle, Selector.GetHandle("mapBoundsCenterInUtmkX")); } return(ret); }
public static CGRect BoundsVisible(this NMapView This) { CGRect ret; if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGRect_objc_msgSend(This.Handle, Selector.GetHandle("boundsVisible")); } else { global::NMapViewerSDK.iOS.Messaging.CGRect_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("boundsVisible")); } } else if (IntPtr.Size == 8) { global::NMapViewerSDK.iOS.Messaging.CGRect_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("boundsVisible")); } else { global::NMapViewerSDK.iOS.Messaging.CGRect_objc_msgSend_stret(out ret, This.Handle, Selector.GetHandle("boundsVisible")); } return(ret); }
public virtual CGPoint ScreenPosition(NMapView mapView, NGRect viewPortOrigin) { if (mapView == null) { throw new ArgumentNullException("mapView"); } CGPoint ret; if (IsDirectBinding) { if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr_NGRect(this.Handle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_stret_IntPtr_NGRect(out ret, this.Handle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr_NGRect(this.Handle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr_NGRect(this.Handle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } } else { if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr_NGRect(this.SuperHandle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_stret_IntPtr_NGRect(out ret, this.SuperHandle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr_NGRect(this.SuperHandle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr_NGRect(this.SuperHandle, Selector.GetHandle("screenPosition:viewPortOrigin:"), mapView.Handle, viewPortOrigin); } } return(ret); }
public virtual CGPoint BoundsOffset(NMapView mapView) { if (mapView == null) { throw new ArgumentNullException("mapView"); } CGPoint ret; if (IsDirectBinding) { if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_stret_IntPtr(out ret, this.Handle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } } else { if (Runtime.Arch == Arch.DEVICE) { if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } else { global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_stret_IntPtr(out ret, this.SuperHandle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } } else if (IntPtr.Size == 8) { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } else { ret = global::NMapViewerSDK.iOS.Messaging.CGPoint_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("boundsOffset:"), mapView.Handle); } } return(ret); }