Lines Matching refs:aScaledSize
170 Size aScaledSize; in Resize() local
181 … aScaledSize = Size( aNewSize.Width(), aNewSize.Width() * aOrigSize.Height() / aOrigSize.Width() ); in Resize()
182 if( aScaledSize.Height() > aNewSize.Height() ) in Resize()
183 fScale = double(aNewSize.Height())/double(aScaledSize.Height()); in Resize()
187 …aScaledSize = Size( aNewSize.Height() * aOrigSize.Width() / aOrigSize.Height(), aNewSize.Height() … in Resize()
188 if( aScaledSize.Width() > aNewSize.Width() ) in Resize()
189 fScale = double(aNewSize.Width())/double(aScaledSize.Width()); in Resize()
191 aScaledSize.Width() = long(aScaledSize.Width()*fScale); in Resize()
192 aScaledSize.Height() = long(aScaledSize.Height()*fScale); in Resize()
194 maPreviewSize = aScaledSize; in Resize()
201 Size aPreviewMMSize( maPageVDev.PixelToLogic( aScaledSize, MapMode( MAP_100TH_MM ) ) ); in Resize()
205 aScaledSize.Width() *= 2; in Resize()
206 aScaledSize.Height() *= 2; in Resize()
210 maPageVDev.SetOutputSizePixel( aScaledSize, sal_False ); in Resize()