Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dshaping.cpp65 AnchorAlignment anchorAlign = getAnchorAlignment(iconAnchor); in shapeIcon() local
68 float x1 = dx - image.displaySize()[0] * anchorAlign.horizontalAlign; in shapeIcon()
70 float y1 = dy - image.displaySize()[1] * anchorAlign.verticalAlign; in shapeIcon()
312 auto anchorAlign = getAnchorAlignment(textAnchor); in shapeLines() local
314 align(shaping, justify, anchorAlign.horizontalAlign, anchorAlign.verticalAlign, maxLineLength, in shapeLines()
319 shaping.top += -anchorAlign.verticalAlign * height; in shapeLines()
321 shaping.left += -anchorAlign.horizontalAlign * maxLineLength; in shapeLines()