Lines Matching refs:pSegment
593 gr::Segment * pSegment = NULL; in LayoutText() local
597 pSegment = CreateSegment(rArgs, &pSegRecord); in LayoutText()
598 if (!pSegment) in LayoutText()
607 bool success = LayoutGlyphs(rArgs, pSegment, pSegRecord); in LayoutText()
610 else delete pSegment; in LayoutText()
612 gr::Segment * pSegment = NULL; in LayoutText()
616 pSegment = CreateSegment(rArgs); in LayoutText()
617 if (!pSegment) in LayoutText()
619 success = LayoutGlyphs(rArgs, pSegment); in LayoutText()
620 if (pSegment) delete pSegment; in LayoutText()
701 gr::Segment * pSegment = NULL; in CreateSegment() local
742 pSegment = (*pSegRecord)->getSegment(); in CreateSegment()
754 && pSegment->stopCharacter() != limit) in CreateSegment()
757 glyph_set_range_t aGlyphSet = pSegment->charToGlyphs(limit - 1); in CreateSegment()
761 pSegment = NULL; in CreateSegment()
771 pSegment = NULL; in CreateSegment()
779 if (pSegment) in CreateSegment()
780 return pSegment; in CreateSegment()
789 … pSegment = new gr::RangeSegment((gr::Font *)&mrFont, mpTextSrc, &maLayout, mnMinCharPos, limit); in CreateSegment()
790 if (pSegment != NULL) in CreateSegment()
794 …rArgs.mnEndCharPos, limit, rArgs.mnLength, maLayout.rightToLeft(), pSegment->rightToLeft(), mfScal… in CreateSegment()
798 *pSegRecord = pCache->cacheSegment(mpTextSrc, pSegment, pSegment->rightToLeft()); in CreateSegment()
820 return pSegment; in CreateSegment()
824 bool GraphiteLayout::LayoutGlyphs(ImplLayoutArgs& rArgs, gr::Segment * pSegment, GrSegRecord * pSeg… in LayoutGlyphs() argument
826 bool GraphiteLayout::LayoutGlyphs(ImplLayoutArgs& rArgs, gr::Segment * pSegment) in LayoutGlyphs()
858 bool bRtl = pSegRecord? pSegRecord->isRtl() : pSegment->rightToLeft(); in LayoutGlyphs()
860 bool bRtl = pSegment->rightToLeft(); in LayoutGlyphs()
862 mvGlyphs.fill_from(*pSegment, rArgs, bRtl, in LayoutGlyphs()