Home | History | Annotate | Download | only in mac

Lines Matching refs:m_run

54     , m_run(run)
78 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion);
79 if (isAfterExpansion && !m_run.allowsTrailingExpansion())
97 return m_run.ltr() ? m_end : 0;
101 return m_run.ltr() ? 0 : m_end;
115 if (m_run.ltr())
123 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance);
162 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1);
165 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd);
167 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart);
184 const UChar* cp = m_run.characters();
189 unsigned indexOfFontTransition = m_run.rtl() ? m_end - 1 : 0;
190 const UChar* curr = m_run.rtl() ? cp + m_end - 1 : cp;
191 const UChar* end = m_run.rtl() ? cp - 1 : cp + m_end;
198 if (m_run.ltr()) {
219 curr = m_run.rtl() ? curr - (isSurrogate ? 2 : 1) : curr + (isSurrogate ? 2 : 1);
230 if (m_run.ltr()) {
249 int itemStart = m_run.rtl() ? index + 1 : static_cast<int>(indexOfFontTransition);
250 int itemLength = m_run.rtl() ? indexOfFontTransition - index : index - indexOfFontTransition;
256 int itemLength = m_run.rtl() ? indexOfFontTransition + 1 : m_end - indexOfFontTransition;
258 int itemStart = m_run.rtl() ? 0 : indexOfFontTransition;
357 bool ltr = m_run.ltr();
418 bool hasExtraSpacing = (m_font.letterSpacing() || m_font.wordSpacing() || m_expansion) && !m_run.spacingDisabled();
431 CFIndex lastCharacterIndex = m_run.ltr() ? numeric_limits<CFIndex>::min() : numeric_limits<CFIndex>::max();
436 if (m_run.ltr()) {
457 if (ch == '\t' && m_run.allowTabs()) {
459 advance.width = tabWidth - fmodf(m_run.xPos() + m_totalWidth + widthSinceLastCommit, tabWidth);
490 if (!lastGlyph || m_run.allowsTrailingExpansion()) {
499 if (treatAsSpace && characterIndex > 0 && !Font::treatAsSpace(*m_run.data(characterIndex - 1)) && m_font.wordSpacing())