Searched refs:complexTextRun (Results 1 – 2 of 2) sorted by relevance
109 const ComplexTextRun& complexTextRun = *m_complexTextRuns[r]; in offsetForPosition() local110 for (unsigned j = 0; j < complexTextRun.glyphCount(); ++j) { in offsetForPosition()113 CFIndex hitGlyphStart = complexTextRun.indexAt(j); in offsetForPosition()116 …dex>(hitGlyphStart, j + 1 < complexTextRun.glyphCount() ? complexTextRun.indexAt(j + 1) : static_c… in offsetForPosition()118 …hEnd = max<CFIndex>(hitGlyphStart, j > 0 ? complexTextRun.indexAt(j - 1) : static_cast<CFIndex>(co… in offsetForPosition()124 int stringLength = complexTextRun.stringLength(); in offsetForPosition()125 …TextBreakIterator* cursorPositionIterator = cursorMovementIterator(complexTextRun.characters(), st… in offsetForPosition()136 return complexTextRun.stringLocation() + clusterStart; in offsetForPosition()149 …le (firstGlyphBeforeCluster >= 0 && complexTextRun.indexAt(firstGlyphBeforeCluster) >= clusterStar… in offsetForPosition()156 …tGlyphAfterCluster < complexTextRun.glyphCount() && complexTextRun.indexAt(firstGlyphAfterCluster)… in offsetForPosition()[all …]
46 ComplexTextRun* complexTextRun = reinterpret_cast<ComplexTextRun*>(refCon); in overrideLayoutOperation() local61 if (complexTextRun->m_directionalOverride) { in overrideLayoutOperation()67 complexTextRun->m_glyphCount = count; in overrideLayoutOperation()68 complexTextRun->m_glyphsVector.reserveCapacity(count); in overrideLayoutOperation()69 complexTextRun->m_advancesVector.reserveCapacity(count); in overrideLayoutOperation()70 complexTextRun->m_atsuiIndices.reserveCapacity(count); in overrideLayoutOperation()77 complexTextRun->m_glyphCount--; in overrideLayoutOperation()80 complexTextRun->m_glyphsVector.uncheckedAppend(layoutRecords[j].glyphID); in overrideLayoutOperation()81 … complexTextRun->m_atsuiIndices.uncheckedAppend(layoutRecords[j].originalOffset / 2 + indexOffset); in overrideLayoutOperation()84 complexTextRun->m_advancesVector.uncheckedAppend(CGSizeMake(x - lastX, 0)); in overrideLayoutOperation()[all …]