Home
last modified time | relevance | path

Searched refs:textToGlyphs (Results 1 - 25 of 48) sorted by relevance

12

/third_party/skia/tests/
H A DUnicodeTest.cpp13 // Simple test to ensure that when we call textToGlyphs, we get the same
35 int count8 = font.textToGlyphs(text8, len8, SkTextEncoding::kUTF8, glyphs8, SK_ARRAY_COUNT(glyphs8)); in DEF_TEST()
36 int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, SK_ARRAY_COUNT(glyphs16)); in DEF_TEST()
37 int count32 = font.textToGlyphs(text32, len32, SkTextEncoding::kUTF32, glyphs32, SK_ARRAY_COUNT(glyphs32)); in DEF_TEST()
60 font.textToGlyphs(uni, sizeof(uni), SkTextEncoding::kUTF32, glyphs, N); in DEF_TEST()
H A 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/
H A DPaint_textToGlyphs.cpp11 int count = paint.textToGlyphs(utf8, sizeof(utf8), nullptr); in REG_FIDDLE()
13 (void) paint.textToGlyphs(utf8, sizeof(utf8), &glyphs.front()); in REG_FIDDLE()
H A DTextBlobBuilder_allocRunPos.cpp12 paint.textToGlyphs("hello", 5, run.glyphs); in REG_FIDDLE()
H A DTextBlobBuilder_allocRunPosH.cpp12 paint.textToGlyphs("hello", 5, run.glyphs); in REG_FIDDLE()
H A DTextBlobBuilder_allocRun.cpp12 paint.textToGlyphs("hello", 5, run.glyphs); in REG_FIDDLE()
H A DText_Encoding.cpp19 paint.textToGlyphs(hello32, sizeof(hello32), glyphs); in REG_FIDDLE()
H A DTextBlob_Deserialize.cpp16 blobPaint.textToGlyphs("Hacker", 6, glyphs); in REG_FIDDLE()
H A DTextBlobBuilder_make.cpp14 paint.textToGlyphs("x", 1, builder.allocRun(font, 1, 20, 20).glyphs); in REG_FIDDLE()
H A DCanvas_drawTextBlob.cpp13 paint.textToGlyphs(bunny, len, glyphs); in REG_FIDDLE()
H A DTextBlob_uniqueID.cpp14 paint.textToGlyphs(bunny, len, glyphs); in REG_FIDDLE()
H A DTextBlob_bounds.cpp13 paint.textToGlyphs(bunny, len, glyphs); in REG_FIDDLE()
/third_party/skia/gm/
H A 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()
H A Dskbug_5321.cpp36 font.textToGlyphs(text, byteLength, SkTextEncoding::kUTF8, rec.glyphs, glyph_count); in DEF_SIMPLE_GM()
H A Dpdf_never_embed.cpp30 font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, rec.glyphs, count); in excercise_draw_pos_text()
H A Dtexteffects.cpp56 font.textToGlyphs(text, textLen, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in MakeFancyBlob()
246 font.textToGlyphs(text, length, SkTextEncoding::kUTF8, glyphs.get(), count); in DEF_SIMPLE_GM()
H A Drsxtext.cpp39 const auto glyph_count = font.textToGlyphs(txt, strlen(txt), SkTextEncoding::kUTF8,
H A Dtextblobshader.cpp43 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count());
H A Ddrawglyphs.cpp31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount);
H A Dfontregen.cpp44 font.textToGlyphs(text.c_str(), len, SkTextEncoding::kUTF8, glyphs.get(), len); in make_blob()
/third_party/skia/include/core/
H A 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/
H A DSkFontPriv.h96 font.textToGlyphs(text, length, encoding, fStorage.get(), fCount); in SkAutoToGlyphs()
/third_party/skia/bench/
H A DTextBlobBench.cpp39 fFont.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count());
H A DCmapBench.cpp37 r.fFont.textToGlyphs(r.fText, r.fCount*4, SkTextEncoding::kUTF32, glyphs, NGLYPHS); in textToGlyphs_proc()
H A DTypefaceBench.cpp244 font.textToGlyphs(line->utf.data(), line->utf.size(), fEncoding,

Completed in 8 milliseconds

12