Lines Matching refs:aPrimaryRect
146 Rectangle aPrimaryRect = _rDevice.GetTextRect( _rRect, m_sPrimaryText, _nTextStyle ); in Paint() local
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()
163 aPrimaryRect.Move( aPlaygroundSize.Width() - nCombinedWidth, 0 ); in Paint()
169 aPrimaryRect.Move( ( aPlaygroundSize.Width() - nCombinedWidth ) / 2, 0 ); in Paint()
174 sal_Int32 nCombinedHeight = aPrimaryRect.GetHeight() + aSecondaryRect.GetHeight(); in Paint()
176 aPrimaryRect.Move( 0, _rRect.Top() - aPrimaryRect.Top() ); in Paint()
177 aSecondaryRect.Move( 0, aPrimaryRect.Top() + aPrimaryRect.GetHeight() - aSecondaryRect.Top() ); in Paint()
181 aPrimaryRect.Move( 0, aPlaygroundSize.Height() - nCombinedHeight ); in Paint()
187 aPrimaryRect.Move( 0, ( aPlaygroundSize.Height() - nCombinedHeight ) / 2 ); in Paint()
195 sal_Int32 nVertDistance = aSecondaryRect.Top() - aPrimaryRect.Top(); in Paint()
197 aPrimaryRect.Move( 0, nCombinedHeight - nVertDistance ); in Paint()
207 _rDevice.DrawText( aPrimaryRect, m_sPrimaryText, nDrawTextStyle, pTextMetrics, pDisplayText ); in Paint()
215 *_pPrimaryLocation = aPrimaryRect; in Paint()