Home
last modified time | relevance | path

Searched refs:m_run (Results 1 – 9 of 9) sorted by relevance

/external/webkit/WebCore/platform/graphics/
DWidthIterator.cpp44 , m_run(run) in WidthIterator()
53 m_padding = m_run.padding(); in WidthIterator()
59 if (Font::treatAsSpace(m_run[i])) in WidthIterator()
65 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in WidthIterator()
75 const UChar* cp = m_run.data(currentCharacter); in advance()
77 bool rtl = m_run.rtl(); in advance()
78 …cing = (m_font->letterSpacing() || m_font->wordSpacing() || m_padding) && !m_run.spacingDisabled(); in advance()
106 if (currentCharacter + 1 >= m_run.length()) in advance()
124 if (c == '\t' && m_run.allowTabs()) { in advance()
126 width = tabWidth - fmodf(m_run.xPos() + runWidthSoFar, tabWidth); in advance()
[all …]
DWidthIterator.h43 const TextRun& m_run; member
/external/webkit/WebCore/platform/graphics/mac/
DCoreTextController.cpp105 , m_run(run) in CoreTextController()
118 m_padding = m_run.padding(); in CoreTextController()
123 for (int s = 0; s < m_run.length(); s++) in CoreTextController()
124 if (Font::treatAsSpace(m_run[s])) in CoreTextController()
130 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in CoreTextController()
144 return m_run.ltr() ? m_end : 0; in offsetForPosition()
146 return m_run.ltr() ? 0 : m_end; in offsetForPosition()
196 return coreTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); in offsetForPosition()
198 return coreTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); in offsetForPosition()
215 const UChar* cp = m_run.characters(); in collectCoreTextRuns()
[all …]
DFontMacATSUI.mm51 : m_run(run)
67 const TextRun& m_run;
168 if (params->m_run.applyWordRounding()) {
177 …const UChar* characters = params->m_charBuffer ? params->m_charBuffer.get() : params->m_run.charac…
186 …etterSpacing() || params->m_font->wordSpacing() || params->m_run.padding()) && !params->m_run.spac…
187 float padding = params->m_run.padding();
224 if (params->m_run.padding()) {
247 … if (Font::isRoundingHackCharacter(nextCh) && (!isLastChar || params->m_run.applyRunRounding())){
248 if (params->m_run.ltr())
324 m_fonts.set(new const SimpleFontData*[m_run.length()]);
[all …]
DCoreTextController.h87 const TextRun& m_run; variable
/external/webkit/WebCore/platform/graphics/win/
DUniscribeController.cpp43 , m_run(run) in UniscribeController()
53 m_padding = m_run.padding(); in UniscribeController()
58 for (int s = 0; s < m_run.length(); s++) in UniscribeController()
59 if (Font::treatAsSpace(m_run[s])) in UniscribeController()
65 m_padPerSpace = ceilf(m_run.padding() / numSpaces); in UniscribeController()
78 advance(m_run.length()); in offsetForPosition()
81 if (m_offsetX >= m_runWidthSoFar && m_run.ltr() || m_offsetX < 0 && m_run.rtl()) in offsetForPosition()
100 const UChar* cp = m_run.data(m_currentCharacter); in advance()
118 unsigned indexOfFontTransition = m_run.rtl() ? length - 1 : 0; in advance()
119 const UChar* curr = m_run.rtl() ? cp + length - 1 : cp; in advance()
[all …]
DUniscribeController.h62 const TextRun& m_run; variable
/external/webkit/WebCore/platform/graphics/chromium/
DFontLinux.cpp139 , m_run(run) in TextRunWalker()
174 m_indexOfNextScriptRun = m_run.length() - 1; in reset()
189 return m_run.rtl(); in rtl()
209 …if (!hb_utf16_script_run_prev(&m_numCodePoints, &m_item.item, m_run.characters(), m_run.length(), … in nextScriptRun()
212 …if (!hb_utf16_script_run_next(&m_numCodePoints, &m_item.item, m_run.characters(), m_run.length(), … in nextScriptRun()
382 const TextRun& m_run; member in WebCore::TextRunWalker
DFontChromiumWin.cpp300 const TextRun& m_run; member in WebCore::__anonf9ee309e0111::TransparencyAwareUniscribePainter
313 , m_run(run) in TransparencyAwareUniscribePainter()
333 UniscribeHelperTextRun state(m_run, *m_font); in estimateTextBounds()