FontRenderer.cpp | 169 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) { 176 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 256 SkPathMeasure measure(*path, false); 257 float pathLength = SkScalarToFloat(measure.getLength()); 281 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); 290 void Font::measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len, function in class:android::uirenderer::Font 293 ALOGE("No return rectangle provided to measure text"); 297 render(paint, text, start, len, numGlyphs, 0, 0, MEASURE, NULL, 0, 0, bounds, NULL); [all...] |