/trunk/main/avmedia/source/xine/ |
H A D | window.cxx | 197 aPrefSize.Width >>= 2; in implLayoutVideoWindow() 198 aPrefSize.Height >>= 2; in implLayoutVideoWindow() 203 aPrefSize.Width >>= 1; in implLayoutVideoWindow() 204 aPrefSize.Height >>= 1; in implLayoutVideoWindow() 209 aPrefSize.Width <<= 1; in implLayoutVideoWindow() 210 aPrefSize.Height <<= 1; in implLayoutVideoWindow() 215 aPrefSize.Width <<= 2; in implLayoutVideoWindow() 216 aPrefSize.Height <<= 2; in implLayoutVideoWindow() 228 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow() 240 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in implLayoutVideoWindow() [all …]
|
/trunk/main/avmedia/source/gstreamer/ |
H A D | gstwindow.cxx | 172 aPrefSize.Width >>= 2; in implLayoutVideoWindow() 173 aPrefSize.Height >>= 2; in implLayoutVideoWindow() 178 aPrefSize.Width >>= 1; in implLayoutVideoWindow() 179 aPrefSize.Height >>= 1; in implLayoutVideoWindow() 184 aPrefSize.Width <<= 1; in implLayoutVideoWindow() 185 aPrefSize.Height <<= 1; in implLayoutVideoWindow() 190 aPrefSize.Width <<= 2; in implLayoutVideoWindow() 191 aPrefSize.Height <<= 2; in implLayoutVideoWindow() 203 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow() 215 … if( ( aPrefSize.Width > 0 ) && ( aPrefSize.Height > 0 ) && ( nVideoW > 0 ) && ( nVideoH > 0 ) ) in implLayoutVideoWindow() [all …]
|
H A D | gstplayer.cxx | 574 const awt::Size aPrefSize( getPreferredPlayerWindowSize() ); in createFrameGrabber() local 576 if( ( aPrefSize.Width > 0 ) && ( aPrefSize.Height > 0 ) ) in createFrameGrabber()
|
/trunk/main/avmedia/source/win/ |
H A D | window.cxx | 241 aPrefSize.Width >>= 2; in ImplLayoutVideoWindow() 242 aPrefSize.Height >>= 2; in ImplLayoutVideoWindow() 247 aPrefSize.Width >>= 1; in ImplLayoutVideoWindow() 248 aPrefSize.Height >>= 1; in ImplLayoutVideoWindow() 253 aPrefSize.Width <<= 1; in ImplLayoutVideoWindow() 254 aPrefSize.Height <<= 1; in ImplLayoutVideoWindow() 259 aPrefSize.Width <<= 2; in ImplLayoutVideoWindow() 260 aPrefSize.Height <<= 2; in ImplLayoutVideoWindow() 272 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in ImplLayoutVideoWindow() 284 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in ImplLayoutVideoWindow() [all …]
|
/trunk/main/svx/source/sdr/contact/ |
H A D | viewcontactofgraphic.cxx | 117 Size aPrefSize(GetGrafObject().GetGrafPrefSize()); in createVIP2DSForPresObj() local 121 aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aPrefSize, MAP_100TH_MM); in createVIP2DSForPresObj() 125 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, GetGrafObject().GetGrafPrefMa… in createVIP2DSForPresObj() 133 const double fOffsetX((aScale.getX() - aPrefSize.getWidth()) / 2.0); in createVIP2DSForPresObj() 134 const double fOffsetY((aScale.getY() - aPrefSize.getHeight()) / 2.0); in createVIP2DSForPresObj() 140 …lerMatrix = basegfx::tools::createScaleTranslateB2DHomMatrix(aPrefSize.getWidth(), aPrefSize.getHe… in createVIP2DSForPresObj() 209 Size aPrefSize(aDraftBitmap.GetPrefSize()); in createVIP2DSForDraft() local 213 …aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aDraftBitmap.GetSizePixel(), MAP_100TH_M… in createVIP2DSForDraft() 217 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, aDraftBitmap.GetPrefMapMode()… in createVIP2DSForDraft() 221 const double fWidth(aPrefSize.getWidth() * fBitmapScaling); in createVIP2DSForDraft() [all …]
|
/trunk/main/svx/source/sdr/primitive2d/ |
H A D | sdrolecontentprimitive2d.cxx | 84 Size aPrefSize(aGraphic.GetPrefSize()); in create2DDecomposition() local 88 … aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aPrefSize, MAP_100TH_MM); in create2DDecomposition() 92 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, aGraphic.GetPrefMapMode(), MA… in create2DDecomposition() 95 const double fOffsetX((aScale.getX() - aPrefSize.getWidth()) / 2.0); in create2DDecomposition() 96 const double fOffsetY((aScale.getY() - aPrefSize.getHeight()) / 2.0); in create2DDecomposition() 102 aPrefSize.getWidth(), aPrefSize.getHeight(), fOffsetX, fOffsetY)); in create2DDecomposition()
|
H A D | sdrattributecreator.cxx | 629 Size aPrefSize(aGraphic.GetPrefSize()); in createNewSdrFillGraphicAttribute() local 631 if(!aPrefSize.Width() || !aPrefSize.Height()) in createNewSdrFillGraphicAttribute() 641 if(!aPrefSize.Width() || !aPrefSize.Height()) in createNewSdrFillGraphicAttribute()
|
/trunk/main/sw/source/ui/shells/ |
H A D | grfshex.cxx | 92 Size aPrefSize; in InsertMediaDlg() local 97 if( !::avmedia::MediaWindow::isMediaURL( aURL, true, &aPrefSize ) ) in InsertMediaDlg() 123 if( aPrefSize.Width() && aPrefSize.Height() ) in InsertMediaDlg() 126 aSize = pWindow->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg() 128 aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 454 Size aPrefSize; in IMPL_LINK() local 457 ::avmedia::MediaWindow::isMediaURL( aCurrentDropFile, true, &aPrefSize ) ) in IMPL_LINK() 459 if( aPrefSize.Width() && aPrefSize.Height() ) in IMPL_LINK() 464 aPrefSize = pWin->PixelToLogic( aPrefSize, MAP_100TH_MM ); in IMPL_LINK() 466 aPrefSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_100TH_MM ); in IMPL_LINK() 469 aPrefSize = Size( 5000, 5000 ); in IMPL_LINK() 471 InsertMediaURL( aCurrentDropFile, mnAction, maDropPos, aPrefSize ) ; in IMPL_LINK()
|
/trunk/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 851 Size aPrefSize; in Convert() local 928 aPrefSize.Width() =(long)(fWidth*fScale+1.5); in Convert() 929 aPrefSize.Height()=(long)(fHeight*fScale+1.5); in Convert() 950 aPrefSize.Width() =(long)(fWidth*fScale+1.5); in Convert() 951 aPrefSize.Height()=(long)(fHeight*fScale+1.5); in Convert() 961 rMTF.SetPrefSize( aPrefSize ); in Convert() 965 if( ( aPrefSize.Width() < 500 ) && ( aPrefSize.Height() < 500 ) ) in Convert()
|
/trunk/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 755 Size aPrefSize; in DoExecute() local 760 if( !::avmedia::MediaWindow::isMediaURL( aURL, true, &aPrefSize ) ) in DoExecute() 774 if( aPrefSize.Width() && aPrefSize.Height() ) in DoExecute() 777 aSize = mpWindow->PixelToLogic( aPrefSize, MAP_100TH_MM ); in DoExecute() 779 aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_100TH_MM ); in DoExecute()
|
/trunk/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 194 aPrefSize ( 1, 1 ), in GDIMetaFile() 209 aPrefSize ( rMtf.aPrefSize ), in GDIMetaFile() 262 aPrefSize = rMtf.aPrefSize; in operator =() 292 rMtf.GetPrefSize() == aPrefSize && in operator ==() 320 rMtf.GetPrefSize() == aPrefSize && in IsEqual() 903 aPrefSize.Width() = FRound( aPrefSize.Width() * fScaleX ); in Scale() 904 aPrefSize.Height() = FRound( aPrefSize.Height() * fScaleY ); in Scale() 1469 aMtf.aPrefSize = aNewBound.GetSize(); in Rotate() 2047 aMtf.aPrefSize = aPrefSize; in ImplExchangeColors() 2908 rIStm >> rGDIMetaFile.aPrefSize; in operator >>() [all …]
|
H A D | pngwrite.cxx | 385 Size aPrefSize( rBmpEx.GetPrefSize() ); in ImplWritepHYs() local 386 if ( aPrefSize.Width() && aPrefSize.Height() ) in ImplWritepHYs() 390 …sal_uInt32 nPrefSizeX = (sal_uInt32)( (double)100000.0 / ( (double)aPrefSize.Width() / mnWidth ) +… in ImplWritepHYs() 391 …sal_uInt32 nPrefSizeY = (sal_uInt32)( (double)100000.0 / ( (double)aPrefSize.Height() / mnHeight )… in ImplWritepHYs()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewdraw.cxx | 198 Size aPrefSize( pObj->GetSnapRect().GetSize() ); in ExecDraw() local 206 if( aPrefSize.Width() && aPrefSize.Height() ) in ExecDraw() 209 aSize = pWin->PixelToLogic( aPrefSize, MAP_TWIP ); in ExecDraw() 211 aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_TWIP ); in ExecDraw()
|
/trunk/main/vcl/inc/vcl/ |
H A D | gdimtf.hxx | 98 Size aPrefSize; member in GDIMetaFile 221 const Size& GetPrefSize() const { return aPrefSize; } in GetPrefSize() 222 void SetPrefSize( const Size& rSize ) { aPrefSize = rSize; } in SetPrefSize()
|
/trunk/main/avmedia/source/viewer/ |
H A D | mediawindowbase_impl.cxx | 230 awt::Size aPrefSize( mxPlayer->getPreferredPlayerWindowSize() ); in getPreferredSize() local 232 aRet.Width() = aPrefSize.Width; in getPreferredSize() 233 aRet.Height() = aPrefSize.Height; in getPreferredSize()
|
H A D | mediawindow.cxx | 550 awt::Size aPrefSize( xPlayer->getPreferredPlayerWindowSize() ); in grabFrame() local 552 if( !aPrefSize.Width && !aPrefSize.Height ) in grabFrame()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuins1.cxx | 421 Size aPrefSize; in FuInsertMedia() local 426 if( !::avmedia::MediaWindow::isMediaURL( aURL, true, &aPrefSize ) ) in FuInsertMedia() 436 lcl_InsertMedia( aURL, bAPI, pViewSh, pWindow, pView, aPrefSize ); in FuInsertMedia()
|
/trunk/main/avmedia/source/macavf/ |
H A D | macavf_player.cxx | 386 const CGSize aPrefSize = [pFirstVideoTrack naturalSize]; in getPreferredPlayerWindowSize() local 387 aSize = awt::Size( aPrefSize.width, aPrefSize.height ); in getPreferredPlayerWindowSize()
|
/trunk/main/svx/source/gallery2/ |
H A D | galobj.cxx | 165 const Size aPrefSize( rGraphic.GetPrefSize() ); in CreateThumb() local 166 const double fFactor = (double)aPrefSize.Width() / (double)aPrefSize.Height(); in CreateThumb()
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | polypolygonprimitive2d.cxx | 569 const Size aPrefSize(rGraphic.GetPrefSize()); in create2DDecomposition() local 572 if(aPrefSize.Width() && aPrefSize.Height()) in create2DDecomposition()
|
/trunk/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 214 const Size aPrefSize( rGraphic.GetPrefSize() ); in WriteTIFF() local 215 aDestMapSize = OutputDevice::LogicToLogic( aPrefSize, aMapMode, MAP_INCH ); in WriteTIFF()
|
/trunk/main/filter/source/graphicfilter/ipsd/ |
H A D | ipsd.cxx | 157 Size aPrefSize = OutputDevice::LogicToLogic( aBitmapSize, aMapMode, MAP_100TH_MM ); in ReadPSD() local 158 rGraphic.SetPrefSize( aPrefSize ); in ReadPSD()
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 392 Size aPrefSize = OutputDevice::LogicToLogic( aSize, aMapMode, MAP_100TH_MM ); in CreateBitmap() local 394 aBmp.SetPrefSize( aPrefSize ); in CreateBitmap()
|
/trunk/main/filter/source/msfilter/ |
H A D | escherex.cxx | 1161 static Size lcl_SizeToEmu(Size aPrefSize, MapMode aPrefMapMode) in lcl_SizeToEmu() argument 1165 aRetSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_100TH_MM ); in lcl_SizeToEmu() 1167 … aRetSize = Application::GetDefaultDevice()->LogicToLogic( aPrefSize, aPrefMapMode, MAP_100TH_MM ); in lcl_SizeToEmu() 1230 Size aPrefSize; in ImplCreateGraphicAttributes() local 1232 if ( pGraphicProvider->GetPrefSize( nBlibId, aPrefSize, aPrefMapMode ) ) in ImplCreateGraphicAttributes() 1234 Size aCropSize(lcl_SizeToEmu(aPrefSize, aPrefMapMode)); in ImplCreateGraphicAttributes() 4565 … Size aPrefSize(lcl_SizeToEmu(p_EscherBlibEntry->maPrefSize, p_EscherBlibEntry->maPrefMapMode)); in GetBlibID() local 4566 nWidth = aPrefSize.Width() * 360; in GetBlibID() 4567 nHeight = aPrefSize.Height() * 360; in GetBlibID()
|