Home
last modified time | relevance | path

Searched refs:aSize100 (Results 1 – 4 of 4) sorted by relevance

/aoo42x/main/svtools/source/graphic/
H A Dgrfmgr.cxx330 Size aSize100; in ImplGetCropParams() local
356 aSize100 = pOut->LogicToLogic( maGraphic.GetPrefSize(), &m, &aMap100 ); in ImplGetCropParams()
360 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams()
361 nTotalHeight = aSize100.Height() - pAttr->GetTopCrop() - pAttr->GetBottomCrop(); in ImplGetCropParams()
363 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
365 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
373 fScale = (double) aSize100.Height() / nTotalHeight; in ImplGetCropParams()
375 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
[all …]
/aoo42x/main/filter/source/graphicfilter/egif/
H A Degif.cxx98 Size aSize100; in WriteGIF() local
103aSize100 = Application::GetDefaultDevice()->LogicToLogic( rGraphic.GetPrefSize(), aMap, MAP_100TH_… in WriteGIF()
163 WriteLogSizeExtension( aSize100 ); in WriteGIF()
/aoo42x/main/sc/source/ui/view/
H A Dgridwin4.cxx1156 Size aSize100( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview() local
1159 long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1160 long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
1177 Size aSize100( pContentDev->GetTextWidth( aPageStr ), pContentDev->GetTextHeight() ); in DrawPagePreview() local
1180 long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1181 long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
/aoo42x/main/svtools/source/filter/wmf/
H A Dwinwmf.cxx1055 Size aSize100( OutputDevice::LogicToLogic( aWMFSize, aWMFMap, MAP_100TH_MM ) ); in ReadHeader() local
1056 aDevExt = Size( labs( aSize100.Width() ), labs( aSize100.Height() ) ); in ReadHeader()

Completed in 38 milliseconds