Home
last modified time | relevance | path

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

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/graphic/
H A DGraphicObject.cxx361 Size aSize100; in ImplGetCropParams() local
379 aSize100 = pOut->LogicToLogic( maGraphic.GetPrefSize(), &m, &aMap100 ); in ImplGetCropParams()
382 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams()
383 nTotalHeight = aSize100.Height() - pAttr->GetTopCrop() - pAttr->GetBottomCrop(); in ImplGetCropParams()
385 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
387 double fScale = static_cast<double>(aSize100.Width()) / nTotalWidth; in ImplGetCropParams()
389 const long nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
391 fScale = static_cast<double>(rSz.Width()) / aSize100.Width(); in ImplGetCropParams()
395 fScale = static_cast<double>(aSize100.Height()) / nTotalHeight; in ImplGetCropParams()
397 const long nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/graphic/
H A DGraphicObject.cxx359 Size aSize100; in ImplGetCropParams() local
377 aSize100 = rOut.LogicToLogic( maGraphic.GetPrefSize(), &m, &aMap100 ); in ImplGetCropParams()
380 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams()
381 nTotalHeight = aSize100.Height() - pAttr->GetTopCrop() - pAttr->GetBottomCrop(); in ImplGetCropParams()
383 if( !aSize100.IsEmpty() && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
385 double fScale = static_cast<double>(aSize100.Width()) / nTotalWidth; in ImplGetCropParams()
387 const tools::Long nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
389 fScale = static_cast<double>(rSz.Width()) / aSize100.Width(); in ImplGetCropParams()
393 fScale = static_cast<double>(aSize100.Height()) / nTotalHeight; in ImplGetCropParams()
395 const tools::Long nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/egif/
H A Degif.cxx102 Size aSize100; in WriteGIF() local
107aSize100 = OutputDevice::LogicToLogic(rGraphic.GetPrefSize(), aMap, MapMode(MapUnit::Map100thMM)); in WriteGIF()
161 WriteLogSizeExtension( aSize100 ); in WriteGIF()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/egif/
H A Degif.cxx103 Size aSize100; in WriteGIF() local
108aSize100 = OutputDevice::LogicToLogic(rGraphic.GetPrefSize(), aMap, MapMode(MapUnit::Map100thMM)); in WriteGIF()
162 WriteLogSizeExtension( aSize100 ); in WriteGIF()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/view/
H A Dgridwin4.cxx1501 … Size aSize100( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview() local
1504 … long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1505 … long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
1522 … Size aSize100(rRenderContext.GetTextWidth( aThisPageStr ), rRenderContext.GetTextHeight() ); in DrawPagePreview() local
1525 … long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1526 … long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/view/
H A Dgridwin4.cxx1811 … Size aSize100( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview() local
1814 … tools::Long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1815 … tools::Long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
1832 … Size aSize100(rRenderContext.GetTextWidth( aThisPageStr ), rRenderContext.GetTextHeight() ); in DrawPagePreview() local
1835 … tools::Long nSizeX = 40 * ( aPageEnd.X() - aPageStart.X() ) / aSize100.Width(); in DrawPagePreview()
1836 … tools::Long nSizeY = 60 * ( aPageEnd.Y() - aPageStart.Y() ) / aSize100.Height(); in DrawPagePreview()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/emfio/source/reader/
H A Dwmfreader.cxx1337 …Size aSize100(OutputDevice::LogicToLogic(aWMFSize, aWMFMap, MapMode(MapUnit::Map100thMM… in ReadHeader() local
1338 aDevExt = Size( labs( aSize100.Width() ), labs( aSize100.Height() ) ); in ReadHeader()
/dports/editors/libreoffice/libreoffice-7.2.6.2/emfio/source/reader/
H A Dwmfreader.cxx1496 …Size aSize100(OutputDevice::LogicToLogic(aWMFSize, aWMFMap, MapMode(MapUnit::Map100thMM… in ReadHeader() local
1497 aDevExt = Size( std::abs( aSize100.Width() ), std::abs( aSize100.Height() ) ); in ReadHeader()