Searched defs:Candidate (Results 1 – 1 of 1) sorted by relevance
60 struct Candidate { struct61 uint32_t offset; // offset to text buffer, in code units63 ParaWidth preBreak; // width of text until this point, if we decide to not break here:67 ParaWidth postBreak; // width of text until this point, if we decide to break here68 float penalty; // penalty of this break (for example, hyphen penalty)69 uint32_t preSpaceCount; // preceding space count before breaking70 uint32_t postSpaceCount; // preceding space count after breaking71 HyphenationType hyphenType;72 bool isRtl; // The direction of the bidi run containing or ending in this candidate74 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() function