Performs a first pass over the display list to collect all text frames. More...
#include <dl_dispatcher.h>
Public Member Functions | |
| TextFrameDispatcher (const ContentContext &renderer, const Matrix &initial_matrix, const Rect cull_rect) | |
| ~TextFrameDispatcher () | |
| void | save () override |
| void | saveLayer (const DlRect &bounds, const flutter::SaveLayerOptions options, const flutter::DlImageFilter *backdrop) override |
| void | restore () override |
| void | translate (DlScalar tx, DlScalar ty) override |
| void | scale (DlScalar sx, DlScalar sy) override |
| void | rotate (DlScalar degrees) override |
| void | skew (DlScalar sx, DlScalar sy) override |
| void | transform2DAffine (DlScalar mxx, DlScalar mxy, DlScalar mxt, DlScalar myx, DlScalar myy, DlScalar myt) override |
| void | transformFullPerspective (DlScalar mxx, DlScalar mxy, DlScalar mxz, DlScalar mxt, DlScalar myx, DlScalar myy, DlScalar myz, DlScalar myt, DlScalar mzx, DlScalar mzy, DlScalar mzz, DlScalar mzt, DlScalar mwx, DlScalar mwy, DlScalar mwz, DlScalar mwt) override |
| void | transformReset () override |
| void | drawTextFrame (const std::shared_ptr< impeller::TextFrame > &text_frame, DlScalar x, DlScalar y) override |
| void | drawDisplayList (const sk_sp< flutter::DisplayList > display_list, DlScalar opacity) override |
| void | setDrawStyle (flutter::DlDrawStyle style) override |
| void | setColor (flutter::DlColor color) override |
| void | setStrokeWidth (DlScalar width) override |
| void | setStrokeMiter (DlScalar limit) override |
| void | setStrokeCap (flutter::DlStrokeCap cap) override |
| void | setStrokeJoin (flutter::DlStrokeJoin join) override |
| void | setImageFilter (const flutter::DlImageFilter *filter) override |
Performs a first pass over the display list to collect all text frames.
Definition at line 288 of file dl_dispatcher.h.
| impeller::TextFrameDispatcher::TextFrameDispatcher | ( | const ContentContext & | renderer, |
| const Matrix & | initial_matrix, | ||
| const Rect | cull_rect | ||
| ) |
Definition at line 979 of file dl_dispatcher.cc.
| impeller::TextFrameDispatcher::~TextFrameDispatcher | ( | ) |
Definition at line 986 of file dl_dispatcher.cc.
|
override |
Definition at line 1104 of file dl_dispatcher.cc.
References impeller::TRect< T >::GetBottom(), impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetRight(), impeller::TRect< T >::GetTop(), impeller::Matrix::HasPerspective(), impeller::TRect< T >::IsEmpty(), impeller::TRect< T >::IsMaximum(), restore(), impeller::TRect< T >::RoundOut(), and save().
|
override |
Definition at line 1069 of file dl_dispatcher.cc.
References impeller::GlyphProperties::color, impeller::Paint::color, impeller::ContentContext::GetLazyGlyphAtlas(), impeller::Paint::kStroke, impeller::Matrix::MakeTranslation(), scale(), impeller::GlyphProperties::stroke, impeller::GlyphProperties::stroke_cap, impeller::Paint::stroke_cap, impeller::GlyphProperties::stroke_join, impeller::Paint::stroke_join, impeller::GlyphProperties::stroke_miter, impeller::Paint::stroke_miter, impeller::GlyphProperties::stroke_width, impeller::Paint::stroke_width, impeller::Paint::style, and impeller::Color::WithAlpha().
|
override |
|
override |
Definition at line 1030 of file dl_dispatcher.cc.
References impeller::Matrix::MakeRotationZ().
|
override |
|
override |
Definition at line 995 of file dl_dispatcher.cc.
References impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeMaximum(), and save().
Definition at line 1026 of file dl_dispatcher.cc.
References impeller::Matrix::Scale().
Referenced by drawTextFrame().
|
override |
Definition at line 1142 of file dl_dispatcher.cc.
References color, impeller::Paint::color, and impeller::skia_conversions::ToColor().
|
override |
Definition at line 1137 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1187 of file dl_dispatcher.cc.
|
override |
Definition at line 1157 of file dl_dispatcher.cc.
References impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke_cap.
|
override |
Definition at line 1172 of file dl_dispatcher.cc.
References impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke_join.
|
override |
Definition at line 1152 of file dl_dispatcher.cc.
References impeller::Paint::stroke_miter.
|
override |
Definition at line 1147 of file dl_dispatcher.cc.
References impeller::Paint::stroke_width.
Definition at line 1034 of file dl_dispatcher.cc.
References impeller::Matrix::MakeSkew().
|
override |
|
override |
|
override |
Definition at line 1065 of file dl_dispatcher.cc.
Definition at line 1022 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().