/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 784 Size aBmpSize = aBmp.GetSizePixel(); in DrawPaintReplacement() local 787 > aBmpSize.Height() * 10 / aBmpSize.Width() ) in DrawPaintReplacement() 791 long nH = nWidth * aBmpSize.Height() / aBmpSize.Width(); in DrawPaintReplacement() 800 long nW = nHeight * aBmpSize.Width() / aBmpSize.Height(); in DrawPaintReplacement()
|
/trunk/main/vcl/source/window/ |
H A D | splitwin.cxx | 1013 Size aBmpSize = pBitmap->GetSizePixel(); in ImplDrawBack() local 1022 aPos.X() += aBmpSize.Width(); in ImplDrawBack() 1025 aPos.Y() += aBmpSize.Height(); in ImplDrawBack()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 110 aBmpSize.Width() = (long) ( (double) aBmpSize.Width() * (double) aScale ); in Paint() 111 aBmpSize.Height() = (long) ( (double) aBmpSize.Height() * (double) aScale ); in Paint() 113 if( aBmpSize.Width() < aSize.Width() ) in Paint() 115 if( aBmpSize.Height() < aSize.Height() ) in Paint() 118 aBitmapEx.Draw( this, aPt, aBmpSize ); in Paint() 725 aBmpSize.Width() = 0; in GetScale() 726 aBmpSize.Height() = 0; in GetScale() 731 aBmpSize.Width() = Max( aBmpSize.Width(), aTempSize.Width() ); in GetScale() 732 aBmpSize.Height() = Max( aBmpSize.Height(), aTempSize.Height() ); in GetScale() 735 aBmpSize.Width() += 10; in GetScale() [all …]
|
H A D | vectdlg.cxx | 111 Size aBmpSize( rBmpSize ); in GetRect() local 112 const double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in GetRect() 117 aBmpSize.Width() = (long) ( rDispSize.Height() * fGrfWH ); in GetRect() 118 aBmpSize.Height()= rDispSize.Height(); in GetRect() 122 aBmpSize.Width() = rDispSize.Width(); in GetRect() 123 aBmpSize.Height()= (long) ( rDispSize.Width() / fGrfWH); in GetRect() 126 const Point aBmpPos( ( rDispSize.Width() - aBmpSize.Width() ) >> 1, in GetRect() 127 ( rDispSize.Height() - aBmpSize.Height() ) >> 1 ); in GetRect() 129 aRect = Rectangle( aBmpPos, aBmpSize ); in GetRect()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape3d.cxx | 548 Size aBmpSize( aFillBmp.GetSizePixel() ); in Create3DObject() local 552 …Point aPt( (sal_Int32)( (double)( aBoundRect.Left() - aSnapRect.Left() )* (double)aBmpSize.Width()… in Create3DObject() 553 …(sal_Int32)( (double)( aBoundRect.Top() - aSnapRect.Top() ) * (double)aBmpSize.Height() / (double)… in Create3DObject() 554 Size aSize( (sal_Int32)( aBmpSize.Width() * fXScale ), in Create3DObject() 555 (sal_Int32)( aBmpSize.Height() * fYScale ) ); in Create3DObject()
|
/trunk/main/framework/source/fwe/classes/ |
H A D | addonsoptions.cxx | 1601 Size aBmpSize = aBitmapEx.GetSizePixel(); in ReadImageFromURL() local 1602 if ( aBmpSize.Width() > 0 && aBmpSize.Height() > 0 ) in ReadImageFromURL() 1609 Size aNoScaleSize( aBmpSize.Width(), aSize.Height() ); in ReadImageFromURL() 1610 if ( aBmpSize != aNoScaleSize ) in ReadImageFromURL() 1618 if ( aBmpSize != aSize ) in ReadImageFromURL()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 995 const Size aBmpSize( aBmpEx.GetSizePixel() ); in ImplDrawBitmapWallpaper() local 1011 aWorkRect = Rectangle( 0, aPos.Y(), aPos.X() - 1L, aPos.Y() + aBmpSize.Height() - 1L ); in ImplDrawBitmapWallpaper() 1021 …aWorkRect = Rectangle( aPos.X() + aBmpSize.Width(), aPos.Y(), aOutRect.Right(), aPos.Y() + aBmpSiz… in ImplDrawBitmapWallpaper() 1031 aWorkRect = Rectangle( 0, aPos.Y() + aBmpSize.Height(), aOutRect.Right(), aOutRect.Bottom() ); in ImplDrawBitmapWallpaper()
|
H A D | pdfwriter_impl.cxx | 10321 Size aBmpSize; in drawWallpaper() local 10325 aBmpSize = lcl_convert( aBitmap.GetPrefMapMode(), in drawWallpaper() 10334 aBmpSize = aRect.GetSize(); in drawWallpaper() 10356 aBmpPos.X() += aRect.GetWidth()-aBmpSize.Width(); in drawWallpaper() 10363 aBmpPos.X() += aRect.GetWidth()-aBmpSize.Width(); in drawWallpaper() 10367 aBmpPos.Y() += aRect.GetHeight()-aBmpSize.Height(); in drawWallpaper() 10371 aBmpPos.Y() += aRect.GetHeight()-aBmpSize.Height(); in drawWallpaper() 10374 aBmpPos.X() += aRect.GetWidth()-aBmpSize.Width(); in drawWallpaper() 10387 Rectangle aConvertRect( aBmpPos, aBmpSize ); in drawWallpaper() 10435 aBmpSize = aRect.GetSize(); in drawWallpaper() [all …]
|
H A D | pdfwriter_impl2.cxx | 109 const Size aBmpSize( aBitmapEx.GetSizePixel() ); in implWriteBitmapEx() local 110 const double fBmpPixelX = aBmpSize.Width(); in implWriteBitmapEx() 111 const double fBmpPixelY = aBmpSize.Height(); in implWriteBitmapEx()
|
H A D | print2.cxx | 1400 const Size aBmpSize( aBmp.GetSizePixel() ); in GetDownsampledBitmap() local 1401 const double fBmpPixelX = aBmpSize.Width(); in GetDownsampledBitmap() 1402 const double fBmpPixelY = aBmpSize.Height(); in GetDownsampledBitmap() 1469 const Size aBmpSize( aBmpEx.GetSizePixel() ); in GetDownsampledBitmapEx() local 1470 const double fBmpPixelX = aBmpSize.Width(); in GetDownsampledBitmapEx() 1471 const double fBmpPixelY = aBmpSize.Height(); in GetDownsampledBitmapEx()
|
/trunk/main/cppcanvas/source/mtfrenderer/ |
H A D | implrenderer.cxx | 1800 const ::Size aBmpSize( aBmpEx.GetSizePixel() ); in createActions() local 1816 aScale.scale( aBmpSize.Width(), in createActions() 1817 aBmpSize.Height() ); in createActions() 3094 const Size aBmpSize( rBmpEx.GetSizePixel() ); in ImplRenderer() local 3099 aState.transform.scale( 1.0 / aBmpSize.Width(), in ImplRenderer() 3100 1.0 / aBmpSize.Height() ); in ImplRenderer()
|
/trunk/main/canvas/source/vcl/ |
H A D | canvashelper_texturefill.cxx | 802 const geometry::IntegerSize2D aBmpSize( textures[0].Bitmap->getSize() ); in fillTexturedPolyPolygon() local 804 ENSURE_ARG_OR_THROW( aBmpSize.Width != 0 && in fillTexturedPolyPolygon() 805 aBmpSize.Height != 0, in fillTexturedPolyPolygon() 846 aScaleCorrection.scale( 1.0/aBmpSize.Width, in fillTexturedPolyPolygon() 847 1.0/aBmpSize.Height ); in fillTexturedPolyPolygon() 888 aScaling.scale( 1.0/aBmpSize.Width, in fillTexturedPolyPolygon() 889 1.0/aBmpSize.Height ); in fillTexturedPolyPolygon() 1011 const ::Size aSz( ::basegfx::fround( aScale.getX() * aBmpSize.Width ), in fillTexturedPolyPolygon() 1012 ::basegfx::fround( aScale.getY() * aBmpSize.Height ) ); in fillTexturedPolyPolygon()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_canvashelper_texturefill.cxx | 485 const geometry::IntegerSize2D aBmpSize( xBitmap->getSize() ); in fillBitmap() local 486 ENSURE_ARG_OR_THROW( aBmpSize.Width != 0 && in fillBitmap() 487 aBmpSize.Height != 0, in fillBitmap() 519 aBmpSize.Width, in fillBitmap() 520 aBmpSize.Height); in fillBitmap() 538 pBrush->ScaleTransform( static_cast< Gdiplus::REAL >(1.0/aBmpSize.Width), in fillBitmap() 539 static_cast< Gdiplus::REAL >(1.0/aBmpSize.Height) ); in fillBitmap()
|
/trunk/main/svx/source/dialog/ |
H A D | dlgctrl.cxx | 2009 Size aBmpSize( aBitmap.GetSizePixel() ); in Fill() local 2010 aVD.SetOutputSizePixel( aBmpSize, sal_False ); in Fill() 2013 aVD.GetBitmap( bStart ? Point() : Point( aBmpSize.Width() / 2, 0 ), in Fill() 2014 Size( aBmpSize.Width() / 2, aBmpSize.Height() ) ) ); in Fill() 2032 const Size aBmpSize(rBitmap.GetSizePixel()); in Append() local 2034 aVD.SetOutputSizePixel(aBmpSize, false); in Append() 2038 …aVD.GetBitmap(bStart ? Point() : Point(aBmpSize.Width() / 2, 0 ), Size(aBmpSize.Width() / 2, aBmpS… in Append() 2057 const Size aBmpSize(rBitmap.GetSizePixel()); in Modify() local 2059 aVD.SetOutputSizePixel(aBmpSize, false); in Modify() 2063 …aVD.GetBitmap(bStart ? Point() : Point( aBmpSize.Width() / 2, 0 ), Size( aBmpSize.Width() / 2, aBm… in Modify()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | linectrl.cxx | 540 aBmpSize = aBmp.GetSizePixel(); in FillValueSet() 541 aVD.SetOutputSizePixel( aBmpSize, sal_False ); in FillValueSet() 542 aBmpSize.Width() = aBmpSize.Width() / 2; in FillValueSet() 544 Point aPt1( aBmpSize.Width(), 0 ); in FillValueSet() 547 aLineEndSet.InsertItem( 1, aVD.GetBitmap( aPt0, aBmpSize ), pEntry->GetName() ); in FillValueSet() 548 aLineEndSet.InsertItem( 2, aVD.GetBitmap( aPt1, aBmpSize ), pEntry->GetName() ); in FillValueSet() 560 …aLineEndSet.InsertItem( (sal_uInt16)((i+1L)*2L+1L), aVD.GetBitmap( aPt0, aBmpSize ), pEntry->GetNa… in FillValueSet() 561 …aLineEndSet.InsertItem( (sal_uInt16)((i+2L)*2L), aVD.GetBitmap( aPt1, aBmpSize ), pEntry->GetName… in FillValueSet() 600 Size aBitmapSize = aBmpSize; // -> Member in Resizing() 712 Size aSize( aBmpSize ); in SetSize() [all …]
|
H A D | tbcontrl.cxx | 1303 Size aBmpSize( 55, 12 ); in SvxLineWindow_Impl() local 1311 lcl_CalcSizeValueSet( *this, aLineSet, aBmpSize ); in SvxLineWindow_Impl() 1629 Size aBmpSize( 55, 12 ); in CreateBitmaps() local 1641 MakeLineBitmap( i, aBmp, aBmpSize, aStr, aLineCol, aBackCol ); in CreateBitmaps()
|
/trunk/main/svx/source/sidebar/line/ |
H A D | LinePropertyPanel.cxx | 118 const Size aBmpSize(aCopyStart.GetSizePixel()); in FillLineEndListBox() local 119 … const Rectangle aCropRectStart(Point(), Size(aBmpSize.Width() / 2, aBmpSize.Height())); in FillLineEndListBox() 120 …const Rectangle aCropRectEnd(Point(aBmpSize.Width() / 2, 0), Size(aBmpSize.Width() / 2, aBmpSize.H… in FillLineEndListBox()
|
/trunk/main/svx/source/gallery2/ |
H A D | galobj.cxx | 112 Size aBmpSize( aBmpEx.GetSizePixel() ); in CreateThumb() local 114 if( aBmpSize.Width() && aBmpSize.Height() ) in CreateThumb() 127 double fFactorPix = static_cast< double >( aBmpSize.Width() ) / aBmpSize.Height(); in CreateThumb() 130 aBmpSize.Width() = FRound( aBmpSize.Height() * fFactorLog ); in CreateThumb() 132 aBmpSize.Height() = FRound( aBmpSize.Width() / fFactorLog ); in CreateThumb() 134 aBmpEx.SetSizePixel( aBmpSize, BMP_SCALE_BESTQUALITY ); in CreateThumb() 141 if( ( aBmpSize.Width() <= S_THUMB ) && ( aBmpSize.Height() <= S_THUMB ) ) in CreateThumb() 148 const float fFactor = (float) aBmpSize.Width() / aBmpSize.Height(); in CreateThumb() 153 (double) aNewSize.Width() / aBmpSize.Width(), in CreateThumb() 154 (double) aNewSize.Height() / aBmpSize.Height(), in CreateThumb()
|
/trunk/main/svx/inc/svx/ |
H A D | linectrl.hxx | 112 Size aBmpSize; member in SvxLineEndWindow
|
/trunk/main/svtools/source/graphic/ |
H A D | grfmgr2.cxx | 2421 Size aBmpSize( rBmpEx.GetSizePixel() ); in ImplTransformBitmap() local 2424 …sal_Int32 nPadTotalWidth( aBmpSize.Width() + nPadLeft + (rCropRightBottom.Width() < 0 ? -rCropRigh… in ImplTransformBitmap() 2425 …sal_Int32 nPadTotalHeight( aBmpSize.Height() + nPadTop + (rCropRightBottom.Height() < 0 ? -rCropRi… in ImplTransformBitmap() 2439 Bitmap aMask( aBmpSize, 1 ); in ImplTransformBitmap() 2451 …mpEx2.CopyPixel( Rectangle( Point(nPadLeft, nPadTop), aBmpSize ), Rectangle( Point(0, 0), aBmpSize… in ImplTransformBitmap()
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | viewshape.cxx | 620 … const ::basegfx::B2ISize aBmpSize( static_cast<sal_Int32>( aTmpRect.getWidth() )+1, in render() local 632 aCompositingSurface->mpLastBitmapCanvas->getSize() != aBmpSize ) in render() 638 aBmpSize ) ); in render()
|
/trunk/main/sd/source/ui/view/ |
H A D | drviews8.cxx | 496 if( !aBmpSize.Width() || !aBmpSize.Height() ) in ScannerEvent() 497 aBmpSize = aScanBmp.GetSizePixel(); in ScannerEvent() 500 aBmpSize = GetActiveWindow()->PixelToLogic( aBmpSize, aMap100 ); in ScannerEvent() 502 … aBmpSize = OutputDevice::LogicToLogic( aBmpSize, aScanBmp.GetPrefMapMode(), aMap100 ); in ScannerEvent() 507 …if( ( ( aBmpSize.Height() > aPageSize.Height() ) || ( aBmpSize.Width() > aPageSize.Width() ) ) && … in ScannerEvent() 509 double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in ScannerEvent() 515 aBmpSize.Height()= aPageSize.Height(); in ScannerEvent() 519 aBmpSize.Width() = aPageSize.Width(); in ScannerEvent() 520 aBmpSize.Height()= FRound( aPageSize.Width() / fGrfWH ); in ScannerEvent() 524 …Point aPnt ( ( aPageSize.Width() - aBmpSize.Width() ) >> 1, ( aPageSize.Height() - aBmpSize.Height… in ScannerEvent() [all …]
|
/trunk/main/sd/source/ui/inc/ |
H A D | animobjs.hxx | 147 Size aBmpSize; member in sd::AnimationWindow
|
/trunk/main/sc/source/ui/pagedlg/ |
H A D | tptable.cxx | 156 Size aBmpSize = Image( ScResId( IMG_LEFTRIGHT ) ).GetSizePixel(); in ScTablePage() local 157 aBmpPageDir.SetOutputSizePixel( aBmpSize ); in ScTablePage()
|
/trunk/main/framework/source/uielement/ |
H A D | imagebuttontoolbarcontroller.cxx | 215 ::Size aBmpSize = aBitmapEx.GetSizePixel(); in ReadImageFromURL() 216 if ( aBmpSize.Width() > 0 && aBmpSize.Height() > 0 ) in ReadImageFromURL() 218 ::Size aNoScaleSize( aBmpSize.Width(), aSize.Height() ); in ReadImageFromURL() 219 if ( aBmpSize != aNoScaleSize ) in ReadImageFromURL()
|