Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.cpp309 float penX = 0.0f; in render() local
324 penX += pathOffset - textWidth; in render()
327 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
335 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta)); in render()
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
342 penX += SkFixedToFloat(cachedGlyph->mAdvanceX); in render()
409 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); in render() local
412 (*this.*render)(cachedGlyph, penX, penY, in render()
/frameworks/base/libs/hwui/
DFontRenderer.cpp568 image.penX = 0; in renderDropShadow()
605 int penX = intRadius - bounds.left; in renderDropShadow() local
612 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, in renderDropShadow()
624 image.penX = penX; in renderDropShadow()
DTextDropShadowCache.cpp166 texture->left = shadow.penX; in get()
DFontRenderer.h122 int32_t penX; member
/frameworks/rs/
DrsFont.cpp178 int32_t penX = x, penY = y; in renderUTF() local
205 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF()
208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF()
211 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF()
216 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF()