Home
last modified time | relevance | path

Searched refs:aBmpSize (Results 1 – 25 of 34) sorted by relevance

12

/aoo42x/main/canvas/source/vcl/
H A Dcanvasbitmaphelper.cxx157 const Size aBmpSize( aBitmap.GetSizePixel() ); in getData() local
159 rLayout.ScanLines = aBmpSize.Height(); in getData()
160 rLayout.ScanLineBytes = aBmpSize.Width()*4; in getData()
164 uno::Sequence< sal_Int8 > aRes( 4*aBmpSize.Width()*aBmpSize.Height() ); in getData()
169 y<aBmpSize.Height() && y<rect.Y2; in getData()
175 x<aBmpSize.Width() && x<rect.X2; in getData()
187 x<aBmpSize.Width() && x<rect.X2; in getData()
244 const Size aBmpSize( aBitmap.GetSizePixel() ); in setData() local
249 y<aBmpSize.Height() && y<rect.Y2; in setData()
262 x<aBmpSize.Width() && x<rect.X2; in setData()
[all …]
H A Dimpltools.cxx231 const Size aBmpSize( rBitmap.GetSizePixel() ); in transformBitmap() local
238 aBmpSize.Width(), in transformBitmap()
239 aBmpSize.Height() ); in transformBitmap()
372 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap()
373 nSrcY < 0 || nSrcY >= aBmpSize.Height() ) in transformBitmap()
418 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap()
419 nSrcY < 0 || nSrcY >= aBmpSize.Height() ) in transformBitmap()
475 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap()
476 nSrcY < 0 || nSrcY >= aBmpSize.Height() ) in transformBitmap()
497 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap()
[all …]
H A Dcanvashelper.cxx768 ::Size aBmpSize( aBmpEx.GetSizePixel() ); in implDrawBitmap()
838 aBmpSize = aBmpEx.GetSizePixel(); in implDrawBitmap()
843 const ::Size aSz( ::basegfx::fround( aScale.getX() * aBmpSize.Width() ), in implDrawBitmap()
944 const Size aBmpSize( rOutDev.GetOutputSizePixel() ); in getScaledBitmap() local
946 Bitmap aBitmap( rOutDev.GetBitmap(aEmptyPoint, aBmpSize) ); in getScaledBitmap()
1153 const Size aBmpSize( rOutDev.GetOutputSizePixel() ); in setPixel() local
1155 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aBmpSize.Width(), in setPixel()
1157 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aBmpSize.Height(), in setPixel()
1191 const Size aBmpSize( rOutDev.GetOutputSizePixel() ); in getPixel() local
1193 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aBmpSize.Width(), in getPixel()
[all …]
H A Dcanvashelper_texturefill.cxx802 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()
/aoo42x/main/sd/source/ui/view/
H A Ddrviews8.cxx496 if( !aBmpSize.Width() || !aBmpSize.Height() ) in ScannerEvent()
497 aBmpSize = aScanBmp.GetSizePixel(); in ScannerEvent()
500 aBmpSize = GetActiveWindow()->PixelToLogic( aBmpSize, aMap100 ); in ScannerEvent()
502aBmpSize = 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 …]
/aoo42x/main/svx/source/gallery2/
H A Dgalobj.cxx112 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()
/aoo42x/main/sd/source/ui/dlg/
H A Danimobjs.cxx110 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 Dvectdlg.cxx111 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()
/aoo42x/main/svx/source/tbxctrls/
H A Dlinectrl.cxx540 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 …]
/aoo42x/main/canvas/source/directx/
H A Ddx_vcltools.cxx167 const ::Size aBmpSize( rBmpEx.GetSizePixel() ); in bitmapFromVCLBitmapEx() local
170 aBmpData.mnWidth = aBmpSize.Width(); in bitmapFromVCLBitmapEx()
171 aBmpData.mnHeight = aBmpSize.Height(); in bitmapFromVCLBitmapEx()
179 const sal_Int32 nWidth( aBmpSize.Width() ); in bitmapFromVCLBitmapEx()
180 const sal_Int32 nHeight( aBmpSize.Height() ); in bitmapFromVCLBitmapEx()
219 const sal_Int32 nWidth( aBmpSize.Width() ); in bitmapFromVCLBitmapEx()
220 const sal_Int32 nHeight( aBmpSize.Height() ); in bitmapFromVCLBitmapEx()
H A Ddx_canvashelper_texturefill.cxx485 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()
H A Ddx_impltools.cxx571 const geometry::IntegerSize2D aBmpSize( xBitmap->getSize() ); in bitmapFromXBitmap() local
579 pBitmap.reset( new Gdiplus::Bitmap( aBmpSize.Width, in bitmapFromXBitmap()
580 aBmpSize.Height, in bitmapFromXBitmap()
589 pBitmap.reset( new Gdiplus::Bitmap( aBmpSize.Width, in bitmapFromXBitmap()
590 aBmpSize.Height, in bitmapFromXBitmap()
/aoo42x/main/dtrans/source/win32/dtobj/
H A DFmtFilter.cxx541 SIZE aBmpSize; in WinBITMAPToOOBMP() local
542 if( GetBitmapDimensionEx( aHBMP, &aBmpSize ) ) in WinBITMAPToOOBMP()
545 size_t nDataBytes = 4 * aBmpSize.cy * aBmpSize.cy; in WinBITMAPToOOBMP()
552 pBmp->biWidth = aBmpSize.cx; in WinBITMAPToOOBMP()
553 pBmp->biHeight = aBmpSize.cy; in WinBITMAPToOOBMP()
564 0, aBmpSize.cy, in WinBITMAPToOOBMP()
/aoo42x/main/framework/source/uielement/
H A Dimagebuttontoolbarcontroller.cxx215 ::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()
/aoo42x/main/svx/source/dialog/
H A Ddlgctrl.cxx2009 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()
/aoo42x/main/svtools/source/misc/
H A Dembedhlp.cxx784 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()
/aoo42x/main/cppcanvas/source/mtfrenderer/
H A Dbitmapaction.cxx133 const ::Size aBmpSize( rBmpEx.GetSizePixel() ); in BitmapAction() local
135 const ::basegfx::B2DVector aScale( rDstSize.getX() / aBmpSize.Width(), in BitmapAction()
136 rDstSize.getY() / aBmpSize.Height() ); in BitmapAction()
H A Dtransparencygroupaction.cxx449 ::basegfx::B2ISize aBmpSize( in render()
453 aScaleCorrection.scale( (double)maDstSize.getX() / aBmpSize.getX(), in render()
454 (double)maDstSize.getY() / aBmpSize.getY() ); in render()
/aoo42x/main/svx/source/sidebar/line/
H A DLinePropertyPanel.cxx118 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()
/aoo42x/main/vcl/source/gdi/
H A Dprint2.cxx1400 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()
H A Doutdev6.cxx995 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()
/aoo42x/main/svx/source/customshapes/
H A DEnhancedCustomShape3d.cxx548 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()
/aoo42x/main/slideshow/source/engine/shapes/
H A Dviewshape.cxx620 … 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()
/aoo42x/main/framework/source/fwe/classes/
H A Daddonsoptions.cxx1601 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()
/aoo42x/main/svtools/source/graphic/
H A Dgrfmgr2.cxx2421 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()

Completed in 251 milliseconds

12