/trunk/main/sw/source/core/text/ |
H A D | possiz.hxx | 38 inline SwPosSize( const Size &rSize ) in SwPosSize() argument 39 : nWidth(KSHORT(rSize.Width())), nHeight(KSHORT(rSize.Height())){ } in SwPosSize() 46 inline void SvLSize( const Size &rSize ); 54 nWidth = rSize.Width(); in operator =() 55 nHeight = rSize.Height(); in operator =() 61 nWidth = KSHORT(rSize.Width()); in SvLSize() 62 nHeight = KSHORT(rSize.Height()); in SvLSize() 67 nHeight = KSHORT(rSize.Width()); in SvXSize() 68 nWidth = KSHORT(rSize.Height()); in SvXSize() 73 nWidth = KSHORT(rSize.Width()); in operator =() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | group.cxx | 131 const Point& rPos, const Size& rSize, bool bLayout ) in ImplDraw() argument 137 Rectangle aRect( rPos, rSize ); in ImplDraw() 185 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 191 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X(), rPos.Y()+rSize.Height()-2 ) ); in ImplDraw() 192 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSize.Width()-2, rPo… in ImplDraw() 193 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-2, rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSiz… in ImplDraw() 203 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw() 210 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSize.Width()-1, rPo… in ImplDraw() 211 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-1, rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSiz… in ImplDraw() 237 void GroupBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, in Draw() argument [all …]
|
H A D | fixed.cxx | 225 const Point& rPos, const Size& rSize, in ImplDraw() argument 263 Rectangle aRect( Rectangle( aPos, rSize ) ); in ImplDraw() 285 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 778 const Point& rPos, const Size& rSize ) in ImplDraw() argument 796 pDev->DrawImage( rPos, rSize, aImage, nStyle ); in ImplDraw() 810 pDev->DrawBitmap( rPos, rSize, *pBitmap ); in ImplDraw() 833 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 1023 const Point& rPos, const Size& rSize ) in ImplDraw() argument 1044 pDev->DrawImage( rPos, rSize, *pImage, nStyle ); in ImplDraw() 1053 UserDrawEvent aUDEvt( pDev, Rectangle( rPos, rSize ), 0, nStyle ); in ImplDraw() [all …]
|
H A D | button.cxx | 382 Rectangle aOutRect( rPos, rSize ); in ImplDrawAlignedImage() 409 rSize = aOutRect.GetSize(); in ImplDrawAlignedImage() 469 aSymbol = Rectangle( Point(), rSize ); in ImplDrawAlignedImage() 590 nXOffset = rSize.Width() - aUnion.GetWidth(); in ImplDrawAlignedImage() 612 rSize = aUnion.GetSize(); in ImplDrawAlignedImage() 1544 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 2296 Rectangle aRect( rPos, rSize ); in ImplDraw() 2312 Size aSize( rSize ); in ImplDraw() 2385 Rectangle aImageRect( rPos, rSize ); in ImplDraw() 3401 long nLineY = rPos.Y() + (rSize.Height()-1)/2; in ImplDraw() [all …]
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_spritedevicehelper.cxx | 63 const ::basegfx::B2ISize& rSize, in init() 72 setSize( rSize ); in init() 122 void SpriteDeviceHelper::setSize( const ::basegfx::B2ISize& rSize ) in setSize() argument 124 OSL_TRACE("SpriteDeviceHelper::setSize(): device size %d x %d", rSize.getX(), rSize.getY() ); in setSize() 129 DeviceHelper::setSize(rSize); in setSize() 131 if( mpBufferSurface && maSize != rSize ) in setSize() 136 rSize.getX(), rSize.getY() ); in setSize() 138 if( maSize != rSize ) in setSize() 139 maSize = rSize; in setSize() 172 return mpBufferSurface->getSimilar( aContent, rSize.getX(), rSize.getY() ); in createSurface() [all …]
|
H A D | cairo_spritecanvashelper.cxx | 151 const ::basegfx::B2ISize& rSize ) in init() 156 CanvasHelper::init( rSize, rDevice, &rDevice ); in init() 216 SurfaceSharedPtr pCompositingSurface = getCompositingSurface(rSize); in updateScreen() 239 cairo_rectangle( pCompositingCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in updateScreen() 258 cairo_rectangle( pWindowCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in updateScreen() 299 rSize.getX(), in scrollUpdate() 300 rSize.getY() ); in scrollUpdate() 302 SurfaceSharedPtr pCompositingSurface = getCompositingSurface(rSize); in scrollUpdate() 401 cairo_rectangle( pWindowCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in scrollUpdate() 486 ::std::min( rSize.getX(), in genericUpdate() [all …]
|
H A D | cairo_canvasbitmap.cxx | 51 HBITMAP surface2HBitmap( const SurfaceSharedPtr& rSurface, const basegfx::B2ISize& rSize ) in surface2HBitmap() argument 56 rSize.getX(), in surface2HBitmap() 57 rSize.getY() ); in surface2HBitmap() 62 BitBlt( hBmpDC, 0, 0, rSize.getX(), rSize.getX(), in surface2HBitmap() 76 CanvasBitmap::CanvasBitmap( const ::basegfx::B2ISize& rSize, in CanvasBitmap() argument 83 maSize(rSize), in CanvasBitmap() 89 OSL_TRACE( "bitmap size: %dx%d", rSize.getX(), rSize.getY() ); in CanvasBitmap() 91 …mpBufferSurface = mpSurfaceProvider->createSurface( rSize, bHasAlpha ? CAIRO_CONTENT_COLOR_ALPHA :… in CanvasBitmap() 94 maCanvasHelper.init( rSize, *mpSurfaceProvider, pDevice ); in CanvasBitmap() 117 … SurfaceSharedPtr CanvasBitmap::createSurface( const ::basegfx::B2ISize& rSize, Content aContent ) in createSurface() argument [all …]
|
H A D | cairo_devicehelper.cxx | 83 void DeviceHelper::setSize( const ::basegfx::B2ISize& rSize ) in setSize() argument 85 OSL_TRACE("DeviceHelper::setSize(): device size %d x %d", rSize.getX(), rSize.getY() ); in setSize() 95 mpSurface->Resize( rSize.getX() + pOutDev->GetOutOffXPixel(), in setSize() 96 rSize.getY() + pOutDev->GetOutOffYPixel() ); in setSize() 103 rSize.getX(), rSize.getY() ); in setSize() 276 … SurfaceSharedPtr DeviceHelper::createSurface( const ::basegfx::B2ISize& rSize, Content aContent ) in createSurface() argument 279 return mpSurface->getSimilar( aContent, rSize.getX(), rSize.getY() ); in createSurface() 284 SurfaceSharedPtr DeviceHelper::createSurface( BitmapSystemData& rData, const Size& rSize ) in createSurface() argument 287 return createBitmapSurface( *mpRefDevice, rData, rSize ); in createSurface()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuins1.cxx | 111 rPos.X() = -rPos.X() - rSize.Width(); in ScLimitSizeOnDrawPage() 114 if ( rSize.Width() > aPageSize.Width() || rSize.Height() > aPageSize.Height() ) in ScLimitSizeOnDrawPage() 121 rSize.Width() = aPageSize.Width(); in ScLimitSizeOnDrawPage() 122 rSize.Height() = (long) ( rSize.Height() * fX ); in ScLimitSizeOnDrawPage() 126 rSize.Height() = aPageSize.Height(); in ScLimitSizeOnDrawPage() 127 rSize.Width() = (long) ( rSize.Width() * fY ); in ScLimitSizeOnDrawPage() 130 if (!rSize.Width()) in ScLimitSizeOnDrawPage() 131 rSize.Width() = 1; in ScLimitSizeOnDrawPage() 132 if (!rSize.Height()) in ScLimitSizeOnDrawPage() 133 rSize.Height() = 1; in ScLimitSizeOnDrawPage() [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | paperinf.hxx | 47 …static Paper GetSvxPaper( const Size &rSize, MapUnit eUnit = MAP_TWIP, bool bSloppy = sal_False… 54 inline Size &Swap(Size &rSize) in Swap() argument 56 const long lVal = rSize.Width(); in Swap() 57 rSize.Width() = rSize.Height(); in Swap() 58 rSize.Height() = lVal; in Swap() 59 return rSize; in Swap() 62 inline Size &LandscapeSwap(Size &rSize) in LandscapeSwap() argument 64 if ( rSize.Height() > rSize.Width() ) in LandscapeSwap() 65 Swap( rSize ); in LandscapeSwap() 66 return rSize; in LandscapeSwap()
|
/trunk/main/vcl/inc/vcl/ |
H A D | dockwin.hxx | 158 void Resizing( Size& rSize ); 173 void SetRollUpOutputSizePixel( const Size& rSize ); 176 void SetMinOutputSizePixel( const Size& rSize ); 179 void SetMaxOutputSizePixel( const Size& rSize ); 321 virtual void Resizing( Size& rSize ); 341 void SetMinOutputSizePixel( const Size& rSize ); 344 void SetMaxOutputSizePixel( const Size& rSize ); 414 mpFloatWin->SetRollUpOutputSizePixel( rSize ); in SetRollUpOutputSizePixel() 415 maRollUpOutSize = rSize; in SetRollUpOutputSizePixel() 428 mpFloatWin->SetMinOutputSizePixel( rSize ); in SetMinOutputSizePixel() [all …]
|
/trunk/main/filter/inc/filter/msfilter/ |
H A D | msocximex.hxx | 468 const com::sun::star::awt::Size& rSize); 472 const com::sun::star::awt::Size& rSize); 944 const com::sun::star::awt::Size& rSize); 948 const com::sun::star::awt::Size& rSize); 970 const com::sun::star::awt::Size& rSize); 974 const com::sun::star::awt::Size& rSize); 999 const com::sun::star::awt::Size& rSize); 1003 const com::sun::star::awt::Size& rSize); 1018 const com::sun::star::awt::Size& rSize); 1022 const com::sun::star::awt::Size& rSize); [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 56 void DialControlBmp::InitBitmap( const Size& rSize, const Font& rFont ) in InitBitmap() argument 58 Init( rSize ); in InitBitmap() 72 Init( rSize ); in DrawBackground() 139 void DialControlBmp::Init( const Size& rSize ) in Init() argument 143 maRect.SetSize( rSize ); in Init() 144 mnCenterX = rSize.Width() / 2; in Init() 145 mnCenterY = rSize.Height() / 2; in Init() 146 SetOutputSize( rSize ); in Init() 248 Init( rSize, rFont ); in DialControl() 256 Init( rSize, pParent->GetFont() ); in DialControl() [all …]
|
/trunk/main/chart2/source/view/main/ |
H A D | ShapeFactory.cxx | 183 const double fWidthH = rSize.DirectionX >=0.0? rSize.DirectionX/2.0 : -rSize.DirectionX/2.0; in createPolyPolygon_Cube() 184 const double fHeight = rSize.DirectionY; in createPolyPolygon_Cube() 498 double fDepth = rSize.DirectionZ; in impl_createCube() 560 const double fWidth = rSize.DirectionX; in createPyramid() 561 const double fDepth = rSize.DirectionZ; in createPyramid() 562 const double fHeight = rSize.DirectionY; in createPyramid() 731 double fHeight = rSize.DirectionY; in impl_createConeOrCylinder() 759 aM.scale(1.0,1.0,rSize.DirectionZ/rSize.DirectionX); in impl_createConeOrCylinder() 1824 , const drawing::Direction3D& rSize in createSymbol2D() argument 2213 , const awt::Size& rSize ) in createInvisibleRectangle() argument [all …]
|
/trunk/main/vcl/source/helper/ |
H A D | canvastools.cxx | 462 return geometry::RealSize2D( rSize.Width(), in size2DFromSize() 463 rSize.Height() ); in size2DFromSize() 480 return Size( static_cast<long>(rSize.Width + .5), in sizeFromRealSize2D() 540 return ::basegfx::B2DVector( rSize.Width(), in b2DSizeFromSize() 541 rSize.Height() ); in b2DSizeFromSize() 560 return ::basegfx::B2IVector( rSize.Width(), in b2ISizeFromSize() 561 rSize.Height() ); in b2ISizeFromSize() 580 return geometry::IntegerSize2D( rSize.Width(), in integerSize2DFromSize() 581 rSize.Height() ); in integerSize2DFromSize() 598 return Size( rSize.Width, in sizeFromIntegerSize2D() [all …]
|
/trunk/main/filter/source/msfilter/ |
H A D | msocximex.cxx | 1501 const awt::Size &rSize) in Export() argument 1554 const awt::Size &rSize) in WriteContents() argument 1603 const awt::Size &rSize) in Export() argument 1708 const awt::Size &rSize) in WriteContents() argument 1822 const awt::Size &rSize) in Export() argument 1960 const awt::Size &rSize) in WriteContents() argument 2095 const awt::Size &rSize) in Export() argument 2145 const awt::Size &rSize) in WriteContents() argument 2243 const awt::Size &rSize) in Export() argument 2597 const awt::Size &rSize) in WriteContents() argument [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 138 aPolyPoly.Move( rSize.Width(), rSize.Height() ); in MoveClipRegion() 1926 if ( rSize.Width() && rSize.Height() ) in SetDevExt() 1933 mnDevWidth = rSize.Width(); in SetDevExt() 1934 mnDevHeight = rSize.Height(); in SetDevExt() 1969 if( rSize.Width() && rSize.Height() ) in SetWinExt() 1976 mnWinExtX = rSize.Width(); in SetWinExt() 1977 mnWinExtY = rSize.Height(); in SetWinExt() 2009 mnPixX = rSize.Width(); in SetRefPix() 2010 mnPixY = rSize.Height(); in SetRefPix() 2017 mnMillX = rSize.Width(); in SetRefMill() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | childwin.cxx | 124 rSize.Width() = rStr.GetToken(0, '/', nIdx).ToInt32(); in GetPosSizeFromString() 125 rSize.Height() = rStr.GetToken(0, '/', nIdx).ToInt32(); in GetPosSizeFromString() 128 if ( rSize.Width() < 0 || rSize.Height() < 0 ) in GetPosSizeFromString() 134 sal_Bool GetSplitSizeFromString( const String& rStr, Size& rSize ) in GetSplitSizeFromString() argument 145 rSize.Width() = aStr.GetToken(0, ';' ).ToInt32(); in GetSplitSizeFromString() 146 rSize.Height() = aStr.GetToken(1, ';' ).ToInt32(); in GetSplitSizeFromString() 149 if ( rSize.Width() < 0 || rSize.Height() < 0 ) in GetSplitSizeFromString() 332 void SfxChildWindow::SetPosSizePixel(const Point& rPoint, Size& rSize) in SetPosSizePixel() argument 336 pWindow->SetPosSizePixel(rPoint, rSize); in SetPosSizePixel() 401 rSize.Width() = aTokenStr.ToInt32(); [all …]
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 91 maSize = rSize; in setBoundingBox() 196 rSize.setWidth(nW); in getPopupBoundingBox() 197 rSize.setHeight(nH); in getPopupBoundingBox() 841 rSize = aSize1; in getMenuItemPosSize() 1081 rSize = maWndSize; in getSectionPosSize() 1097 rSize.Width() -= nListBoxInnerPadding*2; in getSectionPosSize() 1113 rSize = Size(70, h); in getSectionPosSize() 1122 rSize = Size(h, h); in getSectionPosSize() 1131 rSize = Size(h, h); in getSectionPosSize() 1139 rSize = Size(nBtnWidth, nBtnHeight); in getSectionPosSize() [all …]
|
/trunk/main/canvas/source/tools/ |
H A D | pagemanager.cxx | 41 FragmentSharedPtr PageManager::allocateSpace( const ::basegfx::B2ISize& rSize ) in allocateSpace() argument 50 FragmentSharedPtr pFragment((*it)->allocateSpace(rSize)); in allocateSpace() 68 FragmentSharedPtr pFragment(pPage->allocateSpace(rSize)); in allocateSpace() 78 FragmentSharedPtr pFragment(new PageFragment(rSize)); in allocateSpace() 131 const ::basegfx::B2ISize& rSize((*candidate)->getSize()); in nakedFragment() local 132 sal_uInt32 nMaxArea(rSize.getX()*rSize.getY()); in nakedFragment()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 635 const Size& rSize, const Gradient& rTransparenceGradient ) in DrawTransparent() argument 652 ( (GDIMetaFile&) rMtf ).Play( this, rPos, rSize ); in DrawTransparent() 658 Rectangle aOutRect( LogicToPixel( rPos ), LogicToPixel( rSize ) ); in DrawTransparent() 714 ((GDIMetaFile&)rMtf).Play(pVDev, rPos, rSize); in DrawTransparent() 747 ( (GDIMetaFile&) rMtf ).Play( pVDev, rPos, rSize ); in DrawTransparent() 760 ( (GDIMetaFile&) rMtf ).Play( pVDev, rPos, rSize ); in DrawTransparent() 1199 bool OutputDevice::DrawEPS( const Point& rPoint, const Size& rSize, in DrawEPS() argument 1246 Graphic( *pSubst ).Draw( this, rPoint, rSize ); in DrawEPS() 1252 mpAlphaVDev->DrawEPS( rPoint, rSize, rGfxLink, pSubst ); in DrawEPS() 1261 const sal_uInt32 nMaxX(rPos.X() + rSize.Width()); in DrawCheckered() [all …]
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salbmp.cxx | 585 mhDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create() 589 maSize = rSize; in Create() 762 if( rSize.Width() <= 0 || rSize.Height() <= 0 ) in ImplCreateDIB() 766 const sal_uLong nAlignedWidth4Bytes = AlignedWidth4Bytes( nBits * rSize.Width() ); in ImplCreateDIB() 767 const sal_uLong nImageSize = nAlignedWidth4Bytes * rSize.Height(); in ImplCreateDIB() 768 bool bOverflow = (nImageSize / nAlignedWidth4Bytes) != rSize.Height(); in ImplCreateDIB() 787 pBIH->biWidth = rSize.Width(); in ImplCreateDIB() 788 pBIH->biHeight = rSize.Height(); in ImplCreateDIB() 1083 const Size& rSize = GetSize (); in GetSystemData() local 1084 rData.mnWidth = rSize.Width(); in GetSystemData() [all …]
|
/trunk/main/tools/source/generic/ |
H A D | gen.cxx | 198 void Rectangle::SetSize( const Size& rSize ) in SetSize() argument 200 if ( rSize.Width() < 0 ) in SetSize() 201 nRight = nLeft + rSize.Width() +1; in SetSize() 202 else if ( rSize.Width() > 0 ) in SetSize() 203 nRight = nLeft + rSize.Width() -1; in SetSize() 207 if ( rSize.Height() < 0 ) in SetSize() 208 nBottom = nTop + rSize.Height() +1; in SetSize() 209 else if ( rSize.Height() > 0 ) in SetSize() 210 nBottom = nTop + rSize.Height() -1; in SetSize()
|
/trunk/main/basegfx/source/tools/ |
H A D | canvastools.cxx | 482 ::basegfx::B2DVector b2DSizeFromRealSize2D( const geometry::RealSize2D& rSize ) in b2DSizeFromRealSize2D() argument 484 return ::basegfx::B2DVector( rSize.Width, in b2DSizeFromRealSize2D() 485 rSize.Height ); in b2DSizeFromRealSize2D() 512 geometry::IntegerSize2D integerSize2DFromB2ISize( const ::basegfx::B2IVector& rSize ) in integerSize2DFromB2ISize() argument 514 return geometry::IntegerSize2D( rSize.getX(), in integerSize2DFromB2ISize() 515 rSize.getY() ); in integerSize2DFromB2ISize() 532 return ::basegfx::B2IVector( rSize.Width, in b2ISizeFromIntegerSize2D() 533 rSize.Height ); in b2ISizeFromIntegerSize2D() 575 ::basegfx::B2IVector b2ISizeFromAwtSize( const awt::Size& rSize ) in b2ISizeFromAwtSize() argument 577 return ::basegfx::B2IVector( rSize.Width, in b2ISizeFromAwtSize() [all …]
|
/trunk/main/chart2/source/view/inc/ |
H A D | ShapeFactory.hxx | 71 , const ::com::sun::star::drawing::Direction3D& rSize 81 , const ::com::sun::star::drawing::Direction3D& rSize 88 , const ::com::sun::star::drawing::Direction3D& rSize 99 , const ::com::sun::star::drawing::Direction3D& rSize 140 , const ::com::sun::star::drawing::Direction3D& rSize 148 , const ::com::sun::star::drawing::Direction3D& rSize 164 , const ::com::sun::star::drawing::Direction3D& rSize ); 180 , const ::com::sun::star::awt::Size& rSize ); 232 … , const ::com::sun::star::drawing::Direction3D& rSize, sal_Int32 nRotateZAngleHundredthDegree 238 , const ::com::sun::star::drawing::Direction3D& rSize
|