#include <paragraph_skia.h>
Public Member Functions | |
| ParagraphSkia (std::unique_ptr< skia::textlayout::Paragraph > paragraph, std::vector< flutter::DlPaint > &&dl_paints, bool impeller_enabled) | |
| virtual | ~ParagraphSkia ()=default |
| double | GetMaxWidth () override |
| double | GetHeight () override |
| double | GetLongestLine () override |
| double | GetMinIntrinsicWidth () override |
| double | GetMaxIntrinsicWidth () override |
| double | GetAlphabeticBaseline () override |
| double | GetIdeographicBaseline () override |
| std::vector< LineMetrics > & | GetLineMetrics () override |
| bool | GetLineMetricsAt (int lineNumber, skia::textlayout::LineMetrics *lineMetrics) const override |
| size_t | GetNumberOfLines () const override |
| int | GetLineNumberAt (size_t utf16Offset) const override |
| bool | DidExceedMaxLines () override |
| void | Layout (double width) override |
| bool | Paint (flutter::DisplayListBuilder *builder, double x, double y) override |
| std::vector< TextBox > | GetRectsForRange (size_t start, size_t end, RectHeightStyle rect_height_style, RectWidthStyle rect_width_style) override |
| std::vector< TextBox > | GetRectsForPlaceholders () override |
| PositionWithAffinity | GetGlyphPositionAtCoordinate (double dx, double dy) override |
| bool | GetGlyphInfoAt (unsigned offset, skia::textlayout::Paragraph::GlyphInfo *glyphInfo) const override |
| bool | GetClosestGlyphInfoAtCoordinate (double dx, double dy, skia::textlayout::Paragraph::GlyphInfo *glyphInfo) const override |
| Range< size_t > | GetWordBoundary (size_t offset) override |
Public Member Functions inherited from flutter::Paragraph | |
| ~Paragraph () override | |
| double | width () |
| double | height () |
| double | longestLine () |
| double | minIntrinsicWidth () |
| double | maxIntrinsicWidth () |
| double | alphabeticBaseline () |
| double | ideographicBaseline () |
| bool | didExceedMaxLines () |
| void | layout (double width) |
| void | paint (Canvas *canvas, double x, double y) |
| tonic::Float32List | getRectsForRange (unsigned start, unsigned end, unsigned boxHeightStyle, unsigned boxWidthStyle) |
| tonic::Float32List | getRectsForPlaceholders () |
| Dart_Handle | getPositionForOffset (double dx, double dy) |
| Dart_Handle | getGlyphInfoAt (unsigned utf16Offset, Dart_Handle constructor) const |
| Dart_Handle | getClosestGlyphInfo (double dx, double dy, Dart_Handle constructor) const |
| Dart_Handle | getWordBoundary (unsigned offset) |
| Dart_Handle | getLineBoundary (unsigned offset) |
| tonic::Float64List | computeLineMetrics () const |
| Dart_Handle | getLineMetricsAt (int lineNumber, Dart_Handle constructor) const |
| size_t | getNumberOfLines () const |
| int | getLineNumberAt (size_t utf16Offset) const |
| void | dispose () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Paragraph > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Static Public Member Functions inherited from flutter::Paragraph | |
| static void | Create (Dart_Handle paragraph_handle, std::unique_ptr< txt::Paragraph > txt_paragraph) |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 17 of file paragraph_skia.h.
| txt::ParagraphSkia::ParagraphSkia | ( | std::unique_ptr< skia::textlayout::Paragraph > | paragraph, |
| std::vector< flutter::DlPaint > && | dl_paints, | ||
| bool | impeller_enabled | ||
| ) |
Definition at line 206 of file paragraph_skia.cc.
|
virtualdefault |
|
override |
Definition at line 287 of file paragraph_skia.cc.
|
override |
Definition at line 279 of file paragraph_skia.cc.
|
override |
Definition at line 351 of file paragraph_skia.cc.
|
override |
Definition at line 345 of file paragraph_skia.cc.
|
override |
Definition at line 335 of file paragraph_skia.cc.
|
override |
Definition at line 217 of file paragraph_skia.cc.
|
override |
Definition at line 283 of file paragraph_skia.cc.
|
override |
Definition at line 225 of file paragraph_skia.cc.
References txt::LineMetrics::ascent, txt::LineMetrics::baseline, txt::LineMetrics::descent, txt::LineMetrics::height, txt::LineMetrics::left, txt::LineMetrics::line_number, txt::LineMetrics::run_metrics, txt::LineMetrics::unscaled_ascent, and txt::LineMetrics::width.
|
override |
Definition at line 266 of file paragraph_skia.cc.
|
override |
Definition at line 367 of file paragraph_skia.cc.
|
override |
Definition at line 221 of file paragraph_skia.cc.
|
override |
Definition at line 275 of file paragraph_skia.cc.
|
override |
Definition at line 213 of file paragraph_skia.cc.
|
override |
Definition at line 271 of file paragraph_skia.cc.
|
override |
Definition at line 363 of file paragraph_skia.cc.
|
override |
Definition at line 322 of file paragraph_skia.cc.
|
override |
Definition at line 303 of file paragraph_skia.cc.
|
override |
Definition at line 358 of file paragraph_skia.cc.
|
override |
Definition at line 291 of file paragraph_skia.cc.
References flutter::Paragraph::width().
|
override |
Definition at line 297 of file paragraph_skia.cc.