Searched refs:topLeftPoint (Results 1 – 1 of 1) sorted by relevance
550 QDoubleVector2D topLeftPoint = geoToMapProjection(rectangle.topLeft()); in fitViewportToGeoRectangle() local552 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()