Home
last modified time | relevance | path

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

/trunk/main/cui/source/dialogs/
H A Dcuigrfflt.cxx337 ( 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()
386 aGrfSize.Height()= aPreviewSize.Height(); in GraphicFilterDialog()
390 aGrfSize.Width() = aPreviewSize.Width(); in GraphicFilterDialog()
391 aGrfSize.Height()= (long) ( aPreviewSize.Width() / fGrfWH); in GraphicFilterDialog()
394 mfScaleX = (double) aGrfSize.Width() / maSizePixel.Width(); in GraphicFilterDialog()
[all …]
/trunk/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 …]
/trunk/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()
365 if( aGrfSize.Height() > aBound.Height() ) in Insert()
367 aGrfSize.Height() = aBound.Height(); in Insert()
[all …]
/trunk/main/sd/source/ui/slideshow/
H A Dshowwin.cxx579 Size aGrfSize; in DrawPauseScene() local
582 aGrfSize = PixelToLogic( maLogo.GetPrefSize() ); in DrawPauseScene()
584 aGrfSize = LogicToLogic( maLogo.GetPrefSize(), maLogo.GetPrefMapMode(), rMap ); in DrawPauseScene()
586 …const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOu… in DrawPauseScene()
587 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene()
590 maLogo.StartAnimation( this, aGrfPos, aGrfSize, (long) this ); in DrawPauseScene()
592 maLogo.Draw( this, aGrfPos, aGrfSize ); in DrawPauseScene()
/trunk/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()
/trunk/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()
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()
2710 if(!aGrfSize.Width() && !aGrfSize.Height()) in Paint()
2711 aGrfSize = PixelToLogic(aBmp.GetSizePixel()); in Paint()
2713 long nRelGrf = aGrfSize.Width() * 100L / aGrfSize.Height(); in Paint()
2755 Size aGrfSize = ::GetGraphicSizeTwip(aGraphic, this); in SetGraphic() local
[all …]
/trunk/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()
1162 aPos.X() = rOrg.Right() - aGrfSize.Width(); in lcl_DrawGraphic()
1165 case GPOS_LB: aPos.Y() = rOrg.Bottom() - aGrfSize.Height(); in lcl_DrawGraphic()
1168 case GPOS_MB: aPos.Y() = rOrg.Bottom() - aGrfSize.Height(); in lcl_DrawGraphic()
1171 case GPOS_RB: aPos.Y() = rOrg.Bottom() - aGrfSize.Height(); in lcl_DrawGraphic()
[all …]
/trunk/main/sw/source/core/layout/
H A Dpaintfrm.cxx1740 Size aGrfSize; in DrawGraphic() local
1765 aGrfSize = ::GetGraphicSizeTwip( *pGrf, 0 ); in DrawGraphic()
1773 aGrf.SSize( aGrfSize ); in DrawGraphic()
1784 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic()
1789 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic()
1799 aGrf.Pos().X() = rOrg.Left() + rOrg.Width()/2 - aGrfSize.Width()/2; in DrawGraphic()
1804 aGrf.Pos().X() = rOrg.Right() - aGrfSize.Width(); in DrawGraphic()
1808 aGrf.Pos().Y() = rOrg.Bottom() - aGrfSize.Height(); in DrawGraphic()
1813 aGrf.Pos().Y() = rOrg.Bottom() - aGrfSize.Height(); in DrawGraphic()
1818 aGrf.Pos().Y() = rOrg.Bottom() - aGrfSize.Height(); in DrawGraphic()
[all …]
H A Dfly.cxx2770 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.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()
/trunk/main/sw/source/ui/inc/
H A Dfrmpage.hxx115 Size aGrfSize; member in SwFrmPage

Completed in 145 milliseconds