Home
last modified time | relevance | path

Searched refs:mCharWidths (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/txt/src/minikin/
DLineBreaker.cpp137 mCharWidths.data() + start); in addStyleRun()
169 mWidth += mCharWidths[i]; in addStyleRun()
222 if (paint != nullptr || current == end || mCharWidths[current] > 0) { in addStyleRun()
256 width += mCharWidths[i++]; in addWordBreak()
258 float w = mCharWidths[i]; in addWordBreak()
371 mCharWidths[offset] = (width); in setCustomCharWidth()
375 mCharWidths[start] = width; in addReplacement()
376 std::fill(&mCharWidths[start + 1], &mCharWidths[end], 0.0f); in addReplacement()
386 return mCharWidths[i]; in getSpaceWidth()
543 mCharWidths.clear(); in finish()
[all …]
DLineBreaker.h107 mCharWidths.resize(size); in resize()
114 float* charWidths() { return mCharWidths.data(); } in charWidths()
221 std::vector<float> mCharWidths; variable
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLineBreaker.cpp132 typeface, mCharWidths.data() + start); in addStyleRun()
164 mWidth += mCharWidths[i]; in addStyleRun()
217 if (paint != nullptr || current == end || mCharWidths[current] > 0) { in addStyleRun()
251 width += mCharWidths[i++]; in addWordBreak()
253 float w = mCharWidths[i]; in addWordBreak()
377 mCharWidths[offset] = (width); in setCustomCharWidth()
381 mCharWidths[start] = width; in addReplacement()
382 std::fill(&mCharWidths[start + 1], &mCharWidths[end], 0.0f); in addReplacement()
392 return mCharWidths[i]; in getSpaceWidth()
549 mCharWidths.clear(); in finish()
[all …]
DLineBreaker.h113 mCharWidths.resize(size); in resize()
120 float* charWidths() { return mCharWidths.data(); } in charWidths()
234 std::vector<float> mCharWidths; variable