Lines Matching refs:rArgs

292 bool SimpleWinLayout::LayoutText( ImplLayoutArgs& rArgs )  argument
296 mbDisableGlyphs |= ((rArgs.mnFlags & SAL_LAYOUT_DISABLE_GLYPH_PROCESSING) != 0);
297 mnCharCount = rArgs.mnEndCharPos - rArgs.mnMinCharPos;
303 if( rArgs.mnFlags & SAL_LAYOUT_VERTICAL )
311 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
316 rArgs.mnFlags &= ~SAL_LAYOUT_KERNING_ASIAN;
323 bool bVertical = (rArgs.mnFlags & SAL_LAYOUT_VERTICAL) != 0;
326 rArgs.ResetPos();
328 while( rArgs.GetNextRun( &i, &j, &bHasRTL ) && !bHasRTL )
340 const sal_Unicode* pBidiStr = rArgs.mpStr + rArgs.mnMinCharPos;
358 rArgs.ResetPos();
360 while( rArgs.GetNextRun( &i, &j, &bIsRTL ) )
366 sal_UCS4 cChar = rArgs.mpStr[ nCharPos ];
388 mpChars2Glyphs[ nCharPos - rArgs.mnMinCharPos ] = mnGlyphCount;
397 if( rArgs.mnFlags & (SAL_LAYOUT_KERNING_PAIRS | SAL_LAYOUT_KERNING_ASIAN) )
403 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS )
458 int nCharPos = mpGlyphs2Chars ? mpGlyphs2Chars[i]: i + rArgs.mnMinCharPos;
459 rArgs.NeedFallback( nCharPos, bRTL );
460 if( bSurrogate && ((nCharPos+1) < rArgs.mnLength) )
461 rArgs.NeedFallback( nCharPos+1, bRTL );
464 if( rArgs.mnFlags & SAL_LAYOUT_FOR_FALLBACK )
477 WCHAR cNotDef = rArgs.mpStr[ nCharPos ];
498 if( rArgs.mnFlags & (SAL_LAYOUT_KERNING_ASIAN|SAL_LAYOUT_KERNING_PAIRS) )
502 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
504 if( !(rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS) )
511 if( rArgs.mnMinCharPos + nLen < rArgs.mnLength )
516 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS )
522 else if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
552 int j = mpGlyphs2Chars[ i ] - rArgs.mnMinCharPos;
822 void SimpleWinLayout::AdjustLayout( ImplLayoutArgs& rArgs ) argument
824 SalLayout::AdjustLayout( rArgs );
827 if( rArgs.mpDXArray )
828 ApplyDXArray( rArgs );
829 else if( rArgs.mnLayoutWidth )
830 Justify( rArgs.mnLayoutWidth );
851 int j = mpGlyphs2Chars[ i ] - rArgs.mnMinCharPos;
861 void SimpleWinLayout::ApplyDXArray( const ImplLayoutArgs& rArgs ) argument
864 const long* pDXArray = rArgs.mpDXArray;
1275 bool UniscribeLayout::LayoutText( ImplLayoutArgs& rArgs ) argument
1281 if( rArgs.mnFlags & SAL_LAYOUT_FOR_FALLBACK )
1285 aDropChars.push_back( rArgs.mnLength );
1288 for( rArgs.ResetPos(); rArgs.GetNextRun( &nMin, &nEnd, &bRTL ); )
1300 mnMinCharPos = rArgs.mnMinCharPos;
1301 mnEndCharPos = rArgs.mnEndCharPos;
1308 aScriptState.uBidiLevel = (0 != (rArgs.mnFlags & SAL_LAYOUT_BIDI_RTL));
1309 aScriptState.fOverrideDirection = (0 != (rArgs.mnFlags & SAL_LAYOUT_BIDI_STRONG));
1310 aScriptState.fDigitSubstitute = (0 != (rArgs.mnFlags & SAL_LAYOUT_SUBSTITUTE_DIGITS));
1315 aScriptControl.fContextDigits = (0 != (rArgs.mnFlags & SAL_LAYOUT_SUBSTITUTE_DIGITS));
1320 int nSubStringEnd = rArgs.mnLength;
1324 mnSubStringMin = rArgs.mnMinCharPos - 8;
1327 nSubStringEnd = rArgs.mnEndCharPos + 8;
1328 if( nSubStringEnd > rArgs.mnLength )
1329 nSubStringEnd = rArgs.mnLength;
1338 reinterpret_cast<LPCWSTR>(rArgs.mpStr + mnSubStringMin), nSubStringEnd - mnSubStringMin,
1372 if( rArgs.mnFlags & SAL_LAYOUT_BIDI_STRONG )
1375 if( rArgs.mnFlags & SAL_LAYOUT_BIDI_RTL )
1454 if( (rArgs.mnEndCharPos <= rVisualItem.mnMinCharPos)
1455 || (rArgs.mnMinCharPos >= rVisualItem.mnEndCharPos) )
1463 if( rArgs.mnFlags & SAL_LAYOUT_BIDI_STRONG )
1475 reinterpret_cast<LPCWSTR>(rArgs.mpStr + rVisualItem.mnMinCharPos),
1490 rArgs.NeedFallback( rVisualItem.mnMinCharPos, rVisualItem.mnEndCharPos,
1494 if( 0 != (rArgs.mnFlags & SAL_LAYOUT_FOR_FALLBACK) )
1500 reinterpret_cast<LPCWSTR>(rArgs.mpStr + rVisualItem.mnMinCharPos),
1531 if( nMinCharPos < rArgs.mnMinCharPos )
1532 nMinCharPos = rArgs.mnMinCharPos;
1534 if( nEndCharPos > rArgs.mnEndCharPos )
1535 nEndCharPos = rArgs.mnEndCharPos;
1554 if( rArgs.mpStr[ c ] == 0x2060 )
1557 rArgs.NeedFallback( c, false );
1569 if( rArgs.mpStr[ c ] == 0x2060 )
1572 rArgs.NeedFallback( c, true );
2398 void UniscribeLayout::AdjustLayout( ImplLayoutArgs& rArgs ) argument
2400 SalLayout::AdjustLayout( rArgs );
2403 if( rArgs.mpDXArray )
2404 ApplyDXArray( rArgs );
2405 else if( rArgs.mnLayoutWidth )
2406 Justify( rArgs.mnLayoutWidth );
2411 void UniscribeLayout::ApplyDXArray( const ImplLayoutArgs& rArgs ) argument
2413 const long* pDXArray = rArgs.mpDXArray;
2941 void GraphiteWinLayout::AdjustLayout(ImplLayoutArgs& rArgs) argument
2943 WinLayout::AdjustLayout(rArgs);
2946 if ( (rArgs.mnFlags & SAL_LAYOUT_BIDI_RTL) && rArgs.mpDXArray)
2950 maImpl.AdjustLayout(rArgs);
3021 SalLayout* WinSalGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLevel ) argument
3031 if( !(rArgs.mnFlags & SAL_LAYOUT_COMPLEX_DISABLED)
3049 if( (rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS) && !rFontInstance.HasKernData() )