Searched defs:Candidate (Results 1 – 1 of 1) sorted by relevance
59 struct Candidate { struct60 uint32_t offset; // offset to text buffer, in code units62 ParaWidth preBreak; // width of text until this point, if we decide to not break here:66 ParaWidth postBreak; // width of text until this point, if we decide to break here67 float penalty; // penalty of this break (for example, hyphen penalty)68 uint32_t preSpaceCount; // preceding space count before breaking69 uint32_t postSpaceCount; // preceding space count after breaking70 HyphenationType hyphenType;71 bool isRtl; // The direction of the bidi run containing or ending in this candidate73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() argument