MCPcopy Create free account
hub / github.com/Tencent/tgfx / TextShaperPrimitive

Method TextShaperPrimitive

src/svg/TextShaper.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24class TextShaperPrimitive : public TextShaper {
25 public:
26 explicit TextShaperPrimitive(std::vector<std::shared_ptr<Typeface>> fallbackTypefaceList)
27 : fallbackTypefaces(std::move(fallbackTypefaceList)) {
28 }
29
30 std::shared_ptr<TextBlob> shape(const std::string& text, std::shared_ptr<Typeface> typeface,
31 float fontSize) override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected