Home
last modified time | relevance | path

Searched refs:ScreenCoordinate (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform.hpp48 void moveBy(const ScreenCoordinate& offset, const AnimationOptions& = {});
51 void setLatLng(const LatLng&, optional<ScreenCoordinate>, const AnimationOptions& = {});
55 ScreenCoordinate getScreenCoordinate(const EdgeInsets& = {}) const;
74 void setZoom(double zoom, optional<ScreenCoordinate> anchor, const AnimationOptions& = {});
84 …void rotateBy(const ScreenCoordinate& first, const ScreenCoordinate& second, const AnimationOption…
93 void setAngle(double angle, optional<ScreenCoordinate> anchor, const AnimationOptions& = {});
113 void setPitch(double pitch, optional<ScreenCoordinate> anchor, const AnimationOptions& = {});
154 ScreenCoordinate latLngToScreenCoordinate(const LatLng&) const;
155 LatLng screenCoordinateToLatLng(const ScreenCoordinate&) const;
H A Dtransform.cpp116 ScreenCoordinate center = getScreenCoordinate(padding); in easeTo()
182 ScreenCoordinate center = getScreenCoordinate(padding); in flyTo()
319 void Transform::moveBy(const ScreenCoordinate& offset, const AnimationOptions& animation) { in moveBy()
320 ScreenCoordinate centerOffset = { in moveBy()
324 ScreenCoordinate centerPoint = getScreenCoordinate() - centerOffset; in moveBy()
332 setLatLng(latLng, optional<ScreenCoordinate> {}, animation); in setLatLng()
342 void Transform::setLatLng(const LatLng& latLng, optional<ScreenCoordinate> anchor, const AnimationO… in setLatLng()
373 ScreenCoordinate Transform::getScreenCoordinate(const EdgeInsets& padding) const { in getScreenCoordinate()
390 void Transform::setZoom(double zoom, optional<ScreenCoordinate> anchor, const AnimationOptions& ani… in setZoom()
439 void Transform::rotateBy(const ScreenCoordinate& first, const ScreenCoordinate& second, const Anim… in rotateBy()
[all …]
H A Dtransform_state.hpp79 ScreenCoordinate latLngToScreenCoordinate(const LatLng&) const;
80 …LatLng screenCoordinateToLatLng(const ScreenCoordinate&, LatLng::WrapMode = LatLng::Unwrapped) con…
114 void moveLatLng(const LatLng&, const ScreenCoordinate&);
116 void setScalePoint(const double scale, const ScreenCoordinate& point);
H A Dmap.cpp293 void Map::moveBy(const ScreenCoordinate& point, const AnimationOptions& animation) { in moveBy()
301 setLatLng(latLng, optional<ScreenCoordinate> {}, animation); in setLatLng()
310 void Map::setLatLng(const LatLng& latLng, optional<ScreenCoordinate> anchor, const AnimationOptions… in setLatLng()
340 void Map::setZoom(double zoom, optional<ScreenCoordinate> anchor, const AnimationOptions& animation… in setZoom()
383 ScreenCoordinate nePixel = {-INFINITY, -INFINITY}; in cameraForLatLngs()
384 ScreenCoordinate swPixel = {INFINITY, INFINITY}; in cameraForLatLngs()
387 ScreenCoordinate pixel = transform.latLngToScreenCoordinate(latLng); in cameraForLatLngs()
409 ScreenCoordinate centerPixel = nePixel + swPixel; in cameraForLatLngs()
410 ScreenCoordinate paddedNEPixel = { in cameraForLatLngs()
414 ScreenCoordinate paddedSWPixel = { in cameraForLatLngs()
[all …]
H A Dtransform_state.cpp276 ScreenCoordinate TransformState::latLngToScreenCoordinate(const LatLng& latLng) const { in latLngToScreenCoordinate()
289 LatLng TransformState::screenCoordinateToLatLng(const ScreenCoordinate& point, LatLng::WrapMode wra… in screenCoordinateToLatLng()
372 void TransformState::moveLatLng(const LatLng& latLng, const ScreenCoordinate& anchor) { in moveLatLng()
393 ScreenCoordinate point = { in setLatLngZoom()
400 void TransformState::setScalePoint(const double newScale, const ScreenCoordinate &point) { in setScalePoint()
402 ScreenCoordinate constrainedPoint = point; in setScalePoint()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/map/
H A Dmap.hpp76 void moveBy(const ScreenCoordinate&, const AnimationOptions& = {});
77 void setLatLng(const LatLng&, optional<ScreenCoordinate>, const AnimationOptions& = {});
85 void setZoom(double zoom, optional<ScreenCoordinate>, const AnimationOptions& = {});
105 …void rotateBy(const ScreenCoordinate& first, const ScreenCoordinate& second, const AnimationOption…
107 void setBearing(double degrees, optional<ScreenCoordinate>, const AnimationOptions& = {});
115 void setPitch(double pitch, optional<ScreenCoordinate>, const AnimationOptions& = {});
143 ScreenCoordinate pixelForLatLng(const LatLng&) const;
144 LatLng latLngForPixel(const ScreenCoordinate&) const;
H A Dcamera.hpp24 optional<ScreenCoordinate> anchor;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/map/
H A Dmap_snapshotter.hpp54 using PointForFn = std::function<ScreenCoordinate (const LatLng&)>;
55 using LatLngForFn = std::function<LatLng (const ScreenCoordinate&)>;
H A Dmap_snapshotter.cpp94 …gForFn { [=, transformState = *frontend.getTransformState()] (const ScreenCoordinate& screenCoordi… in snapshot()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/
H A Dqmapboxgl.cpp711 d_ptr->mapObj->setZoom(::log2(scale_), mbgl::ScreenCoordinate { center.x(), center.y() }); in setScale()
802 mbglCamera.anchor = mbgl::ScreenCoordinate { anchor.x(), anchor.y() }; in jumpTo()
843 d_ptr->mapObj->setBearing(degrees, mbgl::ScreenCoordinate { center.x(), center.y() }); in setBearing()
1109 d_ptr->mapObj->moveBy(mbgl::ScreenCoordinate { offset.x(), offset.y() }); in moveBy()
1119 …d_ptr->mapObj->setZoom(d_ptr->mapObj->getZoom() + ::log2(scale_), mbgl::ScreenCoordinate { center.… in scaleBy()
1131 mbgl::ScreenCoordinate { first.x(), first.y() }, in rotateBy()
1132 mbgl::ScreenCoordinate { second.x(), second.y() }); in rotateBy()
1204 const mbgl::ScreenCoordinate pixel = in pixelForCoordinate()
1216 d_ptr->mapObj->latLngForPixel(mbgl::ScreenCoordinate { pixel.x(), pixel.y() }); in coordinateForPixel()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dgeo.hpp20 using ScreenCoordinate = mapbox::geometry::point<double>; typedef
238 ScreenCoordinate getCenter(uint16_t width, uint16_t height) const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/renderer/
H A Drenderer.hpp40 …std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate& point, const RenderedQueryOptio…
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dtile_coordinate.hpp26 …romScreenCoordinate(const TransformState& state, double zoom, const ScreenCoordinate& screenCoordi… in fromScreenCoordinate()
H A Dgeo.cpp117 ScreenCoordinate EdgeInsets::getCenter(uint16_t width, uint16_t height) const { in getCenter()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drenderer.cpp40 std::vector<Feature> Renderer::queryRenderedFeatures(const ScreenCoordinate& point, const RenderedQ… in queryRenderedFeatures()