Home
last modified time | relevance | path

Searched refs:aGrfSize (Results 1 – 11 of 11) sorted by relevance

/AOO41X/main/cui/source/dialogs/
H A Dcuigrfflt.cxx334 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 …]
/AOO41X/main/sd/source/filter/grf/
H A Dsdgrffilter.cxx226 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 …]
/AOO41X/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx347 Size aGrfSize, aBound = GetGraphicDefaultSize(); in Insert() local
348 GetGrfSize( aGrfSize ); in Insert()
352 aGrfSize.Width() += pFrmMgr->CalcWidthBorder(); in Insert()
353 aGrfSize.Height()+= pFrmMgr->CalcHeightBorder(); in Insert()
355 const BigInt aTempWidth( aGrfSize.Width() ); in Insert()
356 const BigInt aTempHeight( aGrfSize.Height()); in Insert()
359 if( aGrfSize.Width() > aBound.Width() ) in Insert()
361 aGrfSize.Width() = aBound.Width(); in Insert()
362 aGrfSize.Height() = ((BigInt)aBound.Width()) * aTempHeight / aTempWidth; in Insert()
365 if( aGrfSize.Height() > aBound.Height() ) in Insert()
[all …]
/AOO41X/main/sd/source/ui/slideshow/
H A Dshowwin.cxx591 Size aGrfSize; in DrawPauseScene() local
594 aGrfSize = PixelToLogic( maLogo.GetPrefSize() ); in DrawPauseScene()
596 aGrfSize = LogicToLogic( maLogo.GetPrefSize(), maLogo.GetPrefMapMode(), rMap ); in DrawPauseScene()
598 …const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOu… in DrawPauseScene()
599 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene()
602 maLogo.StartAnimation( this, aGrfPos, aGrfSize, (long) this ); in DrawPauseScene()
604 maLogo.Draw( this, aGrfPos, aGrfSize ); in DrawPauseScene()
/AOO41X/main/sw/source/ui/misc/
H A Dinsrule.cxx156 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()
/AOO41X/main/sw/source/ui/frmdlg/
H A Dfrmpage.cxx876 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 …]
/AOO41X/main/sc/source/ui/view/
H A Dprintfun.cxx1123 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 …]
/AOO41X/main/sw/source/core/layout/
H A Dpaintfrm.cxx1649 Size aGrfSize; in DrawGraphic() local
1674 aGrfSize = ::GetGraphicSizeTwip( *pGrf, 0 ); in DrawGraphic()
1682 aGrf.SSize( aGrfSize ); in DrawGraphic()
1693 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic()
1698 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic()
1702 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic()
1707 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic()
1708 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic()
1712 aGrf.Pos().Y() = rOrg.Top() + rOrg.Height()/2 - aGrfSize.Height()/2; in DrawGraphic()
1713 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic()
[all …]
H A Dfly.cxx2790 const Size aGrfSize( pGrfObj->GetPrefSize() ); in GetContour() local
2798 aOrgSize = pOutDev->PixelToLogic( aGrfSize, aDispMap ); in GetContour()
2800 aOrgSize = pOutDev->LogicToLogic( aGrfSize, aGrfMap, aDispMap ); in GetContour()
/AOO41X/main/svx/source/dialog/
H A D_contdlg.cxx285 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()
/AOO41X/main/sw/source/ui/inc/
H A Dfrmpage.hxx115 Size aGrfSize; member in SwFrmPage