Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoprojection.cpp550 QDoubleVector2D topLeftPoint = geoToMapProjection(rectangle.topLeft()); in fitViewportToGeoRectangle() local
552 if (bottomRightPoint.x() < topLeftPoint.x()) // crossing the dateline in fitViewportToGeoRectangle()
556 QDoubleVector2D center = (topLeftPoint + bottomRightPoint) * 0.5; in fitViewportToGeoRectangle()
561 double bboxWidth = (bottomRightPoint.x() - topLeftPoint.x()) * mapWidth(); in fitViewportToGeoRectangle()
562 double bboxHeight = (bottomRightPoint.y() - topLeftPoint.y()) * mapHeight(); in fitViewportToGeoRectangle()