Home
last modified time | relevance | path

Searched refs:textToGlyphs (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/tests/
DUnicodeTest.cpp35 …int count8 = font.textToGlyphs(text8, len8, SkTextEncoding::kUTF8, glyphs8, SK_ARRAY_COUNT(gl… in DEF_TEST()
36 …int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, SK_ARRAY_COUNT(gl… in DEF_TEST()
37 …int count32 = font.textToGlyphs(text32, len32, SkTextEncoding::kUTF32, glyphs32, SK_ARRAY_COUNT(gl… in DEF_TEST()
60 font.textToGlyphs(uni, sizeof(uni), SkTextEncoding::kUTF32, glyphs, N); in DEF_TEST()
DTextBlobTest.cpp164 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in TestBounds()
318 (void)font.textToGlyphs(text1, strlen(text1), SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in DEF_TEST()
362 (void)font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in add_run()
/third_party/skia/docs/examples/
DPaint_textToGlyphs.cpp11 int count = paint.textToGlyphs(utf8, sizeof(utf8), nullptr);
13 (void) paint.textToGlyphs(utf8, sizeof(utf8), &glyphs.front());
DTextBlobBuilder_allocRun.cpp12 paint.textToGlyphs("hello", 5, run.glyphs);
DTextBlobBuilder_allocRunPos.cpp12 paint.textToGlyphs("hello", 5, run.glyphs);
DTextBlobBuilder_allocRunPosH.cpp12 paint.textToGlyphs("hello", 5, run.glyphs);
DTextBlobBuilder_make.cpp14 paint.textToGlyphs("x", 1, builder.allocRun(font, 1, 20, 20).glyphs);
DTextBlob_Deserialize.cpp16 blobPaint.textToGlyphs("Hacker", 6, glyphs);
DText_Encoding.cpp19 paint.textToGlyphs(hello32, sizeof(hello32), glyphs);
DCanvas_drawTextBlob.cpp13 paint.textToGlyphs(bunny, len, glyphs);
DTextBlob_bounds.cpp13 paint.textToGlyphs(bunny, len, glyphs);
DTextBlob_uniqueID.cpp14 paint.textToGlyphs(bunny, len, glyphs);
/third_party/skia/gm/
Dskbug_257.cpp51 font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, rec.glyphs, count); in exercise_draw_pos_text()
63 font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, rec.glyphs, count); in exercise_draw_pos_text_h()
Dskbug_5321.cpp36 font.textToGlyphs(text, byteLength, SkTextEncoding::kUTF8, rec.glyphs, glyph_count);
Dpdf_never_embed.cpp30 font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, rec.glyphs, count); in excercise_draw_pos_text()
Dtexteffects.cpp56 font.textToGlyphs(text, textLen, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in MakeFancyBlob()
246 font.textToGlyphs(text, length, SkTextEncoding::kUTF8, glyphs.get(), count);
Ddrawglyphs.cpp31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); in onOnceBeforeDraw()
Drsxtext.cpp39 const auto glyph_count = font.textToGlyphs(txt, strlen(txt), SkTextEncoding::kUTF8, in onOnceBeforeDraw()
Dtextblobshader.cpp43 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count()); in onOnceBeforeDraw()
Dfontregen.cpp44 font.textToGlyphs(text.c_str(), len, SkTextEncoding::kUTF8, glyphs.get(), len); in make_blob()
/third_party/skia/include/core/
DSkFont.h299 int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding,
324 return this->textToGlyphs(text, byteLength, encoding, nullptr, 0); in countText()
/third_party/skia/src/core/
DSkFontPriv.h96 font.textToGlyphs(text, length, encoding, fStorage.get(), fCount); in SkAutoToGlyphs()
/third_party/skia/bench/
DTextBlobBench.cpp39 … fFont.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count()); in onDelayedSetup()
DCmapBench.cpp37 r.fFont.textToGlyphs(r.fText, r.fCount*4, SkTextEncoding::kUTF32, glyphs, NGLYPHS); in textToGlyphs_proc()
DTypefaceBench.cpp244 font.textToGlyphs(line->utf.data(), line->utf.size(), fEncoding, in onDraw()

12