Home
last modified time | relevance | path

Searched refs:overlayLatLonBox (Results 1 – 2 of 2) sorted by relevance

/dports/astro/marble/marble-21.12.3/src/plugins/render/annotate/
H A DGroundOverlayFrame.cpp359 GeoDataLatLonBox overlayLatLonBox = m_overlay->latLonBox(); in update() local
365 GeoDataCoordinates northWest(overlayLatLonBox.west(), overlayLatLonBox.north()); in update()
366 rotatedCoord = northWest.rotateAround(overlayLatLonBox.center(), overlayLatLonBox.rotation()); in update()
369 GeoDataCoordinates southWest(overlayLatLonBox.west(), overlayLatLonBox.south()); in update()
370 rotatedCoord = southWest.rotateAround(overlayLatLonBox.center(), overlayLatLonBox.rotation()); in update()
373 GeoDataCoordinates southEast(overlayLatLonBox.east(), overlayLatLonBox.south()); in update()
374 rotatedCoord = southEast.rotateAround(overlayLatLonBox.center(), overlayLatLonBox.rotation()); in update()
377 GeoDataCoordinates northEast(overlayLatLonBox.east(), overlayLatLonBox.north()); in update()
378 rotatedCoord = northEast.rotateAround(overlayLatLonBox.center(), overlayLatLonBox.rotation()); in update()
/dports/astro/marble/marble-21.12.3/src/lib/marble/
H A DMergedLayerDecorator.cpp219 const GeoDataLatLonBox overlayLatLonBox = overlay->latLonBox(); in renderGroundOverlays() local
221 if ( !tileLatLonBox.intersects( overlayLatLonBox.toCircumscribedRectangle() ) ) { in renderGroundOverlays()
228 const qreal latToPixel = overlay->icon().height() / overlayLatLonBox.height(); in renderGroundOverlays()
229 const qreal lonToPixel = overlay->icon().width() / overlayLatLonBox.width(); in renderGroundOverlays()
255 … rotatedCoords = coords.rotateAround(overlayLatLonBox.center(), -overlay->latLonBox().rotation()); in renderGroundOverlays()
262 …qreal px = GeoDataLatLonBox::width( rotatedCoords.longitude(), overlayLatLonBox.west() ) * lonToPi… in renderGroundOverlays()
263 ….height() ) - ( GeoDataLatLonBox::height( rotatedCoords.latitude(), overlayLatLonBox.south() ) * l… in renderGroundOverlays()