Lines Matching refs:mvGlyphs

573     mvGlyphs.clear();  in clear()
837 mvGlyphs = pSegRecord->glyphs(); in LayoutGlyphs()
862 mvGlyphs.fill_from(*pSegment, rArgs, bRtl, in LayoutGlyphs()
878 pSegRecord->setGlyphVectors(mnWidth, mvGlyphs, mvCharDxs, in LayoutGlyphs()
956 ((signed)(mvChar2BaseGlyph[i] & GLYPH_INDEX_MASK) < (signed)mvGlyphs.size())); in FillDXArray()
958 mvGlyphs[mvChar2BaseGlyph[i] & GLYPH_INDEX_MASK].maGlyphId == GF_DROPPED) in FillDXArray()
990 std::vector<int> vDeltaWidths(mvGlyphs.size(), 0); in AdjustLayout()
1031 for (size_t j = 0; j < mvGlyphs.size(); j++) in expandOrCondense()
1033 if (mvGlyphs[j].IsClusterStart()) in expandOrCondense()
1043 for (size_t i = 0; i < mvGlyphs.size(); i++) in expandOrCondense()
1045 if (mvGlyphs[i].IsClusterStart()) in expandOrCondense()
1059 mvGlyphs[i].maLinearPos.X() += nOffset; in expandOrCondense()
1065 if (mvGlyphs.size() == 0) return; in expandOrCondense()
1066 Glyphs::iterator iLastGlyph = mvGlyphs.begin() + (mvGlyphs.size() - 1); in expandOrCondense()
1073 Glyphs::iterator iGlyph = mvGlyphs.begin(); in expandOrCondense()
1103 int nPrevClusterGlyph = (bRtl)? (signed)mvGlyphs.size() : -1; in ApplyDXArray()
1110 assert((nChar2Base > -1) && (nChar2Base < (signed)mvGlyphs.size())); in ApplyDXArray()
1111 GlyphItem & gi = mvGlyphs[nChar2Base]; in ApplyDXArray()
1122 assert((nChar2BaseJ >= -1) && (nChar2BaseJ < (signed)mvGlyphs.size())); in ApplyDXArray()
1123 if (nChar2BaseJ != -1 && mvGlyphs[nChar2BaseJ].IsClusterStart()) in ApplyDXArray()
1140 while (nLastGlyph + 1 < (signed)mvGlyphs.size() && in ApplyDXArray()
1141 !mvGlyphs[nLastGlyph+1].IsClusterStart()) in ApplyDXArray()
1149 if (!bRtl) nLastGlyph = mvGlyphs.size() - 1; in ApplyDXArray()
1164 fprintf(grLog(), "c%lu last glyph %d/%lu\n", i, nLastGlyph, mvGlyphs.size()); in ApplyDXArray()
1166 assert((nLastGlyph > -1) && (nLastGlyph < (signed)mvGlyphs.size())); in ApplyDXArray()
1167 mvGlyphs[nLastGlyph].mnNewWidth += nDWidth; in ApplyDXArray()
1169 mvGlyphs[nLastGlyph].mnNewWidth += nDWidth; in ApplyDXArray()
1177 assert((n > - 1) && (n < (signed)mvGlyphs.size())); in ApplyDXArray()
1178 mvGlyphs[n].maLinearPos.X() += -nDGlyphOrigin + nXOffset; in ApplyDXArray()
1185 assert((n > - 1) && (n < (signed)mvGlyphs.size())); in ApplyDXArray()
1186 mvGlyphs[n].maLinearPos.X() += nDGlyphOrigin + nXOffset; in ApplyDXArray()
1191 …LastGlyph, nNewClusterWidth, nOrigClusterWidth, nDWidth, nDGlyphOrigin, mvGlyphs[nChar2Base].maLin… in ApplyDXArray()
1214 Glyphs::iterator i = mvGlyphs.begin(); in kashidaJustify()
1218 while (i != mvGlyphs.end()) in kashidaJustify()
1251 mvGlyphs.reserve(mvGlyphs.size() + nKashidaCount); in kashidaJustify()
1252 i = mvGlyphs.begin() + nGlyphIndex; in kashidaJustify()
1253 mvGlyphs.insert(i, nKashidaCount, newGi); in kashidaJustify()
1254 i = mvGlyphs.begin() + nGlyphIndex; in kashidaJustify()
1297 assert((mvChar2BaseGlyph[nCharSlot] > -1) && (nChar2Base < (signed)mvGlyphs.size())); in GetCaretPositions()
1298 GlyphItem gi = mvGlyphs[nChar2Base]; in GetCaretPositions()
1308 while (++nCluster < static_cast<int>(mvGlyphs.size()) && in GetCaretPositions()
1309 !mvGlyphs[nCluster].IsClusterStart()) in GetCaretPositions()
1311 origClusterWidth += mvGlyphs[nCluster].mnNewWidth; in GetCaretPositions()
1314 nMin = std::min(nMin, mvGlyphs[nCluster].maLinearPos.X()); in GetCaretPositions()
1315 … nMax = std::min(nMax, mvGlyphs[nCluster].maLinearPos.X() + mvGlyphs[nCluster].mnNewWidth); in GetCaretPositions()
1334 assert((prevBase > -1) && (prevBase < (signed)mvGlyphs.size())); in GetCaretPositions()
1335 GlyphItem gi = mvGlyphs[prevBase]; in GetCaretPositions()
1338 for (; nGlyph < static_cast<int>(mvGlyphs.size()) && in GetCaretPositions()
1339 !mvGlyphs[nGlyph].IsClusterStart(); nGlyph++) in GetCaretPositions()
1343 gi = mvGlyphs[nGlyph]; in GetCaretPositions()
1349 if (nGlyph == static_cast<int>(mvGlyphs.size()) || in GetCaretPositions()
1350 mvGlyphs[nGlyph].IsClusterStart()) in GetCaretPositions()
1407 if (glyph_slot >= signed(mvGlyphs.size())) in GetNextGlyphs()
1409 glyph_slot = mvGlyphs.size(); in GetNextGlyphs()
1414 for (; glyph_slot < signed(mvGlyphs.size()) && in GetNextGlyphs()
1415 ((mvGlyphs.begin() + glyph_slot)->maGlyphId == GF_DROPPED); in GetNextGlyphs()
1419 const int nGlyphSlotEnd = std::min(size_t(glyph_slot + length), mvGlyphs.size()); in GetNextGlyphs()
1428 Glyphs::const_iterator glyph_itr = mvGlyphs.begin() + glyph_slot; in GetNextGlyphs()
1455 const long nGlyphAdvance = (glyph_slot == static_cast<int>(mvGlyphs.size()))? in GetNextGlyphs()
1485 while (glyph_slot < static_cast<int>(mvGlyphs.size()) && in GetNextGlyphs()
1486 (mvGlyphs.begin() + glyph_slot)->maGlyphId == GF_DROPPED) in GetNextGlyphs()
1498 while ((mvGlyphs[nGlyphIndex].maGlyphId == GF_DROPPED) && in MoveGlyph()
1499 (nGlyphIndex < (signed)mvGlyphs.size())) in MoveGlyph()
1503 const long dx = nNewPos - mvGlyphs[nGlyphIndex].maLinearPos.X(); in MoveGlyph()
1508 …fprintf(grLog(),"Move %d (%ld,%ld) c%d by %ld\n", nGlyphIndex, mvGlyphs[nGlyphIndex].maLinearPos.X… in MoveGlyph()
1510 for (size_t gi = nGlyphIndex; gi < mvGlyphs.size(); gi++) in MoveGlyph()
1512 mvGlyphs[gi].maLinearPos.X() += dx; in MoveGlyph()
1521 if(nGlyphIndex >= signed(mvGlyphs.size())) in DropGlyph()
1524 GlyphItem & glyph = mvGlyphs[nGlyphIndex]; in DropGlyph()
1535 Glyphs::iterator gi = mvGlyphs.begin(); in Simplify()
1539 while (gi != mvGlyphs.end()) in Simplify()