Searched refs:m_run (Results 1 – 7 of 7) sorted by relevance
44 , m_run(run) in WidthIterator()52 m_padding = m_run.padding(); in WidthIterator()58 if (Font::treatAsSpace(m_run[i])) in WidthIterator()64 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in WidthIterator()74 const UChar* cp = m_run.data(currentCharacter); in advance()76 bool rtl = m_run.rtl(); in advance()77 …cing = (m_font->letterSpacing() || m_font->wordSpacing() || m_padding) && !m_run.spacingDisabled(); in advance()102 if (currentCharacter + 1 >= m_run.length()) in advance()120 if (c == '\t' && m_run.allowTabs()) { in advance()122 width = tabWidth - fmodf(m_run.xPos() + runWidthSoFar, tabWidth); in advance()[all …]
41 const TextRun& m_run; member
105 , m_run(run) in CoreTextController()117 m_padding = m_run.padding(); in CoreTextController()122 for (int s = 0; s < m_run.length(); s++) in CoreTextController()123 if (Font::treatAsSpace(m_run[s])) in CoreTextController()129 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in CoreTextController()143 return m_run.ltr() ? m_end : 0; in offsetForPosition()145 return m_run.ltr() ? 0 : m_end; in offsetForPosition()195 return coreTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); in offsetForPosition()197 return coreTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); in offsetForPosition()214 const UChar* cp = m_run.characters(); in collectCoreTextRuns()[all …]
50 : m_run(run)64 const TextRun& m_run;164 if (params->m_run.applyWordRounding()) {173 …const UChar* characters = params->m_charBuffer ? params->m_charBuffer.get() : params->m_run.charac…183 …etterSpacing() || params->m_font->wordSpacing() || params->m_run.padding()) && !params->m_run.spac…184 float padding = params->m_run.padding();220 if (params->m_run.padding()) {243 … if (Font::isRoundingHackCharacter(nextCh) && (!isLastChar || params->m_run.applyRunRounding())){244 if (params->m_run.ltr())320 m_fonts.set(new const SimpleFontData*[m_run.length()]);[all …]
87 const TextRun& m_run; variable
43 , m_run(run) in UniscribeController()52 m_padding = m_run.padding(); in UniscribeController()57 for (int s = 0; s < m_run.length(); s++) in UniscribeController()58 if (Font::treatAsSpace(m_run[s])) in UniscribeController()64 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in UniscribeController()77 advance(m_run.length()); in offsetForPosition()80 if (m_offsetX >= m_runWidthSoFar && m_run.ltr() || m_offsetX < 0 && m_run.rtl()) in offsetForPosition()99 const UChar* cp = m_run.data(m_currentCharacter); in advance()117 unsigned indexOfFontTransition = m_run.rtl() ? length - 1 : 0; in advance()118 const UChar* curr = m_run.rtl() ? cp + length - 1 : cp; in advance()[all …]
62 const TextRun& m_run; variable