Lines Matching refs:aSecondaryRect
147 Rectangle aSecondaryRect; in Paint() local
150 aSecondaryRect = _rDevice.GetTextRect( _rRect, m_sSecondaryText, _nTextStyle ); in Paint()
155 sal_Int32 nCombinedWidth = ::std::max( aSecondaryRect.GetWidth(), aPrimaryRect.GetWidth() ); in Paint()
158 aPrimaryRect.Left() = aSecondaryRect.Left() = _rRect.Left(); in Paint()
159 aPrimaryRect.Right() = aSecondaryRect.Right() = _rRect.Left() + nCombinedWidth; in Paint()
164 aSecondaryRect.Move( aPlaygroundSize.Width() - nCombinedWidth, 0 ); in Paint()
170 aSecondaryRect.Move( ( aPlaygroundSize.Width() - nCombinedWidth ) / 2, 0 ); in Paint()
174 sal_Int32 nCombinedHeight = aPrimaryRect.GetHeight() + aSecondaryRect.GetHeight(); in Paint()
177 aSecondaryRect.Move( 0, aPrimaryRect.Top() + aPrimaryRect.GetHeight() - aSecondaryRect.Top() ); in Paint()
182 aSecondaryRect.Move( 0, aPlaygroundSize.Height() - nCombinedHeight ); in Paint()
188 aSecondaryRect.Move( 0, ( aPlaygroundSize.Height() - nCombinedHeight ) / 2 ); in Paint()
195 sal_Int32 nVertDistance = aSecondaryRect.Top() - aPrimaryRect.Top(); in Paint()
196 aSecondaryRect.Move( 0, -nVertDistance ); in Paint()
210 … _rDevice.DrawText( aSecondaryRect, m_sSecondaryText, nDrawTextStyle, pTextMetrics, pDisplayText ); in Paint()
217 *_pSecondaryLocation = aSecondaryRect; in Paint()