Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skia::textlayout::ParagraphCacheValue Class Reference

Public Member Functions

 ParagraphCacheValue (ParagraphCacheKey &&key, const ParagraphImpl *paragraph)
 

Public Attributes

ParagraphCacheKey fKey
 
TArray< Run, false > fRuns
 
TArray< Cluster, truefClusters
 
TArray< size_t, truefClustersIndexFromCodeUnit
 
TArray< SkUnicode::CodeUnitFlags, truefCodeUnitProperties
 
std::vector< size_t > fWords
 
std::vector< SkUnicode::BidiRegionfBidiRegions
 
bool fHasLineBreaks
 
bool fHasWhitespacesInside
 
TextIndex fTrailingSpaces
 

Detailed Description

Definition at line 69 of file ParagraphCache.cpp.

Constructor & Destructor Documentation

◆ ParagraphCacheValue()

skia::textlayout::ParagraphCacheValue::ParagraphCacheValue ( ParagraphCacheKey &&  key,
const ParagraphImpl paragraph 
)
inline

Definition at line 71 of file ParagraphCache.cpp.

72 : fKey(std::move(key))
73 , fRuns(paragraph->fRuns)
74 , fClusters(paragraph->fClusters)
75 , fClustersIndexFromCodeUnit(paragraph->fClustersIndexFromCodeUnit)
76 , fCodeUnitProperties(paragraph->fCodeUnitProperties)
77 , fWords(paragraph->fWords)
78 , fBidiRegions(paragraph->fBidiRegions)
79 , fHasLineBreaks(paragraph->fHasLineBreaks)
80 , fHasWhitespacesInside(paragraph->fHasWhitespacesInside)
81 , fTrailingSpaces(paragraph->fTrailingSpaces) { }
TArray< size_t, true > fClustersIndexFromCodeUnit
TArray< SkUnicode::CodeUnitFlags, true > fCodeUnitProperties
std::vector< SkUnicode::BidiRegion > fBidiRegions

Member Data Documentation

◆ fBidiRegions

std::vector<SkUnicode::BidiRegion> skia::textlayout::ParagraphCacheValue::fBidiRegions

Definition at line 93 of file ParagraphCache.cpp.

◆ fClusters

TArray<Cluster, true> skia::textlayout::ParagraphCacheValue::fClusters

Definition at line 88 of file ParagraphCache.cpp.

◆ fClustersIndexFromCodeUnit

TArray<size_t, true> skia::textlayout::ParagraphCacheValue::fClustersIndexFromCodeUnit

Definition at line 89 of file ParagraphCache.cpp.

◆ fCodeUnitProperties

TArray<SkUnicode::CodeUnitFlags, true> skia::textlayout::ParagraphCacheValue::fCodeUnitProperties

Definition at line 91 of file ParagraphCache.cpp.

◆ fHasLineBreaks

bool skia::textlayout::ParagraphCacheValue::fHasLineBreaks

Definition at line 94 of file ParagraphCache.cpp.

◆ fHasWhitespacesInside

bool skia::textlayout::ParagraphCacheValue::fHasWhitespacesInside

Definition at line 95 of file ParagraphCache.cpp.

◆ fKey

ParagraphCacheKey skia::textlayout::ParagraphCacheValue::fKey

Definition at line 84 of file ParagraphCache.cpp.

◆ fRuns

TArray<Run, false> skia::textlayout::ParagraphCacheValue::fRuns

Definition at line 87 of file ParagraphCache.cpp.

◆ fTrailingSpaces

TextIndex skia::textlayout::ParagraphCacheValue::fTrailingSpaces

Definition at line 96 of file ParagraphCache.cpp.

◆ fWords

std::vector<size_t> skia::textlayout::ParagraphCacheValue::fWords

Definition at line 92 of file ParagraphCache.cpp.


The documentation for this class was generated from the following file: