Home
last modified time | relevance | path

Searched refs:bottomRight (Results 1 – 25 of 54) sorted by relevance

123

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeorectangle.cpp235 QGeoRectangle::QGeoRectangle(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight) in QGeoRectangle() argument
238 d_ptr = new QGeoRectanglePrivate(topLeft, bottomRight); in QGeoRectangle()
317 return topLeft.isValid() && bottomRight.isValid() && in isValid()
318 topLeft.latitude() >= bottomRight.latitude(); in isValid()
326 return topLeft.latitude() == bottomRight.latitude() || in isEmpty()
327 topLeft.longitude() == bottomRight.longitude(); in isEmpty()
358 d->bottomRight.setLongitude(topRight.longitude()); in setTopRight()
372 return QGeoCoordinate(d->topLeft.latitude(), d->bottomRight.longitude()); in topRight()
382 d->bottomRight.setLatitude(bottomLeft.latitude()); in setBottomLeft()
397 return QGeoCoordinate(d->bottomRight.latitude(), d->topLeft.longitude()); in bottomLeft()
[all …]
H A Dqgeorectangle.h53 Q_PROPERTY(QGeoCoordinate bottomRight READ bottomRight WRITE setBottomRight)
63 QGeoRectangle(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight);
87 void setBottomRight(const QGeoCoordinate &bottomRight);
88 QGeoCoordinate bottomRight() const;
H A Dqgeorectangle_p.h63 QGeoRectanglePrivate(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight);
82 QGeoCoordinate bottomRight; variable
H A Dqgeocircle.cpp321 QGeoCoordinate bottomRight; in updateBoundingBox() local
322 bottomRight.setLatitude(QLocationUtils::clipLat(m_center.latitude() - lat_delta_in_deg)); in updateBoundingBox()
323 bottomRight.setLongitude(QLocationUtils::wrapLong(m_center.longitude() + lon_delta_in_deg)); in updateBoundingBox()
325 m_bbox = QGeoRectangle(topLeft, bottomRight); in updateBoundingBox()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativerectanglemapitem.cpp273 void QDeclarativeRectangleMapItem::setBottomRight(const QGeoCoordinate &bottomRight) in setBottomRight() argument
275 if (m_rectangle.bottomRight() == bottomRight) in setBottomRight()
278 m_rectangle.setBottomRight(bottomRight); in setBottomRight()
280 emit bottomRightChanged(bottomRight); in setBottomRight()
283 QGeoCoordinate QDeclarativeRectangleMapItem::bottomRight() in bottomRight() function in QDeclarativeRectangleMapItem
285 return m_rectangle.bottomRight(); in bottomRight()
367 const bool brHasChanged = rectangle.bottomRight() != m_rectangle.bottomRight(); in setGeoShape()
374 emit bottomRightChanged(m_rectangle.bottomRight()); in setGeoShape()
399 emit bottomRightChanged(m_rectangle.bottomRight()); in geometryChanged()
H A Dqdeclarativerectanglemapitem_p.h70 …Q_PROPERTY(QGeoCoordinate bottomRight READ bottomRight WRITE setBottomRight NOTIFY bottomRightChan…
91 QGeoCoordinate bottomRight();
108 void bottomRightChanged(const QGeoCoordinate &bottomRight);
H A Dqdeclarativerectanglemapitem_p_p.h131 if (!m_rect.topLeft().isValid() || !m_rect.bottomRight().isValid()) { in updatePolish()
217 res << QGeoCoordinate(rect.topLeft().latitude(), rect.bottomRight().longitude()); in path()
218 res << rect.bottomRight(); in path()
219 res << QGeoCoordinate(rect.bottomRight().latitude(), rect.topLeft().longitude()); in path()
227 res << QGeoCoordinate(rect.topLeft().latitude(), rect.bottomRight().longitude()); in perimeter()
228 res << rect.bottomRight(); in perimeter()
229 res << QGeoCoordinate(rect.bottomRight().latitude(), rect.topLeft().longitude()); in perimeter()
305 if (!m_rect.topLeft().isValid() || !m_rect.bottomRight().isValid()) { in updatePolish()
H A Dqdeclarativepolylinemapitem.cpp812 QGeoCoordinate bottomRight = boundingRectangle.bottomRight(); in updateSourcePoints() local
814 if (qFuzzyCompare(topLeft.latitude(), bottomRight.latitude())) { in updateSourcePoints()
816 bottomRight.setLatitude(qBound(-90.0, bottomRight.latitude() - epsilon ,90.0)); in updateSourcePoints()
818 if (qFuzzyCompare(topLeft.longitude(), bottomRight.longitude())) { in updateSourcePoints()
820 bottomRight.setLongitude(QLocationUtils::wrapLong(bottomRight.longitude() + epsilon)); in updateSourcePoints()
822 QGeoPolygon bbox(QGeoRectangle(topLeft, bottomRight)); in updateSourcePoints()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/
H A Dtst_map_item_fit_viewport.qml121 bottomRight: preMapRectangleDefaultBottomRight
234 preMapRect.bottomRight.latitude = 10
235 preMapRect.bottomRight.longitude = 30
326 verify(!is_coord_on_screen(preMapRect.bottomRight))
357 verify(!is_coord_on_screen(fitRect.bottomRight))
366 verify(is_coord_on_screen(fitRect.bottomRight))
375 verify(!is_coord_on_screen(fitRect.bottomRight))
384 verify(!is_coord_on_screen(fitRect.bottomRight))
393 verify(is_coord_on_screen(fitEmptyRect.bottomRight))
398 verify(is_coord_on_screen(fitRect.bottomRight))
[all …]
H A DItemGroup.qml36 …property double latitude : (mainRectangle.topLeft.latitude + mainRectangle.bottomRight.latitude) /…
37 …property double longitude: (mainRectangle.topLeft.longitude + mainRectangle.bottomRight.longitude)…
43 bottomRight: QtPositioning.coordinate(37, 3)
59 bottomRight: QtPositioning.coordinate(parent.latitude, parent.longitude )
H A Dtst_map_item_details.qml99 bottomRight {
201 bottomRight {
468 verify(extMapRectDateline.bottomRight.longitude == -175)
471 point = map.fromCoordinate(extMapRectDateline.bottomRight)
474 extMapRectDateline.bottomRight.longitude = datelineCoordinateRight.longitude
475 point = map.fromCoordinate(extMapRectDateline.bottomRight)
495 point = map.fromCoordinate(extMapRectDateline.bottomRight)
H A Dtst_map_item.qml248 preMapRect.bottomRight = QtPositioning.coordinate(10, 30)
436 var latH = preMapRect.bottomRight.latitude - preMapRect.topLeft.latitude
437 var lonW = preMapRect.bottomRight.longitude - preMapRect.topLeft.longitude
438 … verify(fuzzy_compare(preMapRect.bottomRight.latitude, preMapRect.topLeft.latitude + latH, 0.1))
439 … verify(fuzzy_compare(preMapRect.bottomRight.longitude, preMapRect.topLeft.longitude + lonW, 0.1))
507 preMapRect.bottomRight = someCoordinate2
510 preMapRect.bottomRight = someCoordinate2
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeocodejsonparser.cpp164 QJsonObject bottomRight = brit.value().toObject(); in checkLocation() local
165 QJsonObject::const_iterator brlatit = bottomRight.constFind(QLatin1String("Latitude")); in checkLocation()
166 if (brlatit == bottomRight.constEnd()) { in checkLocation()
173 QJsonObject::const_iterator brlonit = bottomRight.constFind(QLatin1String("Longitude")); in checkLocation()
174 if (brlonit == bottomRight.constEnd()) { in checkLocation()
199 if (tllonit == bottomRight.constEnd()) { in checkLocation()
354 QJsonObject bottomRight = mapView.value("BottomRight").toObject(); in parseLocation() local
356 …boundingBox.setBottomRight(QGeoCoordinate(bottomRight.value("Latitude").toDouble(), bottomRight.va… in parseLocation()
H A Dqgeocodingmanagerengine_nokia.cpp134 requestString += trimDouble(rect.bottomRight().latitude()); in geocode()
136 requestString += trimDouble(rect.bottomRight().longitude()); in geocode()
227 requestString += trimDouble(rect.bottomRight().latitude()); in geocode()
229 requestString += trimDouble(rect.bottomRight().longitude()); in geocode()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/mapviewer/map/
H A DMiniMap.qml120 bottomRight.latitude = getMapVisibleRegion().bottomRight.latitude
121 bottomRight.longitude= getMapVisibleRegion().bottomRight.longitude
123 console.log("BotRigh: " + bottomRight)
H A DRectangleItem.qml65bottomRight.latitude = Math.min(markers[index].coordinate.latitude, markers[index + 1].coordinate.…
66bottomRight.longitude = Math.max(markers[index].coordinate.longitude, markers[index + 1].coordinat…
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinshadgdi.c283 POINT topLeft, bottomRight; in winRedrawDamagedWindowShadowGDI() local
291 bottomRight.x = pDamage->x2; in winRedrawDamagedWindowShadowGDI()
292 bottomRight.y = pDamage->y2; in winRedrawDamagedWindowShadowGDI()
294 bottomRight.x += GetSystemMetrics(SM_XVIRTUALSCREEN); in winRedrawDamagedWindowShadowGDI()
296 bottomRight.y += GetSystemMetrics(SM_YVIRTUALSCREEN); in winRedrawDamagedWindowShadowGDI()
298 ScreenToClient(hwnd, &bottomRight); in winRedrawDamagedWindowShadowGDI()
299 SetRect(&rcDamage, topLeft.x, topLeft.y, bottomRight.x, bottomRight.y); in winRedrawDamagedWindowShadowGDI()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorectangle/
H A Dtst_qgeorectangle.cpp103 QCOMPARE(box.bottomRight().isValid(), false); in default_constructor()
111 QCOMPARE(b1.bottomRight(), QGeoCoordinate(0.0, 10.0)); in center_constructor()
120 QCOMPARE(b1.bottomRight(), QGeoCoordinate(0.0, 10.0)); in corner_constructor()
137 QCOMPARE(b1.bottomRight(), QGeoCoordinate(0.0, 10.0)); in list_constructor()
147 QCOMPARE(b2.bottomRight(), QGeoCoordinate(0.0, 10.0)); in copy_constructor()
152 QCOMPARE(b1.bottomRight(), QGeoCoordinate(0.0, 10.0)); in copy_constructor()
183 QCOMPARE(b2.bottomRight(), QGeoCoordinate(0.0, 10.0)); in assignment()
189 QCOMPARE(b1.bottomRight(), QGeoCoordinate(0.0, 10.0)); in assignment()
199 QCOMPARE(ba.bottomRight(), b1.bottomRight()); in assignment()
342 QFETCH(QGeoCoordinate, bottomRight); in corners()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/database/
H A Dbookdelegate.cpp96 painter->drawLine(option.rect.bottomLeft(), option.rect.bottomRight()); in paint()
97 painter->drawLine(option.rect.topRight(), option.rect.bottomRight()); in paint()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapboxgl/
H A Dqmapboxglstylechange.cpp72 return rect.topLeft().longitude() > rect.bottomRight().longitude(); in geoRectangleCrossesDateLine()
80 …QMapbox::Coordinate bottomRight { rect->bottomRight().latitude(), rect->bottomRight().longitude() … in featureFromMapRectangle() local
83 bottomRight.second += 360.0; in featureFromMapRectangle()
86 …QMapbox::CoordinatesCollections geometry { { { bottomLeft, bottomRight, topRight, topLeft, bottomL… in featureFromMapRectangle()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeocodingmanagerengine_esri.cpp78 + QString::number(rect.bottomRight().longitude()) + QLatin1Char(',') in boundingBoxToLtrb()
79 + QString::number(rect.bottomRight().latitude()); in boundingBoxToLtrb()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeocodingmanagerenginemapbox.cpp170 QString::number(boundingBox.bottomRight().latitude()) + QLatin1Char(',') + in doSearch()
171 QString::number(boundingBox.bottomRight().longitude()) + QLatin1Char(',') + in doSearch()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/positioning/
H A Dlocationsingleton.cpp159 const QGeoCoordinate &bottomRight) const in rectangle()
161 return QGeoRectangle(topLeft, bottomRight); in rectangle()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/itemview_transitions/
H A Dmain.qml153 property point bottomRight: Qt.point(center.x + half, center.y + half )
160 PathLine { x: c_sp1.bottomRight.x; y: c_sp1.bottomRight.y }
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqgeocodingmanagerengineosm.cpp70 QString::number(rect.bottomRight().longitude()) + QLatin1Char(',') + in boundingBoxToLtrb()
71 QString::number(rect.bottomRight().latitude()); in boundingBoxToLtrb()

123