/aoo4110/main/svx/source/dialog/ |
H A D | swframeexample.cxx | 104 sal_uIntPtr nOutHPix = aPage.GetHeight(); in InitAllRects_Impl() 153 / (aTextLine.GetHeight() + 2)); in InitAllRects_Impl() 176 aFont.SetSize(Size(0, aParaPrtArea.GetHeight() - 2)); in InitAllRects_Impl() 186 aParaPrtArea.Top() + (aParaPrtArea.GetHeight() - aAutoCharFrame.GetHeight()) / 2)); in InitAllRects_Impl() 457 sal_Int32 nStep = aTxt.GetHeight() + 2; in DrawInnerFrame_Impl() 458 sal_uInt16 nLines = (sal_uInt16)(aParaPrtArea.GetHeight() / (aTextLine.GetHeight() + 2)); in DrawInnerFrame_Impl() 615 const long nTxtLineHeight = aTextLine.GetHeight(); in Paint() 627 nStep = aTxt.GetHeight() + 2; in Paint() 629 / (aTxt.GetHeight() + 2)); in Paint() 633 nStep = aTxt.GetHeight() + 2; in Paint() [all …]
|
/aoo4110/main/vcl/unx/gtk/gdi/ |
H A D | salnativewidgets-gtk.cxx | 330 pData[i].m_pixmapRect.GetHeight() == r_pixmapRect.GetHeight() && in Find() 1112 h = rControlRectangle.GetHeight(); in NWPaintGTKButton() 1236 h = aAreaRect.GetHeight(); in NWGetButtonArea() 1369 rButton.Top() + ( rButton.GetHeight() - rArrow.GetHeight() ) / 2 in NWCalcArrowRect() 1545 …&& ((scrollbarRect.GetHeight()-button1BoundRect.GetHeight()-button2BoundRect.GetHeight()) > min_sl… in NWPaintGTKScrollbar() 1583 h = pixmapRect.GetHeight(); in NWPaintGTKScrollbar() 2086 arrowRect.setY( buttonRect.Top() + (buttonRect.GetHeight() - arrowRect.GetHeight()) / 2 + 1); in NWPaintOneSpinButton() 2088 arrowRect.setY( buttonRect.Top() + (buttonRect.GetHeight() - arrowRect.GetHeight()) / 2 - 1); in NWPaintOneSpinButton() 2491 h = rControlRectangle.GetHeight(); in NWPaintGTKToolbar() 2638 h = rControlRectangle.GetHeight(); in NWPaintGTKMenubar() [all …]
|
/aoo4110/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 62 if (aContentArea.GetWidth()<=0 || aContentArea.GetHeight()<=0) in LayoutDeck() 110 sal_Int32 nAvailableHeight (aBox.GetHeight()); in LayoutPanels() 112 const sal_Int32 nTotalDecorationHeight (aBox.GetHeight() - nAvailableHeight); in LayoutPanels() 166 aBox.GetHeight(), in LayoutPanels() 178 : aBox.GetHeight()); in LayoutPanels() 180 if (nContentHeight-nY < aBox.GetHeight()) in LayoutPanels() 181 nY = nContentHeight-aBox.GetHeight(); in LayoutPanels() 191 SetupVerticalScrollBar(rVerticalScrollBar, nContentHeight, aBox.GetHeight()); in LayoutPanels() 300 rAvailableHeight = rContentBox.GetHeight(); in GetRequestedSizes() 469 rAvailableSpace.GetHeight()); in PlaceVerticalScrollBar() [all …]
|
/aoo4110/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 447 nY += pParaPortion->GetHeight(); in FormatDoc() 850 nTextLineHeight = pLine->GetHeight(); in CreateLines() 1299 if ( nLineHeight > pLine->GetHeight() ) in CreateLines() 1338 long nDiff = pLine->GetHeight() - nH; in CreateLines() 1473 …pLine->SetHeight( (sal_uInt16) ( pLine->GetHeight() + nTextExtraYOffset ), 0, pLine->GetHeight() ); in CreateLines() 1646 if ( nLineHeight > pTmpLine->GetHeight() ) in CreateAndInsertEmptyLine() 1721 long nMinHeight = aBulletArea.GetHeight(); in CreateAndInsertEmptyLine() 1750 long nOldHeight = pParaPortion->GetHeight(); in FinishCreateLines() 2915 long nParaHeight = pPortion->GetHeight(); in Paint() 2952 aStartPos.Y() += pLine->GetHeight(); in Paint() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | impgrfll.cxx | 103 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes() 122 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes() 153 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 160 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 167 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 245 ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1 ); in ImpCalcBmpFillSizes()
|
H A D | svdotxtr.cxx | 75 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetSnapRect() 77 long nTHgt1=rRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcSetSnapRect() 109 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetLogicRect() 111 long nTHgt1=rRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcSetLogicRect() 156 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcResize() 236 long nTHgt1=aRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcResize()
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 386 long nDesHeight = rRect.GetHeight(); in CalcPt() 387 long nCurHeight = aVisArea.GetHeight(); in CalcPt() 505 aVisArea.GetHeight() ); in Scroll() 522 aVisArea.GetHeight() ); in Scroll() 562 if ( !aVisArea.Top() || !aVisArea.GetHeight() ) in GetPageScrollUpOffset() 565 rOff = -(aVisArea.GetHeight() - nYScrl); in GetPageScrollUpOffset() 577 if ( !aVisArea.GetHeight() || in GetPageScrollDownOffset() 578 (aVisArea.GetHeight() > aDocSz.Height()) ) in GetPageScrollDownOffset() 581 rOff = aVisArea.GetHeight() - nYScrl; in GetPageScrollDownOffset() 595 if (!aVisArea.GetHeight()) in PageUp() [all …]
|
/aoo4110/main/vcl/unx/generic/printergfx/ |
H A D | bitmap_gfx.cxx | 424 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawBitmap() 442 sal_Int32 nImageSz = rSrc.GetWidth() * rSrc.GetHeight(); in DrawBitmap() 473 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawBitmap() 487 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawMask() 505 sal_uInt32 nHeight = rArea.GetHeight(); in DrawPS1GrayImage() 567 nChar += psp::getValueOf (rArea.GetHeight(), pImage + nChar); in writePS2ImageHeader()
|
/aoo4110/main/vcl/source/window/ |
H A D | brdwin.cxx | 103 long nExtraHeight = ((rRect.GetHeight()*50)+500)/1000; in ImplCalcSymbolRect() 861 if ( aNewRect.GetHeight() < nMinHeight ) in ImplTracking() 863 else if ( aNewRect.GetHeight() > nMaxHeight ) in ImplTracking() 869 if ( aNewRect.GetHeight() < nMinHeight ) in ImplTracking() 871 else if ( aNewRect.GetHeight() > nMaxHeight ) in ImplTracking() 918 pData->maMouseOff.Y() += aNewRect.GetHeight()-nOldHeight; in ImplTracking() 925 pData->mnTrackHeight = aNewRect.GetHeight(); in ImplTracking() 1183 if( mnHeight < aBounds.GetHeight() ) in Init() 1690 Size( nBorderSize, aInRect.GetHeight()-nBorderSize ) ) ); in DrawWindow() 1694 Size( nBorderSize, aInRect.GetHeight()-nBorderSize ) ) ); in DrawWindow() [all …]
|
H A D | arrange.cxx | 424 if( aOptSize.Height() > m_aManagedArea.GetHeight() ) in resize() 451 aElementSizes[i].Height() = m_aManagedArea.GetHeight() - 2 * nOuterBorder; in resize() 457 …long nExtraWidth = (m_bColumn ? m_aManagedArea.GetHeight() : m_aManagedArea.GetWidth()) - nUsedWid… in resize() 595 long nYOff = (m_aManagedArea.GetHeight() - 2*nOuterBorder - aLabelSize.Height()) / 2; in resize() 604 nYOff = (m_aManagedArea.GetHeight() - 2*nOuterBorder - aElementSize.Height()) / 2; in resize() 607 aSize.Height() = m_aManagedArea.GetHeight() - 2*nOuterBorder; in resize() 944 if( aOptSize.Height() > m_aManagedArea.GetHeight() || in resize() 949 if( aOptSize.Height() > m_aManagedArea.GetHeight() ) in resize() 961 nExtraSize = m_aManagedArea.GetHeight(); in resize()
|
/aoo4110/main/sw/source/core/view/ |
H A D | pagepreviewlayout.cxx | 468 maPaintedPrevwDocRect.GetHeight() < maWinSize.Height() ) in Prepare() 472 if ( maPaintedPrevwDocRect.GetHeight() < mnPrevwLayoutHeight) in Prepare() 475 0, -(mnPrevwLayoutHeight - maPaintedPrevwDocRect.GetHeight()) ); in Prepare() 484 0, -(maWinSize.Height() - maPaintedPrevwDocRect.GetHeight()) ); in Prepare() 565 maPreviewDocRect.GetHeight() - aTopLeftPos.Y() ); in _CalcDocPrevwPaintRect() 567 aSize.Height() = Min( maPreviewDocRect.GetHeight() - aTopLeftPos.Y(), in _CalcDocPrevwPaintRect() 794 else if ( maPaintedPrevwDocRect.GetHeight() < _aNewWinSize.Height() ) in GetPreviewStartPosForNewScale() 797 (_aNewWinSize.Height() - maPaintedPrevwDocRect.GetHeight()) / 2; in GetPreviewStartPosForNewScale() 810 if ( maPaintedPrevwDocRect.GetHeight() > _aNewWinSize.Height() ) in GetPreviewStartPosForNewScale() 813 (maPaintedPrevwDocRect.GetHeight() - _aNewWinSize.Height()) / 2; in GetPreviewStartPosForNewScale() [all …]
|
/aoo4110/main/xmloff/source/draw/ |
H A D | sdxmlexp.cxx | 129 sal_Int32 GetHeight() const { return mnHeight; } in GetHeight() function in ImpXMLEXPPageMasterInfo 1061 aRightTop.setHeight(long(aRightTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1086 aTop.setHeight(long(aTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1101 aLeftTop.setHeight(long(aLeftTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1114 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1130 aTop.setHeight(long(aTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1142 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1225 aTop.setHeight(long(aTop.GetHeight() * 0.488)); in ImpWriteAutoLayoutInfos() 1227 aBottom.Top() = long(aBottom.Top() + aBottom.GetHeight() * 1.05); in ImpWriteAutoLayoutInfos() 1267 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() [all …]
|
/aoo4110/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 175 maActiveRect.SetPos( Point( GetFirstX(), (GetHeight() - nActiveHeight - 1) / 2 ) ); in InitSizeData() 557 Rectangle aRect( Point( nPosX, 0 ), Size( nWidth, GetHeight() ) ); in ImplDrawArea() 571 sal_Int32 nY = GetHeight() - 1; in ImplDrawArea() 613 Point aPos( GetX( nPos ) - mnSplitSize / 2, GetHeight() - mnSplitSize - 2 ); in ImplDrawSplit() 618 maRulerDev.DrawPixel( Point( GetX( nPos ), GetHeight() - 2 ) ); in ImplDrawSplit() 628 Size aSize( mnSplitSize, GetHeight() ); in ImplEraseSplit() 650 …ImplInvertRect( maRulerDev, Rectangle( Point( GetX( nPos ) - 1, 0 ), Size( 3, GetHeight() - 1 ) ) … in ImplInvertCursor() 659 InvertTracking( Rectangle( 0, 0, GetWidth() - 1, GetHeight() - 2 ), in ImplDrawTrackingRect()
|
/aoo4110/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 801 if( (nXRef != Mx80000000) && aLogicRect.GetHeight() ) in EnhancedCustomShape2d() 857 case ENUM_FUNC_LOGHEIGHT : fRet = aLogicRect.GetHeight(); break; in GetEnumFunc() 949 fVal = aLogicRect.GetHeight() - fVal; in GetPoint() 1117 aTopLeft.Y() = aLogicRect.GetHeight() - aTopLeft.Y(); in GetTextRect() 1118 aBottomRight.Y() = aLogicRect.GetHeight() - aBottomRight.Y(); in GetTextRect() 1162 if ( aLogicRect.GetHeight() > aLogicRect.GetWidth() ) in GetHandlePosition() 1188 rReturnPosition.Y() = aLogicRect.GetHeight() - rReturnPosition.Y(); in GetHandlePosition() 1211 aP.Y() = aLogicRect.GetHeight() - aP.Y(); in SetHandleControllerPosition() 1233 if ( aLogicRect.GetHeight() > aLogicRect.GetWidth() ) in SetHandleControllerPosition() 1623 if ( aRect.GetWidth() && aRect.GetHeight() ) in CreateSubPath() [all …]
|
/aoo4110/main/sc/source/ui/drawfunc/ |
H A D | fupoor.cxx | 361 if(rRect.GetWidth() > rRect.GetHeight()) in ImpForceQuadratic() 364 Point(rRect.Left() + ((rRect.GetWidth() - rRect.GetHeight()) / 2), rRect.Top()), in ImpForceQuadratic() 365 Size(rRect.GetHeight(), rRect.GetHeight())); in ImpForceQuadratic() 370 Point(rRect.Left(), rRect.Top() + ((rRect.GetHeight() - rRect.GetWidth()) / 2)), in ImpForceQuadratic()
|
/aoo4110/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 513 if( (rZoomRect.GetWidth() != 0) && (rZoomRect.GetHeight() != 0)) in GetZoomForRect() 523 if(rZoomRect.GetHeight()) in GetZoomForRect() 526 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in GetZoomForRect() 572 if (rZoomRect.GetWidth() == 0 || rZoomRect.GetHeight() == 0) in SetZoomRect() 587 DBG_ASSERT(rZoomRect.GetHeight(), "ZoomRect-Hoehe = 0!"); in SetZoomRect() 596 if(rZoomRect.GetHeight()) in SetZoomRect() 599 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in SetZoomRect() 634 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
|
/aoo4110/main/vcl/win/source/gdi/ |
H A D | salnativewidgets-luna.cxx | 935 long nH = aTrackRect.GetHeight(); in ImplDrawNativeControl() 1035 long nDY = ((rc.bottom - rc.top + 1) - aRect.GetHeight()) / 2; in ImplDrawNativeControl() 1037 rc.bottom = rc.top+aRect.GetHeight()-1; in ImplDrawNativeControl() 1284 if( aRect.GetHeight() > aBoxRect.GetHeight() ) in getNativeControlRegion() 1285 aBoxRect.Bottom() = aBoxRect.Top() + aRect.GetHeight(); in getNativeControlRegion() 1313 if( aRect.GetHeight() && nFontHeight ) in getNativeControlRegion() 1315 aRect.Bottom() += aRect.GetHeight(); in getNativeControlRegion() 1317 if( aRect.GetHeight() > aBoxRect.GetHeight() ) in getNativeControlRegion() 1318 aBoxRect.Bottom() = aBoxRect.Top() + aRect.GetHeight(); in getNativeControlRegion() 1342 if( aBoxRect.GetWidth() && aBoxRect.GetHeight() ) in getNativeControlRegion() [all …]
|
/aoo4110/main/avmedia/source/viewer/ |
H A D | mediawindow_impl.cxx | 418 if( pLogo && !pLogo->IsEmpty() && ( aVideoRect.GetWidth() > 0 ) && ( aVideoRect.GetHeight() > 0 ) ) in Paint() 427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint() 432 if( fLogoWH < ( (double) aVideoRect.GetWidth() / aVideoRect.GetHeight() ) ) in Paint() 434 aLogoSize.Width() = (long) ( aVideoRect.GetHeight() * fLogoWH ); in Paint() 435 aLogoSize.Height()= aVideoRect.GetHeight(); in Paint() 445 aBasePos.Y() + ( ( aVideoRect.GetHeight() - aLogoSize.Height() ) >> 1 ) ), in Paint()
|
/aoo4110/main/slideshow/source/engine/shapes/ |
H A D | drawinglayeranimation.cxx | 401 if(maPaintRectangleLogic.GetHeight() > maScrollRectangleLogic.GetHeight()) in ImpForceScrollTextAnimNodes() 403 … fZeroLogicAlternate = maScrollRectangleLogic.Bottom() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 409 … fOneLogicAlternate = maScrollRectangleLogic.Bottom() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 413 fZeroLogic = maScrollRectangleLogic.Top() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 634 double const fPaintHeight = maPaintRectangleLogic.GetHeight(); in updateShapeAttributes() 637 double const fScrollHeight = maScrollRectangleLogic.GetHeight(); in updateShapeAttributes()
|
/aoo4110/main/dbaccess/source/ui/dlg/ |
H A D | sqlmessage.cxx | 594 m_aMessage.Show( aSecondaryRect.GetHeight() > 0 ); in impl_positionControls() 601 aPrimaryRect.Bottom() = aPrimaryRect.Top() + aSuggestedRect.GetHeight(); in impl_positionControls() 607 if ( aPrimaryRect.GetHeight() < m_aInfoImage.GetSizePixel().Height() ) in impl_positionControls() 609 aPrimaryRect.Bottom() += aInfoRect.GetHeight() - aPrimaryRect.GetHeight(); in impl_positionControls() 615 aInfoRect.Move( 0, ( aPrimaryRect.GetHeight() - aInfoRect.GetHeight() ) / 2 ); in impl_positionControls()
|
/aoo4110/main/filter/source/flash/ |
H A D | swfwriter2.cxx | 487 aPoint.X() = static_cast<long>((double(aPoint.X()) * 1024.0 ) / double(aOldFont.GetHeight())); in getGlyph() 488 aPoint.Y() = static_cast<long>((double(aPoint.Y()) * 1024.0 ) / double(aOldFont.GetHeight())); in getGlyph() 618 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 651 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 664 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 668 m.translate( maBoundRect.GetWidth() / 2.0, maBoundRect.GetHeight() / 2.0 ); in Impl_addGradient()
|
/aoo4110/main/starmath/inc/ |
H A D | rect.hxx | 143 long GetBottom() const { return GetTop() + GetHeight() - 1; } in GetBottom() 148 long GetHeight() const { return GetSize().Height(); } in GetHeight() function in SmRect 181 { return Size(GetItalicWidth(), GetHeight()); } in GetItalicSize() 188 return GetWidth() == 0 || GetHeight() == 0; in IsEmpty()
|
/aoo4110/main/extensions/source/update/ui/ |
H A D | updatecheckui.cxx | 951 aWindowSize.setHeight( maTitleRect.GetHeight() * 7 / 4+ maTextRect.GetHeight() + in Show() 1001 if ( maTextRect.GetHeight() < 10 ) in RecalcTextRects() 1004 aTotalSize.setHeight( maTitleRect.GetHeight() + in RecalcTextRects() 1005 aBoldFont.GetHeight() * 3 / 4 + in RecalcTextRects() 1006 maTextRect.GetHeight() + in RecalcTextRects() 1017 …( 2*BUBBLE_BORDER, BUBBLE_BORDER + TIP_HEIGHT + maTitleRect.GetHeight() + aBoldFont.GetHeight() * … in RecalcTextRects()
|
/aoo4110/main/canvas/source/cairo/ |
H A D | cairo_textlayout.cxx | 557 nWidth = aFont.GetHeight(); in draw() 561 nWidth = aFont.GetWidth() * aFont.GetHeight() / aMetric.GetHeight(); in draw() 568 cairo_matrix_scale(&m, nWidth, aFont.GetHeight()); in draw() 577 aFont.GetHeight(), in draw() 600 double bold_dx = 0.5 * sqrt( 0.7 * aFont.GetHeight() ); in draw()
|
/aoo4110/main/dbaccess/source/ui/querydesign/ |
H A D | querycontainerwindow.cxx | 140 aSplitPos.Y() = aPlayground.Top() + sal_Int32( aPlayground.GetHeight() * 0.2 ); in resizeAll() 142 if ( aSplitPos.Y() + aSplitSize.Height() > aPlayground.GetHeight() ) in resizeAll() 143 aSplitPos.Y() = aPlayground.GetHeight() - aSplitSize.Height(); in resizeAll() 163 …tPosSizePixel( _rPlayground.TopLeft(), Size( _rPlayground.GetWidth(), _rPlayground.GetHeight() ) ); in resizeDocumentView()
|