Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.cpp214 float penX = 0.0f; in render() local
229 penX += pathOffset - textWidth; in render()
232 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
240 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta)); in render()
244 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
247 penX += SkFixedToFloat(cachedGlyph->mAdvanceX); in render()
304 float penX = x + 0.5f; in render() local
316 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta)); in render()
321 (*this.*render)(cachedGlyph, (int) floorf(penX), penY, in render()
325 penX += SkFixedToFloat(cachedGlyph->mAdvanceX); in render()
[all …]
/frameworks/base/libs/hwui/
DFontRenderer.h69 image(dropShadow.image), penX(dropShadow.penX), in DropShadow()
76 int32_t penX; member
DFontRenderer.cpp496 image.penX = 0; in renderDropShadow()
516 int penX = radius - bounds.left; in renderDropShadow() local
519 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY, in renderDropShadow()
527 image.penX = penX; in renderDropShadow()
DTextDropShadowCache.cpp116 texture->left = shadow.penX; in get()
/frameworks/rs/
DrsFont.cpp176 int32_t penX = x, penY = y; in renderUTF() local
203 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF()
206 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF()
209 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF()
214 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF()