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) | |
| void | save () override |
| void | saveLayer (const SkRect &bounds, const flutter::SaveLayerOptions options, const flutter::DlImageFilter *backdrop) override |
| void | restore () override |
| void | translate (SkScalar tx, SkScalar ty) override |
| void | scale (SkScalar sx, SkScalar sy) override |
| void | rotate (SkScalar degrees) override |
| void | skew (SkScalar sx, SkScalar sy) override |
| void | transform2DAffine (SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt) override |
| void | transformFullPerspective (SkScalar mxx, SkScalar mxy, SkScalar mxz, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myz, SkScalar myt, SkScalar mzx, SkScalar mzy, SkScalar mzz, SkScalar mzt, SkScalar mwx, SkScalar mwy, SkScalar mwz, SkScalar mwt) override |
| void | transformReset () override |
| void | drawTextFrame (const std::shared_ptr< impeller::TextFrame > &text_frame, SkScalar x, SkScalar y) override |
| void | drawDisplayList (const sk_sp< flutter::DisplayList > display_list, SkScalar opacity) override |
| void | setDrawStyle (flutter::DlDrawStyle style) override |
| void | setColor (flutter::DlColor color) override |
| void | setStrokeWidth (SkScalar width) override |
| void | setStrokeMiter (SkScalar limit) override |
| void | setStrokeCap (flutter::DlStrokeCap cap) override |
| void | setStrokeJoin (flutter::DlStrokeJoin join) override |
Performs a first pass over the display list to collect all text frames.
Definition at line 335 of file dl_dispatcher.h.
| impeller::TextFrameDispatcher::TextFrameDispatcher | ( | const ContentContext & | renderer, |
| const Matrix & | initial_matrix | ||
| ) |
Definition at line 1245 of file dl_dispatcher.cc.
|
override |
|
override |
Definition at line 1311 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, and impeller::Paint::style.
|
override |
Definition at line 1259 of file dl_dispatcher.cc.
Referenced by drawDisplayList().
|
override |
Definition at line 1272 of file dl_dispatcher.cc.
References impeller::Matrix::MakeRotationZ().
|
override |
Definition at line 1249 of file dl_dispatcher.cc.
Referenced by drawDisplayList(), and saveLayer().
|
override |
|
override |
Definition at line 1268 of file dl_dispatcher.cc.
References impeller::Matrix::Scale().
Referenced by drawTextFrame().
|
override |
|
override |
Definition at line 1346 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1371 of file dl_dispatcher.cc.
References impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke_cap.
|
override |
Definition at line 1386 of file dl_dispatcher.cc.
References impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke_join.
|
override |
Definition at line 1366 of file dl_dispatcher.cc.
References impeller::Paint::stroke_miter.
|
override |
Definition at line 1361 of file dl_dispatcher.cc.
References impeller::Paint::stroke_width.
|
override |
Definition at line 1276 of file dl_dispatcher.cc.
References impeller::Matrix::MakeSkew().
|
override |
|
override |
|
override |
Definition at line 1307 of file dl_dispatcher.cc.
|
override |
Definition at line 1264 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().