Lines Matching refs:fStyleRunInfo

379     fStyleRunInfo = LE_NEW_ARRAY(StyleRunInfo, fStyleRunCount);  in ParagraphLayout()
380 if (fStyleRunInfo == NULL) { in ParagraphLayout()
387 fStyleRunInfo[run].font = NULL; in ParagraphLayout()
388 fStyleRunInfo[run].runBase = 0; in ParagraphLayout()
389 fStyleRunInfo[run].runLimit = 0; in ParagraphLayout()
390 fStyleRunInfo[run].script = (UScriptCode)0; in ParagraphLayout()
391 fStyleRunInfo[run].locale = NULL; in ParagraphLayout()
392 fStyleRunInfo[run].level = 0; in ParagraphLayout()
393 fStyleRunInfo[run].glyphBase = 0; in ParagraphLayout()
394 fStyleRunInfo[run].engine = NULL; in ParagraphLayout()
395 fStyleRunInfo[run].glyphCount = 0; in ParagraphLayout()
396 fStyleRunInfo[run].glyphs = NULL; in ParagraphLayout()
397 fStyleRunInfo[run].positions = NULL; in ParagraphLayout()
403 fStyleRunInfo[run].font = fFontRuns->getFont(styleIndices[0]); in ParagraphLayout()
404 fStyleRunInfo[run].runBase = runStart; in ParagraphLayout()
405 fStyleRunInfo[run].runLimit = fStyleRunLimits[run]; in ParagraphLayout()
406 fStyleRunInfo[run].script = (UScriptCode) fScriptRuns->getValue(styleIndices[2]); in ParagraphLayout()
407 fStyleRunInfo[run].locale = fLocaleRuns->getLocale(styleIndices[3]); in ParagraphLayout()
408 fStyleRunInfo[run].level = (UBiDiLevel) fLevelRuns->getValue(styleIndices[1]); in ParagraphLayout()
409 fStyleRunInfo[run].glyphBase = fGlyphCount; in ParagraphLayout()
411 fStyleRunInfo[run].engine = LayoutEngine::layoutEngineFactory(fStyleRunInfo[run].font, in ParagraphLayout()
412 fStyleRunInfo[run].script, getLanguageCode(fStyleRunInfo[run].locale), layoutStatus); in ParagraphLayout()
418fStyleRunInfo[run].glyphCount = fStyleRunInfo[run].engine->layoutChars(fChars, runStart, fStyleRun… in ParagraphLayout()
419 fStyleRunInfo[run].level & 1, 0, 0, layoutStatus); in ParagraphLayout()
427 fGlyphCount += fStyleRunInfo[run].glyphCount; in ParagraphLayout()
450 LayoutEngine *engine = fStyleRunInfo[run].engine; in ParagraphLayout()
451 le_int32 glyphCount = fStyleRunInfo[run].glyphCount; in ParagraphLayout()
452 le_int32 glyphBase = fStyleRunInfo[run].glyphBase; in ParagraphLayout()
454 fStyleRunInfo[run].glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount); in ParagraphLayout()
455 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in ParagraphLayout()
456 if ((fStyleRunInfo[run].glyphs == NULL) || in ParagraphLayout()
457 (fStyleRunInfo[run].positions == NULL)) { in ParagraphLayout()
462 engine->getGlyphs(fStyleRunInfo[run].glyphs, layoutStatus); in ParagraphLayout()
468 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus); in ParagraphLayout()
481 …fGlyphWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run]… in ParagraphLayout()
484 if ((fStyleRunInfo[run].level & 1) != 0) { in ParagraphLayout()
492 fStyleRunInfo[run].engine = NULL; in ParagraphLayout()
593 LE_DELETE_ARRAY(fStyleRunInfo[run].glyphs); in ~ParagraphLayout()
594 LE_DELETE_ARRAY(fStyleRunInfo[run].positions); in ~ParagraphLayout()
596 fStyleRunInfo[run].glyphs = NULL; in ~ParagraphLayout()
597 fStyleRunInfo[run].positions = NULL; in ~ParagraphLayout()
600 LE_DELETE_ARRAY(fStyleRunInfo); in ~ParagraphLayout()
604 fStyleRunInfo = NULL; in ~ParagraphLayout()
1040 le_int32 firstChar = (run == firstRun)? runStart : fStyleRunInfo[run].runBase; in computeVisualRuns()
1041 le_int32 lastChar = (run == lastRun)? runEnd : fStyleRunInfo[run].runLimit - 1; in computeVisualRuns()
1052 le_int32 glyphBase = fStyleRunInfo[run].glyphBase; in appendRun()
1075 if ((fStyleRunInfo[run].level & 1) != 0) { in appendRun()
1077 le_int32 last = glyphBase + fStyleRunInfo[run].glyphCount - 1; in appendRun()
1093 fVisualRunLastX -= fStyleRunInfo[run].positions[leftGlyph * 2]; in appendRun()
1099 UBiDiDirection direction = ((fStyleRunInfo[run].level & 1) == 0)? UBIDI_LTR : UBIDI_RTL; in appendRun()
1105 LE_ARRAY_COPY(glyphs, &fStyleRunInfo[run].glyphs[leftGlyph], glyphCount); in appendRun()
1108 positions[outGlyph] = fStyleRunInfo[run].positions[inGlyph] + fVisualRunLastX; in appendRun()
1109 positions[outGlyph + 1] = fStyleRunInfo[run].positions[inGlyph + 1] + fVisualRunLastY; in appendRun()
1117 if ((fStyleRunInfo[run].level & 1) == 0) { in appendRun()
1125 le_int32 base = glyphBase + fStyleRunInfo[run].glyphCount - 1; in appendRun()
1132 line->append(fStyleRunInfo[run].font, direction, glyphCount, glyphs, positions, glyphToCharMap); in appendRun()