| /trunk/main/cui/source/dialogs/ |
| H A D | cuigrfflt.cxx | 334 const Size aGrfSize( LogicToPixel( maGraphic.GetPrefSize(), maGraphic.GetPrefMapMode() ) ); in Paint() local 336 const Point aGrfPos( ( aOutSize.Width() - aGrfSize.Width() ) >> 1, in Paint() 337 ( aOutSize.Height() - aGrfSize.Height() ) >> 1 ); in Paint() 340 maGraphic.StartAnimation( this , aGrfPos, aGrfSize ); in Paint() 342 maGraphic.Draw( this, aGrfPos, aGrfSize ); in Paint() 374 Size aGrfSize( maSizePixel ); in GraphicFilterDialog() local 378 aGrfSize.Width() && aGrfSize.Height() ) in GraphicFilterDialog() 380 const double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in GraphicFilterDialog() 385 aGrfSize.Width() = (long) ( aPreviewSize.Height() * fGrfWH ); in GraphicFilterDialog() 386 aGrfSize.Height()= aPreviewSize.Height(); in GraphicFilterDialog() [all …]
|
| /trunk/main/sd/source/filter/grf/ |
| H A D | sdgrffilter.cxx | 226 Size aGrfSize( OutputDevice::LogicToLogic( aGraphic.GetPrefSize(), in Import() local 233 … if ( ( ( aGrfSize.Height() > aPagSize.Height() ) || ( aGrfSize.Width() > aPagSize.Width() ) ) && in Import() 234 aGrfSize.Height() && aPagSize.Height() ) in Import() 236 double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in Import() 242 aGrfSize.Width() = (long) ( aPagSize.Height() * fGrfWH ); in Import() 243 aGrfSize.Height() = aPagSize.Height(); in Import() 247 aGrfSize.Width() = aPagSize.Width(); in Import() 248 aGrfSize.Height()= (long) ( aPagSize.Width() / fGrfWH ); in Import() 253 aPos.X() = ( ( aPagSize.Width() - aGrfSize.Width() ) >> 1 ) + pPage->GetLftBorder(); in Import() 254 aPos.Y() = ( ( aPagSize.Height() - aGrfSize.Height() ) >> 1 ) + pPage->GetUppBorder(); in Import() [all …]
|
| /trunk/main/sw/source/ui/wrtsh/ |
| H A D | wrtsh1.cxx | 345 Size aGrfSize, aBound = GetGraphicDefaultSize(); in Insert() local 346 GetGrfSize( aGrfSize ); in Insert() 350 aGrfSize.Width() += pFrmMgr->CalcWidthBorder(); in Insert() 351 aGrfSize.Height()+= pFrmMgr->CalcHeightBorder(); in Insert() 353 const BigInt aTempWidth( aGrfSize.Width() ); in Insert() 354 const BigInt aTempHeight( aGrfSize.Height()); in Insert() 357 if( aGrfSize.Width() > aBound.Width() ) in Insert() 359 aGrfSize.Width() = aBound.Width(); in Insert() 360 aGrfSize.Height() = ((BigInt)aBound.Width()) * aTempHeight / aTempWidth; in Insert() 363 if( aGrfSize.Height() > aBound.Height() ) in Insert() [all …]
|
| /trunk/main/sd/source/ui/slideshow/ |
| H A D | showwin.cxx | 575 Size aGrfSize; in DrawPauseScene() local 578 aGrfSize = PixelToLogic( maLogo.GetPrefSize() ); in DrawPauseScene() 580 aGrfSize = LogicToLogic( maLogo.GetPrefSize(), maLogo.GetPrefMapMode(), rMap ); in DrawPauseScene() 582 …const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOu… in DrawPauseScene() 583 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene() 586 maLogo.StartAnimation( this, aGrfPos, aGrfSize, (long) this ); in DrawPauseScene() 588 maLogo.Draw( this, aGrfPos, aGrfSize ); in DrawPauseScene()
|
| /trunk/main/sw/source/ui/misc/ |
| H A D | insrule.cxx | 156 Size aGrfSize = aGraphic.GetPrefSize(); in UserDraw() local 157 if(aGrfSize.Width() && aGrfSize.Height()) in UserDraw() 159 int nRelGrf = aGrfSize.Height() * 100 / aGrfSize.Width(); in UserDraw()
|
| /trunk/main/sw/source/ui/frmdlg/ |
| H A D | frmpage.cxx | 876 aGrfSize = ((const SvxSizeItem*)pItem)->GetSize(); in Reset() 878 pSh->GetGrfSize( aGrfSize ); in Reset() 901 aGrfSize = ((const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE)).GetSize(); in Reset() 905 aWidthED. SetBaseValue( aWidthED.Normalize(aGrfSize.Width()), FUNIT_TWIP ); in Reset() 906 aHeightED.SetBaseValue( aHeightED.Normalize(aGrfSize.Height()), FUNIT_TWIP ); in Reset() 2084 aWidthED.SetUserValue( aWidthED. NormalizePercent(aGrfSize.Width() ), FUNIT_TWIP); in IMPL_LINK_INLINE_START() 2085 aHeightED.SetUserValue(aHeightED.NormalizePercent(aGrfSize.Height()), FUNIT_TWIP); in IMPL_LINK_INLINE_START() 2086 …fWidthHeightRatio = aGrfSize.Height() ? double(aGrfSize.Width()) / double(aGrfSize.Height()) : 1.0; in IMPL_LINK_INLINE_START() 2706 Size aGrfSize; in Paint() local 2708 aGrfSize = ::GetGraphicSizeTwip(aGraphic, this); in Paint() [all …]
|
| /trunk/main/sc/source/ui/view/ |
| H A D | printfun.cxx | 1123 Size aGrfSize(0,0); in lcl_DrawGraphic() local 1130 aGrfSize = pRefDev->PixelToLogic( pGraphic->GetPrefSize(), aMapMM ); in lcl_DrawGraphic() 1132 aGrfSize = OutputDevice::LogicToLogic( pGraphic->GetPrefSize(), in lcl_DrawGraphic() 1140 Size aDrawSize = aGrfSize; in lcl_DrawGraphic() 1149 aPos.X() = rOrg.Left() + rOrg.GetSize().Width()/2 - aGrfSize.Width()/2; in lcl_DrawGraphic() 1152 aPos.X() = rOrg.Right() - aGrfSize.Width(); in lcl_DrawGraphic() 1155 case GPOS_LM: aPos.Y() = rOrg.Top() + rOrg.GetSize().Height()/2 - aGrfSize.Height()/2; in lcl_DrawGraphic() 1158 case GPOS_MM: aPos.Y() = rOrg.Top() + rOrg.GetSize().Height()/2 - aGrfSize.Height()/2; in lcl_DrawGraphic() 1159 aPos.X() = rOrg.Left() + rOrg.GetSize().Width()/2 - aGrfSize.Width()/2; in lcl_DrawGraphic() 1161 case GPOS_RM: aPos.Y() = rOrg.Top() + rOrg.GetSize().Height()/2 - aGrfSize.Height()/2; in lcl_DrawGraphic() [all …]
|
| /trunk/main/sw/source/core/layout/ |
| H A D | paintfrm.cxx | 1732 Size aGrfSize; in DrawGraphic() local 1757 aGrfSize = ::GetGraphicSizeTwip( *pGrf, 0 ); in DrawGraphic() 1765 aGrf.SSize( aGrfSize ); in DrawGraphic() 1776 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic() 1781 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic() 1785 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic() 1790 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic() 1791 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic() 1795 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic() 1796 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic() [all …]
|
| H A D | fly.cxx | 2770 const Size aGrfSize( pGrfObj->GetPrefSize() ); in GetContour() local 2778 aOrgSize = pOutDev->PixelToLogic( aGrfSize, aDispMap ); in GetContour() 2780 aOrgSize = pOutDev->LogicToLogic( aGrfSize, aGrfMap, aDispMap ); in GetContour()
|
| /trunk/main/svx/source/dialog/ |
| H A D | _contdlg.cxx | 285 const Size aGrfSize( rGraphic.GetPrefSize() ); in ScaleContour() local 293 aOrgSize = pOutDev->PixelToLogic( aGrfSize, aDispMap ); in ScaleContour() 295 aOrgSize = pOutDev->LogicToLogic( aGrfSize, aGrfMap, aDispMap ); in ScaleContour()
|
| /trunk/main/sw/source/ui/inc/ |
| H A D | frmpage.hxx | 115 Size aGrfSize; member in SwFrmPage
|