Home
last modified time | relevance | path

Searched refs:textBlobBuilder (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_drawTextBlob_2.cpp7 SkTextBlobBuilder textBlobBuilder; in draw() local
11 textBlobBuilder.allocRun(font, 1, 20, 100); in draw()
13 sk_sp<const SkTextBlob> blob = textBlobBuilder.make(); in draw()
DCanvas_drawTextBlob.cpp8 SkTextBlobBuilder textBlobBuilder;
22 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
28 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_bounds.cpp8 SkTextBlobBuilder textBlobBuilder;
23 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
28 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_getIntercepts.cpp12 SkTextBlobBuilder textBlobBuilder;
14 textBlobBuilder.allocRun(font, len, textPos.fX, textPos.fY);
18 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_uniqueID.cpp9 SkTextBlobBuilder textBlobBuilder;
26 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
31 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
/third_party/flutter/skia/docs/examples/
DCanvas_drawTextBlob_2.cpp7 SkTextBlobBuilder textBlobBuilder; in draw() local
11 textBlobBuilder.allocRun(font, 1, 20, 100); in draw()
13 sk_sp<const SkTextBlob> blob = textBlobBuilder.make(); in draw()
DCanvas_drawTextBlob.cpp8 SkTextBlobBuilder textBlobBuilder;
22 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
28 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_bounds.cpp8 SkTextBlobBuilder textBlobBuilder;
23 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
28 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_getIntercepts.cpp12 SkTextBlobBuilder textBlobBuilder;
14 textBlobBuilder.allocRun(font, len, textPos.fX, textPos.fY);
18 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
DTextBlob_uniqueID.cpp9 SkTextBlobBuilder textBlobBuilder;
26 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
31 sk_sp<const SkTextBlob> blob = textBlobBuilder.make();
/third_party/skia/tools/
Dusing_skia_and_harfbuzz.cpp145 SkTextBlobBuilderRunHandler textBlobBuilder(text, {0, 0}); in WriteLine() local
147 config->page_width.value - 2*config->left_margin.value, &textBlobBuilder); in WriteLine()
148 SkPoint endPoint = textBlobBuilder.endPoint(); in WriteLine()
149 sk_sp<const SkTextBlob> blob = textBlobBuilder.makeBlob(); in WriteLine()
/third_party/flutter/skia/tools/
Dusing_skia_and_harfbuzz.cpp142 SkTextBlobBuilderRunHandler textBlobBuilder(text, {0, 0}); in WriteLine() local
144 config->page_width.value - 2*config->left_margin.value, &textBlobBuilder); in WriteLine()
145 SkPoint endPoint = textBlobBuilder.endPoint(); in WriteLine()
146 sk_sp<const SkTextBlob> blob = textBlobBuilder.makeBlob(); in WriteLine()
/third_party/flutter/skia/tests/
DTextBlobTest.cpp317 SkTextBlobBuilder textBlobBuilder; in DEF_TEST() local
326 auto run = SkTextBlobBuilderPriv::AllocRunText(&textBlobBuilder, in DEF_TEST()
333 sk_sp<SkTextBlob> blob(textBlobBuilder.make()); in DEF_TEST()
/third_party/skia/tests/
DTextBlobTest.cpp311 SkTextBlobBuilder textBlobBuilder; in DEF_TEST() local
320 auto run = textBlobBuilder.allocRunText(font, glyphCount, 0, 0, SkToInt(strlen(text2))); in DEF_TEST()
326 sk_sp<SkTextBlob> blob(textBlobBuilder.make()); in DEF_TEST()
/third_party/skia/fuzz/
DFuzzCanvas.cpp965 SkTextBlobBuilder textBlobBuilder; in make_fuzz_textblob() local
985 buffer = &textBlobBuilder.allocRun(font, glyphCount, x, y); in make_fuzz_textblob()
991 buffer = &textBlobBuilder.allocRunPosH(font, glyphCount, y); in make_fuzz_textblob()
997 buffer = &textBlobBuilder.allocRunPos(font, glyphCount); in make_fuzz_textblob()
1006 return textBlobBuilder.make(); in make_fuzz_textblob()
/third_party/flutter/skia/fuzz/
DFuzzCanvas.cpp962 SkTextBlobBuilder textBlobBuilder; in make_fuzz_textblob() local
982 buffer = &textBlobBuilder.allocRun(font, glyphCount, x, y); in make_fuzz_textblob()
988 buffer = &textBlobBuilder.allocRunPosH(font, glyphCount, y); in make_fuzz_textblob()
994 buffer = &textBlobBuilder.allocRunPos(font, glyphCount); in make_fuzz_textblob()
1003 return textBlobBuilder.make(); in make_fuzz_textblob()