Lines Matching refs:mpGlyphAdvances

199     int*            mpGlyphAdvances;    // if possible this is shared with mpGlyphAdvances[]  member in SimpleWinLayout
262 mpGlyphAdvances( NULL ), in SimpleWinLayout()
283 if( mpCharWidths != mpGlyphAdvances ) in ~SimpleWinLayout()
286 delete[] mpGlyphAdvances; in ~SimpleWinLayout()
395 mpGlyphAdvances = new int[ mnGlyphCount ];
445 mpGlyphAdvances[ i ] = nGlyphWidth;
450 mpGlyphAdvances[ i+1 ] = 0;
490 mnWidth += mnNotdefWidth - mpGlyphAdvances[i];
491 mpGlyphAdvances[i] = mnNotdefWidth;
507 mpGlyphOrigAdvs[i] = mpGlyphAdvances[i];
519 mpGlyphAdvances[ i-1 ] += nKernAmount;
534 nDelta = (nDelta * mpGlyphAdvances[i-1] + 2) / 4;
535 mpGlyphAdvances[i-1] += nDelta;
544 mpCharWidths = mpGlyphAdvances;
554 mpCharWidths[ j ] += mpGlyphAdvances[ i ];
567 if( mpGlyphAdvances != mpCharWidths )
569 mpGlyphAdvances[i] = (int)(mpGlyphAdvances[i] * mfFontScale);
570 if( mpGlyphOrigAdvs && (mpGlyphOrigAdvs != mpGlyphAdvances) )
591 nXOffset += mpGlyphAdvances[ i ];
622 *(pGlyphAdvances++) = mpGlyphAdvances[ nStart ];
639 if( mpGlyphAdvances[nStart-1] != mpGlyphOrigAdvs[nStart-1] )
680 mpOutGlyphs+i, maxGlyphCount, mpGlyphAdvances+i );
682 mpOutGlyphs+i, remainingGlyphs, mpGlyphAdvances+i );
688 mpOutGlyphs, mnGlyphCount, mpGlyphAdvances );
702 mnWidth += mpGlyphAdvances[ i ];
750 nXPos += mpGlyphAdvances[ i>>1 ];
778 nXPos += mpGlyphAdvances[ i ];
798 nOldWidth -= mpGlyphAdvances[ nRight ];
799 nNewWidth -= mpGlyphAdvances[ nRight ];
804 if( mpGlyphAdvances[i] >= 0 )
811 if( mpGlyphAdvances[i] <= 0 )
814 mpGlyphAdvances[i] += nDeltaWidth;
835 if( mpCharWidths != mpGlyphAdvances )
842 mpCharWidths[ i ] = mpGlyphAdvances[ i ];
853 mpCharWidths[ j ] += mpGlyphAdvances[ i ];
873 nOldWidth += mpGlyphAdvances[ j ];
891 mpGlyphOrigAdvs[ i ] = mpGlyphAdvances[ i ];
899 mpGlyphAdvances[j] = pDXArray[i] - mnWidth;
915 nXPos += mpGlyphAdvances[i];
927 mpGlyphAdvances[ nStart-1 ] += nDelta;
958 mpCharWidths[ k ] = mpGlyphAdvances[ k ];
968 mnWidth -= mpGlyphAdvances[ i ];
980 mpGlyphOrigAdvs[ k ] = mpGlyphAdvances[ k ];
990 int nDroppedWidth = mpGlyphAdvances[ i ];
991 mpGlyphAdvances[ i ] = 0;
993 mpGlyphAdvances[ nNewGC-1 ] += nDroppedWidth;
1008 mpGlyphAdvances[ nNewGC ] = mpGlyphAdvances[ i ];
1094 int* mpGlyphAdvances; // glyph advance width before justification member in UniscribeLayout
1248 mpGlyphAdvances( NULL ),
1266 delete[] mpGlyphAdvances;
1432 mpGlyphAdvances = new int[ mnGlyphCapacity ];
1586 mpGlyphAdvances + rVisualItem.mnMinGlyphPos,
1597 mpGlyphAdvances + rVisualItem.mnMinGlyphPos,
1610 nXOffset += mpGlyphAdvances[ i ];
1677 mpGlyphAdvances[i] = (int)(mpGlyphAdvances[i] * mfFontScale);
1828 const int* pGlyphWidths = mpJustifications ? mpJustifications : mpGlyphAdvances;
1852 nXOffset += mpJustifications[ nStart ] - mpGlyphAdvances[ nStart ];
1914 nGlyphWidth = mpGlyphAdvances[ nStart ];
1979 || (mpJustifications && (mpJustifications[nStart] != mpGlyphAdvances[nStart]) ) )
2031 nDelta -= (mpJustifications)? mpJustifications[ i ] : mpGlyphAdvances[ i ];
2037 mpGlyphAdvances[ nLastUndropped ] += nDelta;
2081 pVI->mnXOffset += ((mpJustifications)? mpJustifications[nStart] : mpGlyphAdvances[nStart]);
2123 const int* pGlyphWidths = mpJustifications ? mpJustifications : mpGlyphAdvances;
2178 mpGlyphAdvances[ j ] = mpGlyphAdvances[ i ];
2222 pGlyphWidths = mpGlyphAdvances;
2242 mpGlyphAdvances + nMinGlyphPos,
2268 const int* pGlyphWidths = mpJustifications ? mpJustifications : mpGlyphAdvances;
2354 nXPos += mpGlyphAdvances[ i ];
2438 mpJustifications[ i ] = mpGlyphAdvances[ i ];
2501 mpGlyphAdvances + rVisualItem.mnMinGlyphPos,
2533 const int nXOffsetAdjust = mpJustifications[i] - mpGlyphAdvances[i];
2536 while( (nIdxAdd >= nMinGlyphPos) && !mpGlyphAdvances[nIdxAdd] )
2568 if( (i > nMinGlyphPos && !mpGlyphAdvances[ i-1 ])
2573 long nSpaceAdded = mpJustifications[ i ] - mpGlyphAdvances[ i ];
2574 mpJustifications [ i ] = mpGlyphAdvances [ i ];
2608 long nSpaceAdded = mpJustifications[ i ] - mpGlyphAdvances[ i ];
2629 long nSpaceAdded = mpJustifications[ i ] - mpGlyphAdvances[ i ];
2638 long nSpaceAdded = mpJustifications[ nKashPos ] - mpGlyphAdvances[ nKashPos ];
2712 mpJustifications[ i ] = mpGlyphAdvances[ i ];
2733 mpGlyphAdvances + rVisualItem.mnMinGlyphPos,
2779 && mpGlyphAdvances [ nGlyphPos-1 ] ))