Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp289 std::unique_ptr<SkPoint[]> pointStorage(new SkPoint[glyphs.count]); in onDrawText() local
323 pointStorage[0].set(xBaseline, yBaseline); in onDrawText()
328 pointStorage[i].set(xBaseline, glyphWidths[i-1] + pointStorage[i-1].fY); in onDrawText()
332 pointStorage[i].set(glyphWidths[i-1] + pointStorage[i-1].fX, yBaseline); in onDrawText()
337 mCanvas->drawGlyphs(glyphs.glyphIDs, &pointStorage[0].fX, glyphs.count, glyphs.paint, in onDrawText()
349 std::unique_ptr<SkPoint[]> pointStorage; in onDrawPosText() local
357 pointStorage.reset(new SkPoint[glyphs.count]); in onDrawPosText()
359 pointStorage[i].fX = pos[i].fX - x; in onDrawPosText()
360 pointStorage[i].fY = pos[i].fY - y; in onDrawPosText()
362 posArray = pointStorage.get(); in onDrawPosText()