/trunk/main/svtools/source/control/ |
H A D | toolbarmenu.cxx | 678 aMaxImgSz.Width() = std::max( aMaxImgSz.Width(), aImgSz.Width() ); in implCalcSize() 685 mpImpl->mnTextPos = mpImpl->mnImagePos + aMaxImgSz.Width(); in implCalcSize() 687 if ( aMaxImgSz.Width() ) in implCalcSize() 718 nMaxTextWidth = std::max( aControlSize.Width(), nMaxTextWidth ); in implCalcSize() 725 aSz.Width() = nMaxTextWidth + (BORDER_X<<1); in implCalcSize() 735 pEntry->maSize.Width() = nMaxTextWidth; in implCalcSize() 740 Point aControlPos( (aSz.Width() - aControlSize.Width())>>1, nY); in implCalcSize() 1407 DrawLine( aTmpPos, Point( aOutSz.Width() - 3 - 2*nOuterSpace, aTmpPos.Y() ) ); in implPaint() 1410 DrawLine( aTmpPos, Point( aOutSz.Width() - 3 - 2*nOuterSpace, aTmpPos.Y() ) ); in implPaint() 1444 Rectangle aRect( aTopLeft, Size( aOutSz.Width(), pEntry->maSize.Height() ) ); in implPaint() [all …]
|
H A D | headbar.cxx | 414 aImageSize.Width() = 0; in ImplDrawItem() 423 long nTxtWidth = aTxtSize.Width(); in ImplDrawItem() 448 nTxtPos -= aImageSize.Width(); in ImplDrawItem() 457 nTxtPos += aImageSize.Width(); in ImplDrawItem() 464 nTxtPos += aImageSize.Width(); in ImplDrawItem() 472 nTxtPos += aImageSize.Width(); in ImplDrawItem() 523 nImagePos -= aImageSize.Width(); in ImplDrawItem() 577 nArrowX -= aImageSize.Width(); in ImplDrawItem() 579 nArrowX += aImageSize.Width(); in ImplDrawItem() 1077 mnDX = aSize.Width(); in Resize() [all …]
|
H A D | ctrlbox.cxx | 285 aSize.Width() -= 20; in ImpGetLine() 286 aSize.Width() -= aTxtSize.Width(); in ImpGetLine() 325 if ( aSize.Width() > 0 ) in ImpGetLine() 334 aVirDev.DrawRect( Rectangle( 0, 0, aSize.Width(), n1-nPix ) ); in ImpGetLine() 338 aSize.Width(), n1+nDist+n2-nPix ) ); in ImpGetLine() 763 aSz.Width() *= nMaxLen; in ImplCalcUserItemSize() 765 aSz.Width() *= 1; in ImplCalcUserItemSize() 766 aSz.Width() /= 10; in ImplCalcUserItemSize() 773 aSz.Width() += aOneCharSz.Width() * nLength; in ImplCalcUserItemSize() 782 aUserItemSz.Width() += aSz.Width() + IMGTEXTSPACE; in ImplCalcUserItemSize() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | menu.cxx | 2422 pData->aSz.Width() = 0; in ImplCalcSize() 2441 if ( aImgSz.Width() > aMaxImgSz.Width() ) in ImplCalcSize() 2442 aMaxImgSz.Width() = aImgSz.Width(); in ImplCalcSize() 2476 aSz.Width() += pData->aSz.Width(); in ImplCalcSize() 2549 aSz.Width() += 2*nOuterSpace; in ImplCalcSize() 2589 aSz.Width() += pLogo->aBitmap.GetSizePixel().Width(); in ImplCalcSize() 2711 aSz.Width() = aOutSz.Width() - 2*nOuterSpace; in ImplPaint() 5121 aPxSize.Width() -= nX; in Paint() 5689 nX += pData->aSz.Width(); in HighlightItem() 5939 long nX = aOutSz.Width()-3; in Resize() [all …]
|
H A D | brdwin.cxx | 430 pData->mnTrackWidth = aSize.Width(); in ImplMouseButtonDown() 823 long nOldWidth = aSize.Width(); in ImplTracking() 880 aSize.Width() -= nBorderWidth; in ImplTracking() 883 aSize.Width() += nBorderWidth; in ImplTracking() 885 if ( aSize.Width() < nMinWidth ) in ImplTracking() 886 aSize.Width() = nMinWidth; in ImplTracking() 889 if ( aSize.Width() > nMaxWidth ) in ImplTracking() 890 aSize.Width() = nMaxWidth; in ImplTracking() 2153 aSize.Width() += nLeftBorder+nRightBorder; in UpdateView() 2165 if ( aOldSize.Width() || aOldSize.Height() ) in UpdateView() [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 313 aFontSize.Width() = aMetric.GetWidth(); in WinMtfFontStyle() 799 aSize.Width() += 1; in CreateObject() 800 long nDotLen = ImplMap( aSize ).Width(); in CreateObject() 836 aSize.Width() += 1; in CreateObject() 1649 aMapMode.SetScaleX( Fraction( aSizePixel.Width(), aOutputSizePixel.Width() ) ); in ImplDrawBitmap() 1926 if ( rSize.Width() && rSize.Height() ) in SetDevExt() 1933 mnDevWidth = rSize.Width(); in SetDevExt() 1969 if( rSize.Width() && rSize.Height() ) in SetWinExt() 1976 mnWinExtX = rSize.Width(); in SetWinExt() 2009 mnPixX = rSize.Width(); in SetRefPix() [all …]
|
/trunk/main/chart2/source/controller/main/ |
H A D | ChartController_Position.cxx | 89 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 92 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 98 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 102 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 109 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 113 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 169 awt::Rectangle aPageRect( 0,0,aPageSize.Width,aPageSize.Height ); in executeDispatch_PositionAndSize()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterScrollBar.cxx | 814 const double nBarWidth (aWindowBox.Width); in GetDragDistance() 832 const double nBarWidth (aWindowBox.Width); in UpdateDragAnchor() 904 0,0, aWindowBox.Width, nBottom); in UpdateBorders() 922 aWindowBox.Width, in UpdateBorders() 1036 const double nPagerWidth (aWindowBox.Width - 2*nBarHeight); in GetDragDistance() 1054 const double nPagerWidth (aWindowBox.Width - 2*nBarHeight); in UpdateDragAnchor() 1100 double nRight = aWindowBox.Width; in UpdateBorders() 1110 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() 1111 nRight -= aSize.Width + nGap; in UpdateBorders() 1121 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() [all …]
|
/trunk/main/svtools/source/filter/ |
H A D | filter2.cxx | 184 aPixSize.Width() = nTemp32; in ImpDetectBMP() 206 aLogSize.Width() = ( aPixSize.Width() * 100000 ) / nTemp32; in ImpDetectBMP() 258 aPixSize.Width() = nTemp16; in ImpDetectGIF() 445 aPixSize.Width() = nSamplesPerLine; in ImpDetectJPG() 560 aPixSize.Width() = nXmax - nXmin + 1; in ImpDetectPCX() 622 aPixSize.Width() = nTemp32; in ImpDetectPNG() 671 aLogSize.Width() = ( aPixSize.Width() * 100000 ) / in ImpDetectPNG() 762 aPixSize.Width() = nTemp16; in ImpDetectTIF() 768 aPixSize.Width() = nTemp32; in ImpDetectTIF() 1020 aPixSize.Width() = nColumns; in ImpDetectPSD() [all …]
|
/trunk/main/sdext/source/minimizer/ |
H A D | informationdialog.cxx | 348 nX = nY = aSize3.Width; in InitDialog() 363 aSizePixel.Width, in InitDialog() 367 nX += aSizePixel.Width + aSize3.Width; in InitDialog() 372 aPosSizePixel.Width, in InitDialog() 376 nDlgWidth = nX + aPosSizePixel.Width + aSize3.Width; in InitDialog() 385 aPosSizePixel.Width, in InitDialog() 394 xButton->setPosSize( nDlgWidth / 2 - aPosSizePixel.Width / 2, in InitDialog() 396 aPosSizePixel.Width, in InitDialog()
|
/trunk/main/cui/source/dialogs/ |
H A D | cuihyperdlg.cxx | 205 if( aDlgPos.X()+(1.02*aDlgSize.Width())+aExtraWndSize.Width() > aWindowSize.Width() ) in Move() 207 if( aDlgPos.X() - ( 0.02*aDlgSize.Width() ) - aExtraWndSize.Width() < 0 ) in Move() 216 Point( long(0.02*aDlgSize.Width()), 0 ) - in Move() 217 Point( aExtraWndSize.Width(), 0 ) ); in Move() 223 bDoInvalid = pCurrentPage->MoveToExtraWnd ( aDlgPos + Point( long(1.02*aDlgSize.Width()), 0 ) ); in Move()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdhlpln.cxx | 49 FASTBOOL bXHit=rPnt.X()>=aPos.X()-nTolLog && rPnt.X()<=aPos.X()+nTolLog+a1Pix.Width(); in IsHit() 57 return rPnt.X()>=aPos.X()-aRad.Width() && rPnt.X()<=aPos.X()+aRad.Width()+a1Pix.Width() && in IsHit() 72 case SDRHELPLINE_HORIZONTAL: aRet.Left()=-aOfs.X(); aRet.Right()=-aOfs.X()+aSiz.Width(); break; in GetBoundRect() 75 aRet.Left() -=aRad.Width(); in GetBoundRect() 76 aRet.Right() +=aRad.Width(); in GetBoundRect()
|
/trunk/main/sw/source/core/view/ |
H A D | viewpg.cxx | 180 nMaxColSz = 2 * aNxtPageSize.Width(); in PrintProspect() 185 nMaxColSz = 2 * aSttPageSize.Width(); in PrintProspect() 190 nMaxColSz = aNxtPageSize.Width() + aSttPageSize.Width(); in PrintProspect() 197 Fraction aScX( aPrtSize.Width(), nMaxColSz ); in PrintProspect() 221 Point aSttPt( (aTmpPrtSize.Width() - nMaxColSz) / 2, in PrintProspect() 239 aSttPt.X() += aTmpPrtSize.Width() / 2; in PrintProspect()
|
/trunk/main/sd/source/ui/view/ |
H A D | viewshel.cxx | 241 mpContentWindow->GetSizePixel().Width(), in construct() 258 mpVerticalScrollBar->GetSizePixel().Width(), in construct() 799 nHRulerOfs = mpVerticalRuler->GetSizePixel().Width(); in SetupRulers() 916 if (aSize.Width()==0 || aSize.Height()==0) in Resize() 964 aBorder.Right() = maScrBarWH.Width(); in GetBorder() 992 long nRight = maViewPos.X() + maViewSize.Width(); in ArrangeGUIElements() 1012 nRight -= maScrBarWH.Width(); in ArrangeGUIElements() 1015 Size (maScrBarWH.Width(),nBottom-nTop)); in ArrangeGUIElements() 1039 aRulerSize.Width() = nRight - nLeft; in ArrangeGUIElements() 1053 nLeft += aRulerSize.Width(); in ArrangeGUIElements() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | ctredlin.cxx | 663 aSize.Width()-=2*aPos.X(); in Resize() 753 sal_uIntPtr nSize=PbUndo.GetSizePixel().Width() in GetMinSizePixel() 757 aSize.Width()=nSize; in GetMinSizePixel() 1443 gDiffSize.Width()=aSize.Width()-aMinSize.Width(); in SvxAcceptChgCtr() 1470 gDiffSize.Width()=aSize.Width()-aMinSize.Width(); in SvxAcceptChgCtr() 1499 if(aMinSize.Width()>aSize.Width()) in Resize() 1501 aSize.Width()=aMinSize.Width(); in Resize() 1512 aSize.Width()-=2; in Resize() 1520 aSize.Width()+=gDiffSize.Width(); in GetMinSizePixel()
|
H A D | _contdlg.cxx | 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() 297 if ( aOrgSize.Width() && aOrgSize.Height() ) in ScaleContour() 299 fScaleX = (double) rDisplaySize.Width() / aOrgSize.Width(); in ScaleContour() 423 aPos.X() += aTbxSize.Width() + LogicToPixel( Size( 3, 0 ), MapMode( MAP_APPFONT ) ).Width(); in SvxSuperContourDlg() 474 aStbStatus.SetPosSizePixel( aPoint, Size( aNewSize.Width(), _aSize.Height() ) ); in Resize() 478 _aSize.Width() = aNewSize.Width() - 18; in Resize() 898 aStr.Assign( GetUnitString( rSize.Width(), eFieldUnit, cSep ) ); in IMPL_LINK()
|
H A D | fntctrl.cxx | 79 aSize.Width() = ( aSize.Width() * 3 ) / 5; in setFontSize() 310 Width(); in CalcTextSize() 703 long nX = aLogSize.Width() / 2 - aTxtSize.Width() / 2; in Paint() 748 nStartBracketWidth = rFont.GetTxtSize( pPrinter, sBracket ).Width(); in Paint() 753 nEndBracketWidth = rFont.GetTxtSize( pPrinter, sBracket ).Width(); in Paint() 755 nTextWidth = pImpl->CalcTextSize( this, pPrinter, aSmallFont ).Width(); in Paint() 760 long _nX = (aLogSize.Width() - nResultWidth) / 2; in Paint() 762 DrawLine( Point( _nX + nResultWidth, nY ), Point( aLogSize.Width(), nY ) ); in Paint() 794 DrawLine( Point( nX + aTxtSize.Width(), nY ), Point( aLogSize.Width(), nY ) ); in Paint()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_dependencydialog.cxx | 55 GetOutputSizePixel().Width() - m_list.GetSizePixel().Width(), in DependencyDialog() 75 GetOutputSizePixel().Width() - m_listDelta.Width(), in Resize() 80 (m_list.GetSizePixel().Width() - m_ok.GetSizePixel().Width()) / 2), in Resize()
|
/trunk/main/sw/source/core/text/ |
H A D | txtfly.cxx | 256 aSt.X() += pLay->Width(); in UpdatePos() 365 aLine.Width( pPos->Width() ); in ChkFlyUnderflow() 418 aLine.Left( aLine.Left() + pPos->Width() ); in ChkFlyUnderflow() 515 aInter.Width( aInter.Width() + nAddMar ); in CalcFlyWidth() 603 if( pFly->Fix() < rInf.Width() ) in CalcFlyWidth() 604 rInf.Width( pFly->Fix() ); in CalcFlyWidth() 638 rInf.Width( 0 ); in CalcFlyWidth() 935 aRect.Width( aRect.Width() + nSpaceCnt * rInf.GetSpace() ); in DrawTextOpaque() 938 aRect.Width( aRect.Width() - nTmpLen * rInf.GetSpace() ); in DrawTextOpaque() 1744 aRet.Width( 0 ); in CalcBoundRect() [all …]
|
/trunk/main/svtools/workben/toolpanel/ |
H A D | toolpaneltest.cxx | 103 const Rectangle aTitleRect( Point( 10, 10 ), Size( aOutputSize.Width() - 20, 20 ) ); in Paint() 119 Size( aOutputSize.Width() - 40, 20 ) in Resize() 123 Size( aOutputSize.Width() - 40, 150 ) in Resize() 523 const long nIndent( LogicToPixel( Size( 6, 9 ), MAP_APPFONT ).Width() ); in Resize() 528 const long nSuperordinateWidth = aOutputSize.Width() - 2 * aSpacing.Width(); in Resize() 529 const long nSuperordinateX = aSpacing.Width(); in Resize() 531 const long nSubordinateWidth = aOutputSize.Width() - 2 * aSpacing.Width() - nIndent; in Resize() 532 const long nSubordinateX = aSpacing.Width() + nIndent; in Resize() 791 aSize.Width() -= 240; in Resize() 796 Point( 20 + aSize.Width(), 20 ), in Resize()
|
/trunk/main/basegfx/source/tools/ |
H A D | canvastools.cxx | 484 return ::basegfx::B2DVector( rSize.Width, in b2DSizeFromRealSize2D() 532 return ::basegfx::B2IVector( rSize.Width, in b2ISizeFromIntegerSize2D() 577 return ::basegfx::B2IVector( rSize.Width, in b2ISizeFromAwtSize() 591 rRect.X + rRect.Width, in b2IRectangleFromAwtRectangle() 616 return (rA.Width == rB.Width && rA.Height == rB.Height); in RealSize2DAreEqual() 641 return (rA.Width == rB.Width && rA.Height == rB.Height); in IntegerSize2DAreEqual() 656 return (rA.Width == rB.Width && rA.Height == rB.Height); in awtSizeAreEqual() 666 return (rA.X == rB.X && rA.Y == rB.Y && rA.Width == rB.Width && rA.Height == rB.Height); in awtRectangleAreEqual()
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 95 maPos.X() -= maSize.Width() - 1; in setBoundingBox() 141 mpOutDev->DrawLine(Point(maPos), Point(maPos.X()+maSize.Width()-1, maPos.Y())); in draw() 146 mpOutDev->DrawLine(Point(maPos.X()+maSize.Width()-1, maPos.Y()), in draw() 221 mpOutDev->DrawLine(Point(aPos.X()+aSize.Width()-2, aPos.Y()+1), in drawPopupButton() 229 Point aCenter(aPos.X() + (aSize.Width() >> 1), aPos.Y() + (aSize.Height() >> 1)); in drawPopupButton() 257 Point aBoxPos(aPos.X() + aSize.Width() - 5, aPos.Y() + aSize.Height() - 5); in drawPopupButton() 503 aMarkerPos.X() += aSize.Width() - nFontHeight + nFontHeight/4; in drawMenuItem() 837 Size aSize1(aWndSize.Width() - nLeftMargin*2, nMenuItemHeight); in getMenuItemPosSize() 1097 rSize.Width() -= nListBoxInnerPadding*2; in getSectionPosSize() 1136 long x = (maWndSize.Width() - nBtnWidth*2)/3; in getSectionPosSize() [all …]
|
/trunk/main/vcl/unx/generic/app/ |
H A D | i18n_status.cxx | 153 m_aWindowSize.Width() = m_aStatusText.GetTextWidth( m_aStatusText.GetText() )+8; in layout() 159 aControlSize.Width() -= 4; in layout() 169 long nDelta = pFrame->maGeometry.nWidth - m_aWindowSize.Width(); in layout() 172 m_aWindowSize.Width(), in layout() 233 ? -m_aWindowSize.Width() - nGap in updatePosition() 239 aRet.X() = x + aPosEvent.mnX + (bLeft ? -m_aWindowSize.Width() : 0); in updatePosition() 263 …pStatusFrame->SetPosSize( aPoint.X(), aPoint.Y(), m_aWindowSize.Width(), m_aWindowSize.Height(), S… in setPosition() 275 Size aControlSize( m_aWindowSize.Width()-4, m_aWindowSize.Height()-4 ); in IMPL_LINK() 278 …pStatusFrame->SetPosSize( aPoint.X(), aPoint.Y(), m_aWindowSize.Width(), m_aWindowSize.Height(), S… in IMPL_LINK() 303 m_aWindowSize.Width() = m_aStatusText.GetTextWidth( rText )+8; in setText()
|
/trunk/main/svx/workben/ |
H A D | edittest.cxx | 1265 Point aOffset( aSz.Width()/8, aSz.Height()/8 ); in CreatePolygon() 1266 aSz.Width() *= 3; in CreatePolygon() 1267 aSz.Width() /= 4; in CreatePolygon() 1271 aPoly.SetPoint( Point( aSz.Width()/2, 0 ), 0 ); in CreatePolygon() 1272 aPoly.SetPoint( Point( aSz.Width(), aSz.Height()/3 ), 1 ); in CreatePolygon() 1275 aPoly.SetPoint( Point( aSz.Width()/2, 0 ), 4 ); in CreatePolygon() 1329 aSz.Width() = nScrollbarWidthPixel; in SetScrollBars() 1335 aSz.Width() -= aVScrollBar.GetSizePixel().Width(); in SetScrollBars() 1336 aSz.Width() += 2; in SetScrollBars() 1352 long nBorder = aVScrollBar.GetSizePixel().Width(); in Resize() [all …]
|
/trunk/main/avmedia/source/viewer/ |
H A D | mediawindow_impl.cxx | 242 …aArgs[ 1 ] = uno::makeAny( awt::Rectangle( aPoint.X(), aPoint.Y(), aSize.Width(), aSize.Height() )… in onURLChanged() 345 Size aPlayerWindowSize( aCurSize.Width() - ( nOffset << 1 ), in Resize() 354 …mpMediaWindowControl->SetPosSizePixel( Point( nOffset, nControlY ), Size( aCurSize.Width() - ( nOf… in Resize() 358 xPlayerWindow->setPosSize( 0, 0, aPlayerWindowSize.Width(), aPlayerWindowSize.Height(), 0 ); in Resize() 427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint() 430 const double fLogoWH = (double) aLogoSize.Width() / aLogoSize.Height(); in Paint() 434 aLogoSize.Width() = (long) ( aVideoRect.GetHeight() * fLogoWH ); in Paint() 439 aLogoSize.Width() = aVideoRect.GetWidth(); in Paint() 444 DrawBitmapEx( Point( aBasePos.X() + ( ( aVideoRect.GetWidth() - aLogoSize.Width() ) >> 1 ), in Paint()
|