Home
last modified time | relevance | path

Searched refs:scale_ (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/
H A Danchor.hpp16 Anchor(float x_, float y_, float angle_, float scale_, int segment_ = -1) in Anchor() argument
17 : point(x_, y_), angle(angle_), scale(scale_), segment(segment_) {} in Anchor()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp354 void TransformState::constrain(double& scale_, double& x_, double& y_) const { in constrain() argument
356 scale_ = util::max(scale_, in constrain()
362 double max_x = (scale_ * util::tileSize - (rotatedNorth() ? size.height : size.width)) / 2; in constrain()
367 double max_y = (scale_ * util::tileSize - (rotatedNorth() ? size.width : size.height)) / 2; in constrain()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/
H A Dqmapboxgl.cpp709 void QMapboxGL::setScale(double scale_, const QPointF &center) in setScale() argument
711 d_ptr->mapObj->setZoom(::log2(scale_), mbgl::ScreenCoordinate { center.x(), center.y() }); in setScale()
1118 void QMapboxGL::scaleBy(double scale_, const QPointF &center) { in scaleBy() argument
1119 …d_ptr->mapObj->setZoom(d_ptr->mapObj->getZoom() + ::log2(scale_), mbgl::ScreenCoordinate { center.… in scaleBy()