Lines Matching refs:rSalLayout
3152 long OutputDevice::ImplGetTextWidth( const SalLayout& rSalLayout ) const in ImplGetTextWidth()
3154 long nWidth = rSalLayout.GetTextWidth(); in ImplGetTextWidth()
3155 nWidth /= rSalLayout.GetUnitsPerPixel(); in ImplGetTextWidth()
3221 void OutputDevice::ImplDrawTextBackground( const SalLayout& rSalLayout ) in ImplDrawTextBackground() argument
3223 const long nWidth = rSalLayout.GetTextWidth() / rSalLayout.GetUnitsPerPixel(); in ImplDrawTextBackground()
3224 const Point aBase = rSalLayout.DrawBase(); in ImplDrawTextBackground()
3243 Rectangle OutputDevice::ImplGetTextBoundRect( const SalLayout& rSalLayout ) in ImplGetTextBoundRect() argument
3245 Point aPoint = rSalLayout.GetDrawPosition(); in ImplGetTextBoundRect()
3249 long nWidth = rSalLayout.GetTextWidth(); in ImplGetTextBoundRect()
4155 void OutputDevice::ImplDrawTextLines( SalLayout& rSalLayout, in ImplDrawTextLines() argument
4161 const Point aStartPt = rSalLayout.DrawBase(); in ImplDrawTextLines()
4169 if( !rSalLayout.GetNextGlyphs( 1, &aGlyphId, aPos, nStart, &nAdvance ) ) in ImplDrawTextLines()
4173 if( !rSalLayout.IsSpacingGlyph( aGlyphId ) ) in ImplDrawTextLines()
4208 Point aStartPt = rSalLayout.GetDrawPosition(); in ImplDrawTextLines()
4209 int nWidth = rSalLayout.GetTextWidth() / rSalLayout.GetUnitsPerPixel(); in ImplDrawTextLines()
4437 void OutputDevice::ImplDrawEmphasisMarks( SalLayout& rSalLayout ) in ImplDrawEmphasisMarks() argument
4494 if( !rSalLayout.GetNextGlyphs( 1, &aGlyphId, aOutPoint, nStart ) ) in ImplDrawEmphasisMarks()
4500 if( !rSalLayout.IsSpacingGlyph( aGlyphId ) ) in ImplDrawEmphasisMarks()
4508 ImplDrawEmphasisMark( rSalLayout.DrawBase().X(), in ImplDrawEmphasisMarks()
4522 bool OutputDevice::ImplDrawRotateText( SalLayout& rSalLayout ) in ImplDrawRotateText() argument
4524 int nX = rSalLayout.DrawBase().X(); in ImplDrawRotateText()
4525 int nY = rSalLayout.DrawBase().Y(); in ImplDrawRotateText()
4528 rSalLayout.DrawBase() = Point( 0, 0 ); in ImplDrawRotateText()
4529 rSalLayout.DrawOffset() = Point( 0, 0 ); in ImplDrawRotateText()
4530 if( !rSalLayout.GetBoundRect( *mpGraphics, aBoundRect ) ) in ImplDrawRotateText()
4533 int nRight = rSalLayout.GetTextWidth(); in ImplDrawRotateText()
4561 rSalLayout.DrawBase() -= aBoundRect.TopLeft(); in ImplDrawRotateText()
4562 rSalLayout.DrawText( *((OutputDevice*)pVDev)->mpGraphics ); in ImplDrawRotateText()
4597 void OutputDevice::ImplDrawTextDirect( SalLayout& rSalLayout, sal_Bool bTextLines ) in ImplDrawTextDirect() argument
4600 if( ImplDrawRotateText( rSalLayout ) ) in ImplDrawTextDirect()
4603 long nOldX = rSalLayout.DrawBase().X(); in ImplDrawTextDirect()
4609 long x = rSalLayout.DrawBase().X(); in ImplDrawTextDirect()
4610 rSalLayout.DrawBase().X() = w - 1 - x; in ImplDrawTextDirect()
4616 …rSalLayout.DrawBase().X() = devX + ( pOutDevRef->mnOutWidth - 1 - (rSalLayout.DrawBase().X() - dev… in ImplDrawTextDirect()
4626 …rSalLayout.DrawBase().X() = pOutDevRef->mnOutWidth - 1 - (rSalLayout.DrawBase().X() - devX) + devX; in ImplDrawTextDirect()
4629 rSalLayout.DrawText( *mpGraphics ); in ImplDrawTextDirect()
4632 rSalLayout.DrawBase().X() = nOldX; in ImplDrawTextDirect()
4635 ImplDrawTextLines( rSalLayout, in ImplDrawTextDirect()
4641 ImplDrawEmphasisMarks( rSalLayout ); in ImplDrawTextDirect()
4646 void OutputDevice::ImplDrawSpecialText( SalLayout& rSalLayout ) in ImplDrawSpecialText() argument
4653 Point aOrigPos = rSalLayout.DrawBase(); in ImplDrawSpecialText()
4686 rSalLayout.DrawOffset() += Point( nOff, nOff); in ImplDrawSpecialText()
4687 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4688 rSalLayout.DrawOffset() -= Point( nOff, nOff); in ImplDrawSpecialText()
4694 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4720 rSalLayout.DrawBase() += Point( nOff, nOff ); in ImplDrawSpecialText()
4721 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4722 rSalLayout.DrawBase() -= Point( nOff, nOff ); in ImplDrawSpecialText()
4729 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4734 rSalLayout.DrawBase() = aOrigPos + Point(-1,-1); in ImplDrawSpecialText()
4735 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4736 rSalLayout.DrawBase() = aOrigPos + Point(+1,+1); in ImplDrawSpecialText()
4737 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4738 rSalLayout.DrawBase() = aOrigPos + Point(-1,+0); in ImplDrawSpecialText()
4739 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4740 rSalLayout.DrawBase() = aOrigPos + Point(-1,+1); in ImplDrawSpecialText()
4741 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4742 rSalLayout.DrawBase() = aOrigPos + Point(+0,+1); in ImplDrawSpecialText()
4743 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4744 rSalLayout.DrawBase() = aOrigPos + Point(+0,-1); in ImplDrawSpecialText()
4745 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4746 rSalLayout.DrawBase() = aOrigPos + Point(+1,-1); in ImplDrawSpecialText()
4747 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4748 rSalLayout.DrawBase() = aOrigPos + Point(+1,+0); in ImplDrawSpecialText()
4749 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4750 rSalLayout.DrawBase() = aOrigPos; in ImplDrawSpecialText()
4756 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawSpecialText()
4767 void OutputDevice::ImplDrawText( SalLayout& rSalLayout ) in ImplDrawText() argument
4776 rSalLayout.DrawBase() += Point( mnTextOffX, mnTextOffY ); in ImplDrawText()
4779 ImplDrawTextBackground( rSalLayout ); in ImplDrawText()
4782 ImplDrawSpecialText( rSalLayout ); in ImplDrawText()
4784 ImplDrawTextDirect( rSalLayout, mbTextLines ); in ImplDrawText()