Font.cpp | 238 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) { 245 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 314 SkPathMeasure measure(*path, false); 315 float pathLength = SkScalarToFloat(measure.getLength()); 339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); 348 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, function in class:android::uirenderer::Font 351 ALOGE("No return rectangle provided to measure text"); 355 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions);
|