Lines Matching refs:gi

198     gr::GlyphIterator gi;  in fill_from()  local
199 for (gi = iGlyphs.first + nGlyphIndex; in fill_from()
201 nGlyphIndex+= nDelta, gi = iGlyphs.first + nGlyphIndex) in fill_from()
203 gr::GlyphInfo info = (*gi); in fill_from()
463 GraphiteLayout::Glyphs::append(gr::Segment &segment, ImplLayoutArgs &args, gr::GlyphInfo & gi, floa… in append() argument
466 int firstChar = std::min(gi.firstChar(), gi.lastChar()); in append()
470 glyph_set_range_t iAttached = gi.attachedClusterGlyphs(); in append()
475 long glyphId = gi.glyphID(); in append()
477 int glyphWidth = round2long(nextOrigin * scaling) - round2long(gi.origin() * scaling); in append()
479 …fprintf(grLog(),"c%d g%d gWidth%d x%f ", firstChar, (int)gi.logicalIndex(), glyphWidth, nextOrigin… in append()
485 gr::RightToLeftDir(gr::DirCode(gi.directionality()))); in append()
513 nGlyphFlags |= (gi.directionLevel() & 0x1)? GlyphItem::IS_RTL_GLYPH : 0; in append()
516 Point(round2long(gi.origin() * scaling + rDXOffset), in append()
517 round2long((-gi.yOffset() * scaling) - segment.AscentOffset()* scaling)), in append()
520 aGlyphItem.mnOrigWidth = round2long(gi.advanceWidth() * scaling); in append()
1111 GlyphItem & gi = mvGlyphs[nChar2Base]; in ApplyDXArray() local
1112 if (!gi.IsClusterStart()) in ApplyDXArray()
1168 if (gi.maGlyphId != GF_DROPPED) in ApplyDXArray()
1298 GlyphItem gi = mvGlyphs[nChar2Base]; in GetCaretPositions() local
1299 if (gi.maGlyphId == GF_DROPPED) in GetCaretPositions()
1304 long origClusterWidth = gi.mnNewWidth; in GetCaretPositions()
1305 long nMin = gi.maLinearPos.X(); in GetCaretPositions()
1306 long nMax = gi.maLinearPos.X() + gi.mnNewWidth; in GetCaretPositions()
1335 GlyphItem gi = mvGlyphs[prevBase]; in GetCaretPositions() local
1343 gi = mvGlyphs[nGlyph]; in GetCaretPositions()
1347 long nGWidth = gi.mnNewWidth; in GetCaretPositions()
1355 pCaretXArray[i+1] = gi.maLinearPos.X(); in GetCaretPositions()
1356 pCaretXArray[i] = gi.maLinearPos.X(); in GetCaretPositions()
1360 pCaretXArray[i] = gi.maLinearPos.X() + prevClusterWidth; in GetCaretPositions()
1361 pCaretXArray[i+1] = gi.maLinearPos.X() + prevClusterWidth; in GetCaretPositions()
1368 pCaretXArray[i+1] = gi.maLinearPos.X(); in GetCaretPositions()
1369 pCaretXArray[i] = gi.maLinearPos.X() + gi.mnNewWidth; in GetCaretPositions()
1373 pCaretXArray[i] = gi.maLinearPos.X(); in GetCaretPositions()
1374 pCaretXArray[i+1] = gi.maLinearPos.X() + gi.mnNewWidth; in GetCaretPositions()
1510 for (size_t gi = nGlyphIndex; gi < mvGlyphs.size(); gi++) in MoveGlyph() local
1512 mvGlyphs[gi].maLinearPos.X() += dx; in MoveGlyph()
1535 Glyphs::iterator gi = mvGlyphs.begin(); in Simplify() local
1539 while (gi != mvGlyphs.end()) in Simplify()
1541 if (gi->maGlyphId == dropMarker) in Simplify()
1543 deltaX += gi->mnNewWidth; in Simplify()
1544 gi->mnNewWidth = 0; in Simplify()
1551 ++gi; in Simplify()