Searched refs:bboxWidth (Results 1 – 2 of 2) sorted by relevance
561 double bboxWidth = (bottomRightPoint.x() - topLeftPoint.x()) * mapWidth(); in fitViewportToGeoRectangle() local564 if (bboxHeight == 0.0 && bboxWidth == 0.0) in fitViewportToGeoRectangle()567 double zoomRatio = qMax(bboxWidth / (m_viewportWidth - m.left() - m.right()), in fitViewportToGeoRectangle()
2448 double bboxWidth = maxX - minX; in fitViewportToMapItemsRefine() local2450 double bboxCenterX = minX + (bboxWidth / 2.0); in fitViewportToMapItemsRefine()2459 double bboxWidthRatio = bboxWidth / (bboxWidth + bboxHeight); in fitViewportToMapItemsRefine()2464 zoomRatio = bboxWidth / width(); in fitViewportToMapItemsRefine()