#include <paragraph.h>
|
virtual | ~Paragraph ()=default |
|
virtual double | GetMaxWidth ()=0 |
|
virtual double | GetHeight ()=0 |
|
virtual double | GetLongestLine ()=0 |
|
virtual double | GetMinIntrinsicWidth ()=0 |
|
virtual double | GetMaxIntrinsicWidth ()=0 |
|
virtual double | GetAlphabeticBaseline ()=0 |
|
virtual double | GetIdeographicBaseline ()=0 |
|
virtual bool | DidExceedMaxLines ()=0 |
|
virtual void | Layout (double width)=0 |
|
virtual bool | Paint (flutter::DisplayListBuilder *builder, double x, double y)=0 |
|
virtual std::vector< TextBox > | GetRectsForRange (size_t start, size_t end, RectHeightStyle rect_height_style, RectWidthStyle rect_width_style)=0 |
|
virtual std::vector< TextBox > | GetRectsForPlaceholders ()=0 |
|
virtual PositionWithAffinity | GetGlyphPositionAtCoordinate (double dx, double dy)=0 |
|
virtual bool | GetGlyphInfoAt (unsigned offset, skia::textlayout::Paragraph::GlyphInfo *glyphInfo) const =0 |
|
virtual bool | GetClosestGlyphInfoAtCoordinate (double dx, double dy, skia::textlayout::Paragraph::GlyphInfo *glyphInfo) const =0 |
|
virtual Range< size_t > | GetWordBoundary (size_t offset)=0 |
|
virtual std::vector< LineMetrics > & | GetLineMetrics ()=0 |
|
virtual bool | GetLineMetricsAt (int lineNumber, skia::textlayout::LineMetrics *lineMetrics) const =0 |
|
virtual size_t | GetNumberOfLines () const =0 |
|
virtual int | GetLineNumberAt (size_t utf16Offset) const =0 |
|
Definition at line 35 of file paragraph.h.
◆ Affinity
Enumerator |
---|
UPSTREAM | |
DOWNSTREAM | |
Definition at line 37 of file paragraph.h.
◆ RectHeightStyle
Enumerator |
---|
kTight | |
kMax | |
kIncludeLineSpacingMiddle | |
kIncludeLineSpacingTop | |
kIncludeLineSpacingBottom | |
kStrut | |
Definition at line 41 of file paragraph.h.
41 {
42
44
45
46
48
49
50
51
52
53
54
55
57
59
61
62
64 };
@ kIncludeLineSpacingBottom
@ kIncludeLineSpacingMiddle
◆ RectWidthStyle
Definition at line 66 of file paragraph.h.
66 {
67
68
70
71
72
74 };
◆ ~Paragraph()
virtual txt::Paragraph::~Paragraph |
( |
| ) |
|
|
virtualdefault |
◆ DidExceedMaxLines()
virtual bool txt::Paragraph::DidExceedMaxLines |
( |
| ) |
|
|
pure virtual |
◆ GetAlphabeticBaseline()
virtual double txt::Paragraph::GetAlphabeticBaseline |
( |
| ) |
|
|
pure virtual |
◆ GetClosestGlyphInfoAtCoordinate()
◆ GetGlyphInfoAt()
◆ GetGlyphPositionAtCoordinate()
◆ GetHeight()
virtual double txt::Paragraph::GetHeight |
( |
| ) |
|
|
pure virtual |
◆ GetIdeographicBaseline()
virtual double txt::Paragraph::GetIdeographicBaseline |
( |
| ) |
|
|
pure virtual |
◆ GetLineMetrics()
virtual std::vector< LineMetrics > & txt::Paragraph::GetLineMetrics |
( |
| ) |
|
|
pure virtual |
◆ GetLineMetricsAt()
◆ GetLineNumberAt()
virtual int txt::Paragraph::GetLineNumberAt |
( |
size_t |
utf16Offset | ) |
const |
|
pure virtual |
◆ GetLongestLine()
virtual double txt::Paragraph::GetLongestLine |
( |
| ) |
|
|
pure virtual |
◆ GetMaxIntrinsicWidth()
virtual double txt::Paragraph::GetMaxIntrinsicWidth |
( |
| ) |
|
|
pure virtual |
◆ GetMaxWidth()
virtual double txt::Paragraph::GetMaxWidth |
( |
| ) |
|
|
pure virtual |
◆ GetMinIntrinsicWidth()
virtual double txt::Paragraph::GetMinIntrinsicWidth |
( |
| ) |
|
|
pure virtual |
◆ GetNumberOfLines()
virtual size_t txt::Paragraph::GetNumberOfLines |
( |
| ) |
const |
|
pure virtual |
◆ GetRectsForPlaceholders()
virtual std::vector< TextBox > txt::Paragraph::GetRectsForPlaceholders |
( |
| ) |
|
|
pure virtual |
◆ GetRectsForRange()
◆ GetWordBoundary()
virtual Range< size_t > txt::Paragraph::GetWordBoundary |
( |
size_t |
offset | ) |
|
|
pure virtual |
◆ Layout()
virtual void txt::Paragraph::Layout |
( |
double |
width | ) |
|
|
pure virtual |
◆ Paint()
The documentation for this class was generated from the following file: