Flutter Engine
The Flutter Engine
|
#include <Run.h>
Public Types | |
using | ClusterVisitor = std::function< void(Cluster *cluster)> |
Friends | |
class | ParagraphImpl |
class | TextLine |
class | InternalLineMetrics |
class | ParagraphCache |
class | OneLineShaper |
using skia::textlayout::Run::ClusterVisitor = std::function<void(Cluster* cluster)> |
skia::textlayout::Run::Run | ( | ParagraphImpl * | owner, |
const SkShaper::RunHandler::RunInfo & | info, | ||
size_t | firstChar, | ||
SkScalar | heightMultiplier, | ||
bool | useHalfLeading, | ||
SkScalar | baselineShift, | ||
size_t | index, | ||
SkScalar | shiftX | ||
) |
Definition at line 17 of file Run.cpp.
|
default |
|
default |
|
default |
Definition at line 182 of file Run.cpp.
|
inline |
|
inline |
Definition at line 85 of file Run.h.
|
inline |
|
inline |
|
inline |
void skia::textlayout::Run::calculateMetrics | ( | ) |
Definition at line 61 of file Run.cpp.
SkScalar skia::textlayout::Run::calculateWidth | ( | size_t | start, |
size_t | end, | ||
bool | clip | ||
) | const |
Definition at line 383 of file ParagraphImpl.cpp.
|
inline |
Definition at line 119 of file Run.h.
|
inline |
|
inline |
|
inline |
void skia::textlayout::Run::copyTo | ( | SkTextBlobBuilder & | builder, |
size_t | pos, | ||
size_t | size | ||
) | const |
Definition at line 88 of file Run.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
std::tuple< bool, ClusterIndex, ClusterIndex > skia::textlayout::Run::findLimitingClusters | ( | TextRange | text | ) | const |
Definition at line 106 of file Run.cpp.
std::tuple< bool, TextIndex, TextIndex > skia::textlayout::Run::findLimitingGlyphClusters | ( | TextRange | text | ) | const |
Definition at line 140 of file Run.cpp.
std::tuple< bool, TextIndex, TextIndex > skia::textlayout::Run::findLimitingGraphemes | ( | TextRange | text | ) | const |
Definition at line 149 of file Run.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool skia::textlayout::Run::isResolved | ( | ) | const |
void skia::textlayout::Run::iterateThroughClusters | ( | const ClusterVisitor & | visitor | ) |
Definition at line 155 of file Run.cpp.
void skia::textlayout::Run::iterateThroughClustersInTextOrder | ( | Visitor | visitor | ) |
Definition at line 218 of file Run.h.
|
inline |
|
inline |
SkShaper::RunHandler::Buffer skia::textlayout::Run::newRunBuffer | ( | ) |
|
inline |
|
inline |
PlaceholderStyle * skia::textlayout::Run::placeholderStyle | ( | ) | const |
Definition at line 312 of file Run.cpp.
SkScalar skia::textlayout::Run::positionX | ( | size_t | pos | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 118 of file Run.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void skia::textlayout::Run::updateMetrics | ( | InternalLineMetrics * | endlineMetrics | ) |
Definition at line 220 of file Run.cpp.
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |