Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoprojection.cpp561 double bboxWidth = (bottomRightPoint.x() - topLeftPoint.x()) * mapWidth(); in fitViewportToGeoRectangle() local
564 if (bboxHeight == 0.0 && bboxWidth == 0.0) in fitViewportToGeoRectangle()
567 double zoomRatio = qMax(bboxWidth / (m_viewportWidth - m.left() - m.right()), in fitViewportToGeoRectangle()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeomap.cpp2448 double bboxWidth = maxX - minX; in fitViewportToMapItemsRefine() local
2450 double bboxCenterX = minX + (bboxWidth / 2.0); in fitViewportToMapItemsRefine()
2459 double bboxWidthRatio = bboxWidth / (bboxWidth + bboxHeight); in fitViewportToMapItemsRefine()
2464 zoomRatio = bboxWidth / width(); in fitViewportToMapItemsRefine()