Lines Matching refs:tmpPaint
30 SkPaint tmpPaint; in MakeVectorCache() local
31 tmpPaint.setHinting(SkPaint::kNo_Hinting); in MakeVectorCache()
32 tmpPaint.setTypeface(sk_ref_sp(face)); in MakeVectorCache()
40 tmpPaint.setTextSize((SkScalar)unitsPerEm); in MakeVectorCache()
42 SkAutoGlyphCache glyphCache(tmpPaint, &props, nullptr); in MakeVectorCache()
161 SkPaint tmpPaint; in GetMetrics() local
162 tmpPaint.setHinting(SkPaint::kNo_Hinting); in GetMetrics()
163 tmpPaint.setTypeface(sk_ref_sp(typeface)); in GetMetrics()
164 tmpPaint.setTextSize(1000); // glyph coordinate system in GetMetrics()
171 tmpPaint.measureText(&c, 1, &bounds); in GetMetrics()
181 tmpPaint.measureText(&c, 1, &bounds); in GetMetrics()