Lines Matching refs:aSize
1004 Size aSize = rRect.GetSize(); in ImplDrawPushButtonContent() local
1018 aSize.Width() -= ( 5 + nSymbolSize ); in ImplDrawPushButtonContent()
1020 ImplDrawAlignedImage( pDev, aPos, aSize, bLayout, nImageSep, in ImplDrawPushButtonContent()
1047 ImplDrawAlignedImage( pDev, aPos, aSize, bLayout, nImageSep, nDrawFlags, in ImplDrawPushButtonContent()
1272 Size aSize( GetSizePixel() ); in ImplSetDefButton() local
1306 aSize.Width() += dLeft + dRight; in ImplSetDefButton()
1307 aSize.Height() += dTop + dBottom; in ImplSetDefButton()
1317 aSize.Width() -= dLeft + dRight; in ImplSetDefButton()
1318 aSize.Height() -= dTop + dBottom; in ImplSetDefButton()
1323 SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), WINDOW_POSSIZE_ALL ); in ImplSetDefButton()
1544 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local
1545 Rectangle aRect( aPos, aSize ); in Draw()
1838 Size aSize; in CalcMinimumSize() local
1843 aSize = Size( 16, 12 ); in CalcMinimumSize()
1845 aSize = Size( 26, 24 ); in CalcMinimumSize()
1847 aSize.Width() += 4; in CalcMinimumSize()
1850 aSize = GetModeImage().GetSizePixel(); in CalcMinimumSize()
1856 aSize.Width() += int( textSize.Width () * 1.15 ); in CalcMinimumSize()
1857 aSize.Height() = std::max( aSize.Height(), long( textSize.Height() * 1.15 ) ); in CalcMinimumSize()
1863 aSize.Width() += 8; in CalcMinimumSize()
1864 aSize.Height() += 8; in CalcMinimumSize()
1867 return CalcWindowSize( aSize ); in CalcMinimumSize()
2312 Size aSize( rSize ); in ImplDraw() local
2315 aSize.Width() -= rImageSize.Width() + nImageSep; in ImplDraw()
2324 aSize.Height() = rImageSize.Height(); in ImplDraw()
2327 ImplDrawAlignedImage( pDev, aPos, aSize, bLayout, 1, in ImplDraw()
2330 rMouseRect = Rectangle( aPos, aSize ); in ImplDraw()
2336 if ( aSize.Height() > rImageSize.Height() ) in ImplDraw()
2337 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
2340 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
2739 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local
2773 ImplDraw( pDev, nFlags, aPos, aSize, in Draw()
3033 Size aSize; in ImplGetRadioImageSize() local
3050 aSize = aContentRgn.GetSize(); in ImplGetRadioImageSize()
3055 aSize = GetRadioImage( GetSettings(), 0 ).GetSizePixel(); in ImplGetRadioImageSize()
3056 return aSize; in ImplGetRadioImageSize()
3173 Size aSize = aContentRgn.GetSize(); in ImplSetMinimumNWFSize() local
3175 if( aSize.Height() > aCurSize.Height() ) in ImplSetMinimumNWFSize()
3177 aCurSize.Height() = aSize.Height(); in ImplSetMinimumNWFSize()
3189 Size aSize; in CalcMinimumSize() local
3191 aSize = ImplGetRadioImageSize(); in CalcMinimumSize()
3193 aSize = maImage.GetSizePixel(); in CalcMinimumSize()
3195 nMaxWidth -= aSize.Width(); in CalcMinimumSize()
3206 aSize.Width()+=2; // for focus rect in CalcMinimumSize()
3207 aSize.Width() += ImplGetImageToTextDistance(); in CalcMinimumSize()
3208 aSize.Width() += aTextSize.Width(); in CalcMinimumSize()
3209 if ( aSize.Height() < aTextSize.Height() ) in CalcMinimumSize()
3210 aSize.Height() = aTextSize.Height(); in CalcMinimumSize()
3220 return CalcWindowSize( aSize ); in CalcMinimumSize()
3408 Size aSize( rSize ); in ImplDraw() local
3411 aSize.Width() -= rImageSize.Width() + nImageSep; in ImplDraw()
3420 aSize.Height() = rImageSize.Height(); in ImplDraw()
3423 ImplDrawAlignedImage( pDev, aPos, aSize, bLayout, 1, in ImplDraw()
3425 nLineY = aPos.Y() + aSize.Height()/2; in ImplDraw()
3427 rMouseRect = Rectangle( aPos, aSize ); in ImplDraw()
3432 if ( aSize.Height() > rImageSize.Height() ) in ImplDraw()
3433 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
3436 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
3683 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local
3719 ImplDraw( pDev, nFlags, aPos, aSize, in Draw()
3794 Size aSize( GetSizePixel() ); in GetFocus() local
3796 aSize.Height() += 2; in GetFocus()
3797 aSize.Width() += 2; in GetFocus()
3798 SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), WINDOW_POSSIZE_ALL ); in GetFocus()
3826 Size aSize( GetSizePixel() ); in LoseFocus() local
3828 aSize.Height() -= 2; in LoseFocus()
3829 aSize.Width() -= 2; in LoseFocus()
3830 SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), WINDOW_POSSIZE_ALL ); in LoseFocus()
3977 Size aSize; in ImplGetCheckImageSize() local
3994 aSize = aContentRgn.GetSize(); in ImplGetCheckImageSize()
3999 aSize = GetCheckImage( GetSettings(), 0 ).GetSizePixel(); in ImplGetCheckImageSize()
4000 return aSize; in ImplGetCheckImageSize()
4082 Size aSize = aContentRgn.GetSize(); in ImplSetMinimumNWFSize() local
4084 if( aSize.Height() > aCurSize.Height() ) in ImplSetMinimumNWFSize()
4086 aCurSize.Height() = aSize.Height(); in ImplSetMinimumNWFSize()
4098 Size aSize = ImplGetCheckImageSize(); in CalcMinimumSize() local
4099 nMaxWidth -= aSize.Width(); in CalcMinimumSize()
4110 aSize.Width()+=2; // for focus rect in CalcMinimumSize()
4111 aSize.Width() += ImplGetImageToTextDistance(); in CalcMinimumSize()
4112 aSize.Width() += aTextSize.Width(); in CalcMinimumSize()
4113 if ( aSize.Height() < aTextSize.Height() ) in CalcMinimumSize()
4114 aSize.Height() = aTextSize.Height(); in CalcMinimumSize()
4126 return CalcWindowSize( aSize ); in CalcMinimumSize()
4320 Size aSize( aStateRect.GetSize() ); in ImplDrawCheckBoxState() local
4322 Point aOff( (aSize.Width() - aImgSize.Width())/2, in ImplDrawCheckBoxState()
4323 (aSize.Height() - aImgSize.Height())/2 ); in ImplDrawCheckBoxState()