Home
last modified time | relevance | path

Searched refs:SkShaper (Results 1 – 24 of 24) sorted by relevance

/external/skia/modules/skshaper/include/
DSkShaper.h26 class SkShaper {
28 static std::unique_ptr<SkShaper> MakePrimitive();
30 static std::unique_ptr<SkShaper> MakeHarfBuzz();
33 static std::unique_ptr<SkShaper> Make();
35 SkShaper();
36 virtual ~SkShaper();
74 SkShaper(const SkShaper&) = delete;
75 SkShaper& operator=(const SkShaper&) = delete;
81 class SkTextBlobBuilderRunHandler final : public SkShaper::RunHandler {
86SkShaper::RunHandler::Buffer newRunBuffer(const RunInfo&, const SkFont&, int, SkSpan<const char>) …
/external/skia/modules/skshaper/src/
DSkShaper.cpp12 std::unique_ptr<SkShaper> SkShaper::Make() { in Make()
14 std::unique_ptr<SkShaper> shaper = SkShaper::MakeHarfBuzz(); in Make()
19 return SkShaper::MakePrimitive(); in Make()
22 SkShaper::SkShaper() {} in SkShaper() function in SkShaper
23 SkShaper::~SkShaper() {} in ~SkShaper()
25 SkShaper::RunHandler::Buffer SkTextBlobBuilderRunHandler::newRunBuffer(const RunInfo&, in newRunBuffer()
DSkShaper_primitive.cpp16 class SkShaperPrimitive : public SkShaper {
29 std::unique_ptr<SkShaper> SkShaper::MakePrimitive() { in MakePrimitive()
DSkShaper_harfbuzz.cpp687 static void append(SkShaper::RunHandler* handler, const SkShaper::RunHandler::RunInfo& runInfo, in append()
710 static void emit(const ShapedLine& line, SkShaper::RunHandler* handler, in emit()
739 const SkShaper::RunHandler::RunInfo info = { in emit()
803 class SkShaperHarfBuzz : public SkShaper {
812 SkPoint shape(SkShaper::RunHandler* handler,
820 SkPoint shapeCorrect(SkShaper::RunHandler* handler,
831 SkPoint shapeOk(SkShaper::RunHandler* handler,
852 std::unique_ptr<SkShaper> SkShaper::MakeHarfBuzz() { in MakeHarfBuzz()
888 SkPoint SkShaperHarfBuzz::shape(SkShaper::RunHandler* handler, in shape()
/external/skqp/modules/skshaper/include/
DSkShaper.h25 class SkShaper {
27 SkShaper(sk_sp<SkTypeface> face);
28 ~SkShaper();
63 SkShaper(const SkShaper&) = delete;
64 SkShaper& operator=(const SkShaper&) = delete;
73 class SkTextBlobBuilderRunHandler final : public SkShaper::RunHandler {
77 SkShaper::RunHandler::Buffer newRunBuffer(const RunInfo&, const SkFont&, int, int) override;
/external/skqp/modules/skshaper/src/
DSkShaper_primitive.cpp14 struct SkShaper::Impl {
18 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper() function in SkShaper
22 SkShaper::~SkShaper() {} in ~SkShaper()
24 bool SkShaper::good() const { return true; } in good()
34 SkPoint SkShaper::shape(RunHandler* handler, in shape()
DSkShaper_harfbuzz.cpp428 static void append(SkShaper::RunHandler* handler, const SkShaper::RunHandler::RunInfo& runInfo, in append()
503 struct SkShaper::Impl {
510 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper() function in SkShaper
530 SkShaper::~SkShaper() {} in ~SkShaper()
532 bool SkShaper::good() const { in good()
539 SkPoint SkShaper::shape(RunHandler* handler, in shape()
DSkShaper.cpp12 SkShaper::RunHandler::Buffer SkTextBlobBuilderRunHandler::newRunBuffer(const RunInfo&, in newRunBuffer()
/external/skqp/modules/skshaper/
Dskshaper.gni10 skia_shaper_public = [ "$_include/SkShaper.h" ]
13 "$_src/SkShaper.cpp",
18 "$_src/SkShaper.cpp",
/external/skia/modules/skshaper/
Dskshaper.gni10 skia_shaper_public = [ "$_include/SkShaper.h" ]
13 "$_src/SkShaper.cpp",
/external/skia/samplecode/
DSampleTextBox.cpp38 TextBoxView() : fShaper(SkShaper::Make()) {} in TextBoxView()
85 std::unique_ptr<SkShaper> fShaper;
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine()
211 std::unique_ptr<SkShaper> shaper = SkShaper::Make(); in main()
/external/skia/modules/skottie/src/
DSkottieAdapter.cpp362 class BlobMaker final : public SkShaper::RunHandler { in makeBlob()
428 SkShaper::RunHandler::RunInfo fInfo; in makeBlob()
432 Run(const SkFont& font, const SkShaper::RunHandler::RunInfo& info, int count) in makeBlob()
458 std::unique_ptr<SkShaper> shaper = SkShaper::Make(); in makeBlob()
/external/skia/
Dpublic.bzl682 ## SkShaper
690 "modules/skshaper/include/SkShaper.h",
691 "modules/skshaper/src/SkShaper.cpp",
697 "modules/skshaper/include/SkShaper.h",
698 "modules/skshaper/src/SkShaper.cpp",
DBUILD.gn2305 … # At the moment there's no way to use Skia and Skottie/SkShaper unless they're in the same .so.
/external/skqp/
Dpublic.bzl683 ## SkShaper
691 "modules/skshaper/include/SkShaper.h",
692 "modules/skshaper/src/SkShaper.cpp",
697 "modules/skshaper/include/SkShaper.h",
698 "modules/skshaper/src/SkShaper.cpp",
DBUILD.gn2235 … # At the moment there's no way to use Skia and Skottie/SkShaper unless they're in the same .so.
/external/skqp/tools/
Dusing_skia_and_harfbuzz.cpp141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine()
211 SkShaper shaper(typeface); in main()
/external/skqp/samplecode/
DSampleTextBox.cpp74 SkShaper shaper(nullptr); in drawTest()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp494 std::unique_ptr<SkShaper> shaper;
499 shaper = SkShaper::Make(); in do_shaping()
/external/skia/src/utils/
DSkLua.cpp1876 std::unique_ptr<SkShaper> shaper = SkShaper::Make(); in lsk_newTextBlob()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc459 SkShaper shaper(nullptr); in OnDrawFrame()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc459 SkShaper shaper(nullptr); in OnDrawFrame()
/external/skqp/src/utils/
DSkLua.cpp1876 SkShaper shaper(nullptr); in lsk_newTextBlob()