Lines Matching defs:text
11 // The point here is to draw a set of text that will fit in one Plot, and then some large
12 // text. After a flush we draw the first set of text again with a slightly different color,
13 // and then enough new large text to spill the entire atlas. What *should* happen is that
14 // the Plot with the first set of text will not get overwritten by the new large text.
39 static sk_sp<SkTextBlob> make_blob(const SkString& text, const SkFont& font) {
40 size_t len = text.size();
44 font.textToGlyphs(text.c_str(), len, SkTextEncoding::kUTF8, glyphs.get(), len);
46 return SkTextBlob::MakeFromPosTextH(text.c_str(), len, pos.get(), 0, font);