Lines Matching refs:rArgs
233 bool Os2SalLayout::LayoutText( ImplLayoutArgs& rArgs ) argument
237 mbDisableGlyphs |= ((rArgs.mnFlags & SAL_LAYOUT_DISABLE_GLYPH_PROCESSING) != 0);
238 mnCharCount = rArgs.mnEndCharPos - rArgs.mnMinCharPos;
244 if( rArgs.mnFlags & SAL_LAYOUT_VERTICAL )
253 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
258 rArgs.mnFlags &= ~SAL_LAYOUT_KERNING_ASIAN;
266 bool bVertical = (rArgs.mnFlags & SAL_LAYOUT_VERTICAL) != 0;
269 rArgs.ResetPos();
271 while( rArgs.GetNextRun( &i, &j, &bHasRTL ) && !bHasRTL )
283 const sal_Unicode* pBidiStr = rArgs.mpStr + rArgs.mnMinCharPos;
301 rArgs.ResetPos();
303 while( rArgs.GetNextRun( &i, &j, &bIsRTL ) )
309 sal_Unicode cChar = rArgs.mpStr[ nCharPos ];
330 mpChars2Glyphs[ nCharPos - rArgs.mnMinCharPos ] = mnGlyphCount;
339 if( rArgs.mnFlags & (SAL_LAYOUT_KERNING_PAIRS | SAL_LAYOUT_KERNING_ASIAN) )
345 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS )
392 int nCharPos = mpGlyphs2Chars ? mpGlyphs2Chars[i]: i + rArgs.mnMinCharPos;
393 rArgs.NeedFallback( nCharPos, bRTL );
395 rArgs.NeedFallback( nCharPos+1, bRTL );
397 if( rArgs.mnFlags & SAL_LAYOUT_FOR_FALLBACK )
413 if (Ft2QueryStringWidthW( mhPS, (LPWSTR)&rArgs.mpStr[ nCharPos ], 1, &aExtent))
430 if( rArgs.mnFlags & (SAL_LAYOUT_KERNING_ASIAN|SAL_LAYOUT_KERNING_PAIRS) )
434 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
436 if( !(rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS) )
443 if( rArgs.mnMinCharPos + nLen < rArgs.mnLength )
448 if( rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS )
454 else if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
484 int j = mpGlyphs2Chars[ i ] - rArgs.mnMinCharPos;
748 void Os2SalLayout::AdjustLayout( ImplLayoutArgs& rArgs ) argument
750 SalLayout::AdjustLayout( rArgs );
753 if( rArgs.mpDXArray )
754 ApplyDXArray( rArgs );
755 else if( rArgs.mnLayoutWidth )
756 Justify( rArgs.mnLayoutWidth );
777 int j = mpGlyphs2Chars[ i ] - rArgs.mnMinCharPos;
787 void Os2SalLayout::ApplyDXArray( const ImplLayoutArgs& rArgs ) argument
790 const long* pDXArray = rArgs.mpDXArray;
949 SalLayout* Os2SalGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLevel ) argument
959 if( (rArgs.mnFlags & SAL_LAYOUT_KERNING_PAIRS) && !rFontInstance.HasKernData() )