Flutter Engine
 
Loading...
Searching...
No Matches
flutter::DlTextImpeller Class Reference

#include <dl_text_impeller.h>

Inheritance diagram for flutter::DlTextImpeller:
flutter::DlText

Public Member Functions

 ~DlTextImpeller ()=default
 
 DlTextImpeller (const std::shared_ptr< impeller::TextFrame > &frame)
 
DlRect GetBounds () const
 
std::shared_ptr< impeller::TextFrameGetTextFrame () const
 
const SkTextBlob * GetTextBlob () const
 
- Public Member Functions inherited from flutter::DlText
bool operator== (const DlText &other) const
 

Static Public Member Functions

static std::shared_ptr< DlTextImpellerMake (const std::shared_ptr< impeller::TextFrame > &frame)
 
static std::shared_ptr< DlTextImpellerMakeFromBlob (const sk_sp< SkTextBlob > &blob)
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::DlText
 DlText ()=default
 
virtual ~DlText ()=default
 

Detailed Description

Definition at line 14 of file dl_text_impeller.h.

Constructor & Destructor Documentation

◆ ~DlTextImpeller()

flutter::DlTextImpeller::~DlTextImpeller ( )
default

◆ DlTextImpeller()

flutter::DlTextImpeller::DlTextImpeller ( const std::shared_ptr< impeller::TextFrame > &  frame)
explicit

Definition at line 21 of file dl_text_impeller.cc.

23 : frame_(frame) {}

Member Function Documentation

◆ GetBounds()

DlRect flutter::DlTextImpeller::GetBounds ( ) const
inlinevirtual

Implements flutter::DlText.

Definition at line 25 of file dl_text_impeller.h.

25{ return frame_->GetBounds(); }

◆ GetTextBlob()

const SkTextBlob * flutter::DlTextImpeller::GetTextBlob ( ) const
inlinevirtual

Implements flutter::DlText.

Definition at line 29 of file dl_text_impeller.h.

29{ return nullptr; }

◆ GetTextFrame()

std::shared_ptr< impeller::TextFrame > flutter::DlTextImpeller::GetTextFrame ( ) const
inlinevirtual

Implements flutter::DlText.

Definition at line 27 of file dl_text_impeller.h.

27{ return frame_; }

◆ Make()

std::shared_ptr< DlTextImpeller > flutter::DlTextImpeller::Make ( const std::shared_ptr< impeller::TextFrame > &  frame)
static

◆ MakeFromBlob()

std::shared_ptr< DlTextImpeller > flutter::DlTextImpeller::MakeFromBlob ( const sk_sp< SkTextBlob > &  blob)
static

Definition at line 16 of file dl_text_impeller.cc.

17 {
19}
static std::shared_ptr< DlTextImpeller > Make(const std::shared_ptr< impeller::TextFrame > &frame)
std::shared_ptr< TextFrame > MakeTextFrameFromTextBlobSkia(const sk_sp< SkTextBlob > &blob)

References Make(), and impeller::MakeTextFrameFromTextBlobSkia().


The documentation for this class was generated from the following files: