Home
last modified time | relevance | path

Searched refs:blobBuilder (Results 1 – 7 of 7) sorted by relevance

/external/skia/tests/
DGlyphRunTest.cpp29 SkTextBlobBuilder blobBuilder;
31 const auto& runBuffer = blobBuilder.allocRunPosH(font, count, runNum);
41 auto blob = blobBuilder.make();
/external/skqp/tests/
DGlyphRunTest.cpp56 SkTextBlobBuilder blobBuilder;
58 const auto& runBuffer = blobBuilder.allocRunPosH(font, count, runNum);
68 auto blob = blobBuilder.make();
/external/skia/gm/
Dtexteffects.cpp60 SkTextBlobBuilder blobBuilder; in MakeFancyBlob() local
67 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRun(font, in MakeFancyBlob()
80 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRunPosH(font, in MakeFancyBlob()
94 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRunPos(font, fullRunLen); in MakeFancyBlob()
104 return blobBuilder.make(); in MakeFancyBlob()
/external/skqp/gm/
Dtexteffects.cpp51 SkTextBlobBuilder blobBuilder; in MakeFancyBlob() local
58 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRun(font, in MakeFancyBlob()
71 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRunPosH(font, in MakeFancyBlob()
85 const SkTextBlobBuilder::RunBuffer& buf = blobBuilder.allocRunPos(font, fullRunLen); in MakeFancyBlob()
95 return blobBuilder.make(); in MakeFancyBlob()
/external/skia/src/core/
DSkTextBlob.cpp697 SkTextBlobBuilder blobBuilder; in MakeFromBuffer() local
739 buf = &blobBuilder.allocRunText(font, glyphCount, offset.x(), offset.y(), in MakeFromBuffer()
743 buf = &blobBuilder.allocRunTextPosH(font, glyphCount, offset.y(), in MakeFromBuffer()
747 buf = &blobBuilder.allocRunTextPos(font, glyphCount, textSize, &bounds); in MakeFromBuffer()
750 buf = &blobBuilder.allocRunTextRSXform(font, glyphCount, textSize, &bounds); in MakeFromBuffer()
773 return blobBuilder.make(); in MakeFromBuffer()
/external/skqp/src/core/
DSkTextBlob.cpp737 SkTextBlobBuilder blobBuilder; in MakeFromBuffer() local
784 buf = &blobBuilder.allocRunText(font, glyphCount, offset.x(), offset.y(), in MakeFromBuffer()
788 buf = &blobBuilder.allocRunTextPosH(font, glyphCount, offset.y(), in MakeFromBuffer()
792 buf = &blobBuilder.allocRunTextPos(font, glyphCount, textSize, SkString(), &bounds); in MakeFromBuffer()
795 buf = &blobBuilder.allocRunRSXform(font, glyphCount, textSize, SkString(), &bounds); in MakeFromBuffer()
818 return blobBuilder.make(); in MakeFromBuffer()
/external/skia/modules/svg/src/
DSkSVGText.cpp412 SkTextBlobBuilder blobBuilder; in flushChunk() local
415 const auto& buf = blobBuilder.allocRunRSXform(run.font, SkToInt(run.glyphCount)); in flushChunk()
424 fCallback(ctx, blobBuilder.make(), run.fillPaint.get(), run.strokePaint.get()); in flushChunk()