Home
last modified time | relevance | path

Searched refs:halfWidth (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/
H A Dline_atlas.cpp59 float halfWidth = stretch * 0.5; in addDash() local
99 float distMiddle = n ? (float)y / n * (halfWidth + 1) : 0; in addDash()
101 float distEdge = halfWidth - fabs(distMiddle); in addDash()
104 signedDistance = halfWidth - sqrt(dist * dist + distMiddle * distMiddle); in addDash()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeotiledmapscene.cpp422 float halfWidth = 1 * apertureSize; in setupCamera() local
424 halfWidth *= aspectRatio; in setupCamera()
442 float l = -halfWidth + (2 * halfWidth) * xdiffpct; in setupCamera()
443 float r = halfWidth + (2 * halfWidth) * xdiffpct; in setupCamera()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_line_layer.cpp203 const float halfWidth = getLineWidth(feature, zoom) / 2.0 * pixelsToTileUnits; in queryIntersectsFeature() local
207 halfWidth); in queryIntersectsFeature()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmiarc.c906 int halfWidth; in miWideArc() local
953 halfWidth = (width + 1) / 2; in miWideArc()
954 xMin -= halfWidth; in miWideArc()
955 yMin -= halfWidth; in miWideArc()
956 xMax += halfWidth; in miWideArc()
957 yMax += halfWidth; in miWideArc()