Searched refs:nGapWidth (Results 1 – 3 of 3) sorted by relevance
1370 const int nGapWidth = pG1->mnNewWidth - pG1->mnOrigWidth; in KashidaJustify() local1372 if( 3 * nGapWidth >= nKashidaWidth ) in KashidaJustify()1373 nKashidaCount += 1 + (nGapWidth / nKashidaWidth); in KashidaJustify()1398 int nGapWidth = pG1->mnNewWidth - pG1->mnOrigWidth; in KashidaJustify() local1399 if( 3*nGapWidth < nKashidaWidth ) in KashidaJustify()1405 aPos.X() -= nGapWidth; // cluster is already right aligned in KashidaJustify()1406 for(; nGapWidth > 0; nGapWidth -= nKashidaWidth, ++nKashidaCount ) in KashidaJustify()1414 if( nGapWidth < 0 ) in KashidaJustify()1416 aPos.X() += nGapWidth; in KashidaJustify()1419 pG2[-1].mnNewWidth += nGapWidth; // adjust kashida width to gap width in KashidaJustify()[all …]
1235 int nGapWidth = rDeltaWidths[nOrigGlyphIndex]; in kashidaJustify() local1237 if( 3 * nGapWidth < nKashidaWidth ) in kashidaJustify()1242 nKashidaCount = 1 + (nGapWidth / nKashidaWidth); in kashidaJustify()1259 (*(i)).maLinearPos.X() -= nGapWidth; in kashidaJustify()1260 nGapWidth -= nKashidaWidth; in kashidaJustify()1265 if( nGapWidth < 0 ) in kashidaJustify()1268 nGapWidth /= 2; // for small gap move kashida to middle in kashidaJustify()1269 (*(i-1)).mnNewWidth += nGapWidth; // adjust kashida width to gap width in kashidaJustify()1270 (*(i-1)).maLinearPos.X() += nGapWidth; in kashidaJustify()
914 double nGapWidth (0); in Layout() local919 nGapWidth = nTotalHorizontalGap / nGapCount; in Layout()949 aBoundingBox.X2 += ((*iPart)->size()-1) * nGapWidth; in Layout()953 nX += aBoundingBox.X2 - aBoundingBox.X1 + nGapWidth; in Layout()
Completed in 55 milliseconds