Searched refs:pointStorage (Results 1 – 1 of 1) sorted by relevance
289 std::unique_ptr<SkPoint[]> pointStorage(new SkPoint[glyphs.count]); in onDrawText() local323 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() local357 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()