D | Paint.cpp | 59 static void getPosTextPath(const SkFont& font, const uint16_t glyphs[], int count, in getPosTextPath() argument 66 font.getPaths(glyphs, count, [](const SkPath* src, const SkMatrix& mx, void* ctx) { in getPosTextPath() 270 Paint* paint, uint16_t* glyphs, SkPoint* pos) in GetTextFunctor() argument 271 : layout(layout), path(path), x(x), y(y), paint(paint), glyphs(glyphs), pos(pos) { in GetTextFunctor() 276 glyphs[i] = layout.getGlyphId(i); in operator ()() 282 getPosTextPath(font, glyphs, end, pos, path); in operator ()() 284 getPosTextPath(font, glyphs + start, end - start, pos + start, &tmpPath); in operator ()() 294 uint16_t* glyphs; member in android::PaintGlue::GetTextFunctor 308 uint16_t* glyphs = new uint16_t[nGlyphs]; in getTextPath() local 314 GetTextFunctor f(layout, path, x, y, paint, glyphs, pos); in getTextPath() [all …]
|