Searched refs:bottomRightPoint (Results 1 – 1 of 1) sorted by relevance
551 QDoubleVector2D bottomRightPoint = geoToMapProjection(rectangle.bottomRight()); in fitViewportToGeoRectangle() local552 if (bottomRightPoint.x() < topLeftPoint.x()) // crossing the dateline in fitViewportToGeoRectangle()553 bottomRightPoint.setX(bottomRightPoint.x() + 1.0); 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()