Home
last modified time | relevance | path

Searched refs:aSizePix (Results 1 – 25 of 27) sorted by last modified time

12

/trunk/main/vcl/inc/vcl/
H A Dbitmap.hxx968 const Size aSizePix( GetSizePixel() ); in GetSizeBytes() local
969 return( ( (sal_uLong) aSizePix.Width() * aSizePix.Height() * GetBitCount() ) >> 3UL ); in GetSizeBytes()
H A Danimate.hxx66 Size aSizePix; member
77 aSizePix ( rSizePix ), in AnimationBitmap()
86 rAnimBmp.aSizePix == aSizePix && in operator ==()
97 rAnimBmp.aSizePix == aSizePix && in IsEqual()
/trunk/main/sd/source/core/
H A Dsdpage.cxx303 Size aSizePix = aOutDev.LogicToPixel( aGraphic.GetPrefSize() ); in CreatePresObj() local
306 Size aSize = aOutDev.PixelToLogic(aSizePix); in CreatePresObj()
/trunk/main/vcl/source/gdi/
H A Dbitmap3.cxx1109 const Size aSizePix( GetSizePixel() ); in ImplScaleFast() local
1110 const long nNewWidth = FRound( aSizePix.Width() * rScaleX ); in ImplScaleFast()
1111 const long nNewHeight = FRound( aSizePix.Height() * rScaleY ); in ImplScaleFast()
1180 const Size aSizePix( GetSizePixel() ); in ImplScaleInterpolate() local
1181 const long nNewWidth = FRound( aSizePix.Width() * rScaleX ); in ImplScaleInterpolate()
1182 const long nNewHeight = FRound( aSizePix.Height() * rScaleY ); in ImplScaleInterpolate()
1371 const Size aSizePix( GetSizePixel() ); in ImplScaleSuper() local
1376 const long nDstW = FRound( aSizePix.Width() * scaleX ); in ImplScaleSuper()
1377 const long nDstH = FRound( aSizePix.Height() * scaleY ); in ImplScaleSuper()
2543 const Size aSizePix( GetSizePixel() ); in Dither() local
[all …]
H A Dbitmap.cxx768 const Size aSizePix( GetSizePixel() ); in Rotate() local
772 const Size aNewSizePix( aSizePix.Height(), aSizePix.Width() ); in Rotate()
778 const long nWidth = aSizePix.Width(); in Rotate()
780 const long nHeight = aSizePix.Height(); in Rotate()
806 Rectangle aTmpRectangle( aTmpPoint, aSizePix ); in Rotate()
822 const long nWidth = aSizePix.Width(); in Rotate()
823 const long nHeight = aSizePix.Height(); in Rotate()
895 const Size aSizePix( GetSizePixel() ); in Crop() local
899 aRect.Intersection( Rectangle( Point(), aSizePix ) ); in Crop()
942 const Size aSizePix( GetSizePixel() ); in CopyPixel() local
[all …]
H A Ddibtools.cxx1405 const Size aSizePix(rSource.GetSizePixel()); in ImplWriteDIB() local
1408 if(aSizePix.Width() && aSizePix.Height()) in ImplWriteDIB()
1419 if(aSizePixAlpha == aSizePix) in ImplWriteDIB()
H A Dgdimtf.cxx3044 if ( aSizePix.Width() && aSizePix.Height() in CreateThumbnail()
3045 && ( sal::static_int_cast< unsigned long >(aSizePix.Width()) > in CreateThumbnail()
3047 sal::static_int_cast< unsigned long >(aSizePix.Height()) > in CreateThumbnail()
3050 const Size aOldSizePix( aSizePix ); in CreateThumbnail()
3051 double fWH = static_cast< double >( aSizePix.Width() ) / aSizePix.Height(); in CreateThumbnail()
3055 aSizePix.Width() = FRound( nMaximumExtent * fWH ); in CreateThumbnail()
3056 aSizePix.Height() = nMaximumExtent; in CreateThumbnail()
3060 aSizePix.Width() = nMaximumExtent; in CreateThumbnail()
3061 aSizePix.Height() = FRound( nMaximumExtent / fWH ); in CreateThumbnail()
3081 …aBackPosPix = Point( ( nMaximumExtent - aSizePix.Width() ) >> 1, ( nMaximumExtent - aSizePix.Heigh… in CreateThumbnail()
[all …]
H A Doutdev2.cxx518 const Size aSizePix( rBitmap.GetSizePixel() ); in DrawBitmap() local
519 ImplDrawBitmap( rDestPt, PixelToLogic( aSizePix ), Point(), aSizePix, rBitmap, META_BMP_ACTION ); in DrawBitmap()
524 mpAlphaVDev->ImplFillOpaqueRectangle( Rectangle(rDestPt, PixelToLogic( aSizePix )) ); in DrawBitmap()
751 const Size aSizePix( rBitmapEx.GetSizePixel() ); in DrawBitmapEx() local
752 …ImplDrawBitmapEx( rDestPt, PixelToLogic( aSizePix ), Point(), aSizePix, rBitmapEx, META_BMPEX_ACTI… in DrawBitmapEx()
1292 const Size aSizePix( rBitmap.GetSizePixel() ); in DrawMask() local
1293 …ImplDrawMask( rDestPt, PixelToLogic( aSizePix ), Point(), aSizePix, rBitmap, rMaskColor, META_MASK… in DrawMask()
1305 PixelToLogic( aSizePix ), in DrawMask()
H A Dimpanmvw.cxx137 Point aPt2( rAnm.aPosPix.X() + rAnm.aSizePix.Width() - 1L, in ImplGetPosSize()
138 rAnm.aPosPix.Y() + rAnm.aSizePix.Height() - 1L ); in ImplGetPosSize()
217 Size aSizePix; in ImplDraw() local
222 ImplGetPosSize( rAnm, aPosPix, aSizePix ); in ImplDraw()
227 aBmpPosPix.X() = aPosPix.X() + aSizePix.Width() - 1L; in ImplDraw()
228 aBmpSizePix.Width() = -aSizePix.Width(); in ImplDraw()
233 aBmpSizePix.Width() = aSizePix.Width(); in ImplDraw()
239 aBmpPosPix.Y() = aPosPix.Y() + aSizePix.Height() - 1L; in ImplDraw()
240 aBmpSizePix.Height() = -aSizePix.Height(); in ImplDraw()
245 aBmpSizePix.Height() = aSizePix.Height(); in ImplDraw()
[all …]
H A Dalpha.cxx131 const Size aSizePix( GetSizePixel() ); in CopyPixel() local
135 aRectDst.Intersection( Rectangle( Point(), aSizePix ) ); in CopyPixel()
179 aRectSrc.Intersection( Rectangle( Point(), aSizePix ) ); in CopyPixel()
H A Danimate.cxx67 UInt32ToSVBT32( aSizePix.Width(), aBT32 ); in GetChecksum()
70 UInt32ToSVBT32( aSizePix.Height(), aBT32 ); in GetChecksum()
260 …if( DISPOSE_BACK == pAnimBmp->eDisposal && Rectangle( pAnimBmp->aPosPix, pAnimBmp->aSizePix ) != a… in IsTransparent()
582 maGlobalSize = aGlobalRect.Union( Rectangle( rStepBmp.aPosPix, rStepBmp.aSizePix ) ).GetSize(); in Insert()
728 … pStepBmp->aPosPix.X() = maGlobalSize.Width() - pStepBmp->aPosPix.X() - pStepBmp->aSizePix.Width(); in Mirror()
731 …pStepBmp->aPosPix.Y() = maGlobalSize.Height() - pStepBmp->aPosPix.Y() - pStepBmp->aSizePix.Height(… in Mirror()
850 rOStm << rAnimBmp.aSizePix; in operator <<()
915 rIStm >> aAnimBmp.aSizePix; in operator >>()
/trunk/main/sd/source/ui/dlg/
H A Danimobjs.cxx1160 aAnimBmp.aSizePix = aBitmapSize; in CreateAnimObj()
H A Dvectdlg.cxx151 const Size aSizePix( aNew.GetSizePixel() ); in GetPreparedBitmap() local
153 if( aSizePix.Width() > VECTORIZE_MAX_EXTENT || aSizePix.Height() > VECTORIZE_MAX_EXTENT ) in GetPreparedBitmap()
155 const Rectangle aRect( GetRect( Size( VECTORIZE_MAX_EXTENT, VECTORIZE_MAX_EXTENT ), aSizePix ) ); in GetPreparedBitmap()
156 rScale = Fraction( aSizePix.Width(), aRect.GetWidth() ); in GetPreparedBitmap()
/trunk/main/svx/source/unodraw/
H A DUnoGraphicExporter.cxx722 if (aSizePix.Width() > MAX_EXT_PIX || aSizePix.Height() > MAX_EXT_PIX) in GetGraphic()
724 if (aSizePix.Width() > MAX_EXT_PIX) in GetGraphic()
727 nWidthPix = aSizePix.Width(); in GetGraphic()
728 if (aSizePix.Height() > MAX_EXT_PIX) in GetGraphic()
731 nHeightPix = aSizePix.Height(); in GetGraphic()
733 double fWidthDif = aSizePix.Width() / nWidthPix; in GetGraphic()
734 double fHeightDif = aSizePix.Height() / nHeightPix; in GetGraphic()
737 nHeightPix = static_cast<long>(aSizePix.Height() / fWidthDif); in GetGraphic()
739 nWidthPix = static_cast<long>(aSizePix.Width() / fHeightDif); in GetGraphic()
743 nWidthPix = aSizePix.Width(); in GetGraphic()
[all …]
/trunk/main/svtools/source/filter/jpeg/
H A Djpeg.cxx520 const Size aSizePix( rBitmap.GetSizePixel() ); in CreateIntermediateGraphic() local
532 if( nLines && ( nLines < aSizePix.Height() ) ) in CreateIntermediateGraphic()
/trunk/main/vcl/win/source/gdi/
H A Dsalbmp.cxx870 Size aSizePix( pBIH->biWidth, pBIH->biHeight ); in AcquireBuffer() local
871 HGLOBAL hNewDIB = ImplCreateDIB( aSizePix, pBIH->biBitCount, BitmapPalette() ); in AcquireBuffer()
884 ImplDecodeRLEBuffer( pOldBits, pNewBits, aSizePix, pBIH->biCompression == BI_RLE4 ); in AcquireBuffer()
/trunk/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx530 Size aSizePix( pBIH->cx, pBIH->cy ); in AcquireBuffer() local
531 HANDLE hNewDIB = ImplCreateDIB( aSizePix, pBIH->cBitCount, BitmapPalette() ); in AcquireBuffer()
545 … ImplDecodeRLEBuffer( pOldBits, pNewBits, aSizePix, pBIH->ulCompression == BCA_RLE4 ); in AcquireBuffer()
/trunk/main/svx/source/xoutdev/
H A D_xoutbmp.cxx83 aAnimBmp.aSizePix.Width(); in MirrorAnimation()
87 aAnimBmp.aSizePix.Height(); in MirrorAnimation()
/trunk/main/svx/source/svdraw/
H A Dsdrpagewindow.cxx111 Size aSizePix = rOutDev.GetOutputSizePixel(); in GetControlContainer() local
115 …xContComp->setPosSize(aPosPix.X(), aPosPix.Y(), aSizePix.Width(), aSizePix.Height(), awt::PosSize:… in GetControlContainer()
/trunk/main/svx/source/dialog/
H A D_contdlg.cxx242 Size aSizePix( aVDev.LogicToPixel( aTmpGrf.GetPrefSize(), aTmpGrf.GetPrefMapMode() ) ); in CreateAutoContour() local
244 …if( aSizePix.Width() && aSizePix.Height() && ( aSizePix.Width() > 512 || aSizePix.Height() > 512 )… in CreateAutoContour()
246 double fWH = (double) aSizePix.Width() / aSizePix.Height(); in CreateAutoContour()
249 aSizePix.Width() = FRound( ( aSizePix.Height() = 512 ) * fWH ); in CreateAutoContour()
251 aSizePix.Height() = FRound( ( aSizePix.Width() = 512 ) / fWH ); in CreateAutoContour()
254 if( aVDev.SetOutputSizePixel( aSizePix ) ) in CreateAutoContour()
257 aTmpGrf.Draw( &aVDev, aPt, aSizePix ); in CreateAutoContour()
258 aBmp = aVDev.GetBitmap( aPt, aSizePix ); in CreateAutoContour()
/trunk/main/svtools/source/graphic/
H A Ddescriptor.cxx432 const Size aSizePix( mpGraphic->GetBitmapEx().GetSizePixel() ); in _getPropertyValues() local
433 aAWTSize = awt::Size( aSizePix.Width(), aSizePix.Height() ); in _getPropertyValues()
H A Dgrfmgr.cxx1109 if( !aCropRect.IsInside( Rectangle(aAnimBmp.aPosPix, aAnimBmp.aSizePix) ) ) in GetTransformedGraphic()
/trunk/main/svtools/source/filter/igif/
H A Dgifread.cxx563 aAnimBmp.aSizePix = Size( nImageWidth, nImageHeight ); in CreateNewBitmaps()
/trunk/main/sfx2/source/doc/
H A Dgraphhelp.cxx307 if ( aSizePix.Width() && aSizePix.Height() && in createThumb_Impl()
308 ( sal::static_int_cast<sal_uInt32>(aSizePix.Width()) > nMaximumExtent || in createThumb_Impl()
309 sal::static_int_cast<sal_uInt32>(aSizePix.Height()) > nMaximumExtent ) ) in createThumb_Impl()
311 const Size aOldSizePix( aSizePix ); in createThumb_Impl()
312 double fWH = static_cast< double >( aSizePix.Width() ) / aSizePix.Height(); in createThumb_Impl()
316 aSizePix.Width() = FRound( nMaximumExtent * fWH ); in createThumb_Impl()
317 aSizePix.Height() = nMaximumExtent; in createThumb_Impl()
321 aSizePix.Width() = nMaximumExtent; in createThumb_Impl()
322 aSizePix.Height() = FRound( nMaximumExtent / fWH ); in createThumb_Impl()
342 …aBackPosPix = Point( ( nMaximumExtent - aSizePix.Width() ) >> 1, ( nMaximumExtent - aSizePix.Heigh… in createThumb_Impl()
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviews9.cxx115 Size aSizePix = aWindow.LogicToPixel(aGraphic.GetPrefSize()); in SO2_DECL_REF() local
117 Size aSize = aWindow.PixelToLogic(aSizePix); in SO2_DECL_REF()

Completed in 158 milliseconds

12