16 static std::shared_ptr<DlTextImpeller>
Make(
17 const std::shared_ptr<impeller::TextFrame>& frame);
19 const sk_sp<SkTextBlob>& blob);
23 explicit DlTextImpeller(
const std::shared_ptr<impeller::TextFrame>& frame);
27 std::shared_ptr<impeller::TextFrame>
GetTextFrame()
const {
return frame_; }
32 std::shared_ptr<impeller::TextFrame> frame_;
static std::shared_ptr< DlTextImpeller > MakeFromBlob(const sk_sp< SkTextBlob > &blob)
static std::shared_ptr< DlTextImpeller > Make(const std::shared_ptr< impeller::TextFrame > &frame)
~DlTextImpeller()=default
const SkTextBlob * GetTextBlob() const
std::shared_ptr< impeller::TextFrame > GetTextFrame() const