Home
last modified time | relevance | path

Searched refs:mIndents (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/txt/src/minikin/
DLineBreaker.h62 void setIndents(const std::vector<float>& indents) { mIndents = indents; } in setIndents()
66 return mRestWidth == mFirstWidth && mIndents.empty(); in isConstant()
70 if (!mIndents.empty()) { in getLineWidth()
71 if ((size_t)line < mIndents.size()) { in getLineWidth()
72 width -= mIndents[line]; in getLineWidth()
74 width -= mIndents.back(); in getLineWidth()
79 void clear() { mIndents.clear(); } in clear()
85 std::vector<float> mIndents; variable
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLineBreaker.h68 void setIndents(const std::vector<float>& indents) { mIndents = indents; } in setIndents()
72 return mRestWidth == mFirstWidth && mIndents.empty(); in isConstant()
76 if (!mIndents.empty()) { in getLineWidth()
77 if ((size_t)line < mIndents.size()) { in getLineWidth()
78 width -= mIndents[line]; in getLineWidth()
80 width -= mIndents.back(); in getLineWidth()
85 void clear() { mIndents.clear(); } in clear()
91 std::vector<float> mIndents; variable