/trunk/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 145 SwTwips nWidth = rTblNd.GetTable().GetFrmFmt()->GetFrmSize().GetWidth(); in SetFlySize() 147 if( nWidth > rSz.GetWidth() ) in SetFlySize() 616 aSz.SetWidth( ((SwFmtFrmSize*)pItem)->GetWidth() ); in ReadFly() 1182 !aSz1.GetHeight() || !aSz1.GetWidth() || in ReadFly() 1183 !aSz2.GetHeight() || !aSz2.GetWidth() || in ReadFly() 1185 aSz1.GetWidth() == aSz2.GetWidth() ) ) in ReadFly() 1200 if( aSz1.GetWidth() && !aSz2.GetWidth() ) in ReadFly() 1203 aSz2.SetWidth( aSz1.GetWidth() ); in ReadFly() 1384 long nBoxWidth = pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in _SetPictureSize()
|
H A D | rtftbl.cxx | 201 nTblSz += pTmpFmt->GetFrmSize().GetWidth(); in ReadTable() 326 nSize += pFmt->GetFrmSize().GetWidth(); in ReadTable() 575 if( rTblSz.GetWidth() != nTblSz ) in ReadTable() 593 rTblSz.GetWidth() != nTblSz || in ReadTable() 673 rTblSz.GetWidth() != nTblSz || in ReadTable() 691 if( rTblSz.GetWidth() < nTblSz ) in ReadTable()
|
/trunk/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 866 << (sal_uInt32)0 << (sal_uInt32)aPictureRect.GetWidth() in WriteDataDescriptor() 1587 METSetArcParams(pA->GetRect().GetWidth(), pA->GetRect().GetHeight(),0,0); in WriteOrders() 1619 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() 1625 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() 1635 METSetArcParams(pA->GetRect().GetWidth(), pA->GetRect().GetHeight(),0,0); in WriteOrders() 1656 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() 1662 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() 1666 METSetArcParams(pA->GetRect().GetWidth(), pA->GetRect().GetHeight(),0,0); in WriteOrders() 1706 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() 1712 fdy*=(double)pA->GetRect().GetWidth(); in WriteOrders() [all …]
|
/trunk/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 64 if (aContentArea.GetWidth()<=0 || aContentArea.GetHeight()<=0) in LayoutDeck() 102 const sal_Int32 nWidth (aBox.GetWidth()); in LayoutPanels() 175 rScrollClipWindow.SetPosSizePixel(aBox.Left(), aBox.Top(), aBox.GetWidth(), aBox.GetHeight()); in LayoutPanels() 332 aLayoutSize = xPanel->getHeightForWidth(rContentBox.GetWidth()); in GetRequestedSizes() 445 rAvailableSpace.GetWidth(), in PlaceDeckTitle()
|
/trunk/main/framework/source/services/ |
H A D | backingwindow.cxx | 445 long nW = (maWelcome.GetFontMetric().GetWidth()*95)/100; in initControls() 455 if( maControlRect.GetWidth() < mnBtnPos + maWelcomeSize.Width() + 20 ) in initControls() 465 nW = (maProduct.GetFontMetric().GetWidth()*95)/100; in initControls() 474 if( maControlRect.GetWidth() < maProductSize.Width() + mnBtnPos + 10 ) in initControls() 560 if( mnColumnWidth[0] + mnColumnWidth[1] + mnBtnPos + 20 > maControlRect.GetWidth() ) in initControls() 576 if( maControlRect.GetWidth() < maControlRect.GetHeight() * 3 / 2 ) in initControls() 579 … long nDelta = (maControlRect.GetWidth() - mnBtnPos - mnColumnWidth[1] - mnColumnWidth[0] - 20); in initControls() 827 … Size( maControlRect.GetWidth() - mnBtnPos - 5, (maWelcomeSize.Height()*20)/19 ) ); in Resize() 829 …l( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( maControlRect.GetWidth() - mnBtnPos - 5,… in Resize()
|
/trunk/main/starmath/inc/ |
H A D | rect.hxx | 144 long GetRight() const { return GetLeft() + GetWidth() - 1; } in GetRight() 147 long GetWidth() const { return GetSize().Width(); } in GetWidth() function in SmRect 161 … long GetItalicWidth() const { return GetWidth() + GetItalicLeftSpace() + GetItalicRightSpace(); } in GetItalicWidth() 188 return GetWidth() == 0 || GetHeight() == 0; in IsEmpty()
|
/trunk/main/sw/source/core/view/ |
H A D | pagepreviewlayout.cxx | 453 maPaintedPrevwDocRect.GetWidth() < maWinSize.Width() ) in Prepare() 456 -(maWinSize.Width() - maPaintedPrevwDocRect.GetWidth()), 0 ); in Prepare() 556 maPreviewDocRect.GetWidth() - aTopLeftPos.X() ); in _CalcDocPrevwPaintRect() 558 aSize.Width() = Min( maPreviewDocRect.GetWidth() - aTopLeftPos.X(), in _CalcDocPrevwPaintRect() 776 else if ( maPaintedPrevwDocRect.GetWidth() < _aNewWinSize.Width() ) in GetPreviewStartPosForNewScale() 779 (_aNewWinSize.Width() - maPaintedPrevwDocRect.GetWidth()) / 2; in GetPreviewStartPosForNewScale() 804 if ( maPaintedPrevwDocRect.GetWidth() > _aNewWinSize.Width() ) in GetPreviewStartPosForNewScale() 806 (maPaintedPrevwDocRect.GetWidth() - _aNewWinSize.Width()) / 2; in GetPreviewStartPosForNewScale()
|
/trunk/main/vcl/inc/vcl/ |
H A D | bitmap.hxx | 251 virtual double GetWidth() const = 0; 260 virtual double GetWidth() const in GetWidth() function in Lanczos3Kernel 287 virtual double GetWidth() const in GetWidth() function in BicubicKernel 317 virtual double GetWidth() const in GetWidth() function in BilinearKernel 343 virtual double GetWidth() const in GetWidth() function in BoxKernel
|
/trunk/main/svtools/source/control/ |
H A D | taskmisc.cxx | 120 long nWidth = rRect.GetWidth(); in ImplTile() 194 long nWidth = rRect.GetWidth(); in ImplHorz() 228 long nWidth = rRect.GetWidth(); in ImplVert() 261 long nWidth = rRect.GetWidth(); in ImplCascade()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 104 aHorzBuf.realloc( aDstRect.GetWidth() / nDistX + 2L ); in DBG_NAMEEX() 386 Rectangle aRect( aPolyRect.TopLeft(), Size( aPolyRect.GetWidth(), nBaseExtent ) ); in DrawTransparent() 1007 aWorkRect.GetWidth(), aWorkRect.GetHeight(), in ImplDrawBitmapWallpaper() 1017 aWorkRect.GetWidth(), aWorkRect.GetHeight(), in ImplDrawBitmapWallpaper() 1027 aWorkRect.GetWidth(), aWorkRect.GetHeight(), in ImplDrawBitmapWallpaper() 1037 aWorkRect.GetWidth(), aWorkRect.GetHeight(), in ImplDrawBitmapWallpaper() 1134 ImplDrawWallpaper( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), in DrawWallpaper() 1236 … bDrawn = mpGraphics->DrawEPS( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), in DrawEPS()
|
H A D | pdfwriter_impl.cxx | 1679 if( rInfo.GetWidth() > 1 ) in appendLineInfo() 1684 else if( rInfo.GetWidth() == 0 ) in appendLineInfo() 5154 while( aCheckRect.GetWidth() > rBox.m_aRect.GetWidth() && aCheckRect.GetWidth() > nDelta ) in createDefaultCheckBoxAppearance() 5163 … aTextRect.Right() = aTextRect.Left() + rBox.m_aRect.GetWidth() - aCheckRect.GetWidth()-6*nDelta; in createDefaultCheckBoxAppearance() 5174 while( aCheckRect.GetWidth() > rBox.m_aRect.GetWidth() && aCheckRect.GetWidth() > nDelta ) in createDefaultCheckBoxAppearance() 5183 … aTextRect.Right() = aTextRect.Left() + rBox.m_aRect.GetWidth() - aCheckRect.GetWidth()-6*nDelta; in createDefaultCheckBoxAppearance() 5279 while( aCheckRect.GetWidth() > rBox.m_aRect.GetWidth() && aCheckRect.GetWidth() > nDelta ) in createDefaultRadioButtonAppearance() 5288 … aTextRect.Right() = aTextRect.Left() + rBox.m_aRect.GetWidth() - aCheckRect.GetWidth()-6*nDelta; in createDefaultRadioButtonAppearance() 5299 while( aCheckRect.GetWidth() > rBox.m_aRect.GetWidth() && aCheckRect.GetWidth() > nDelta ) in createDefaultRadioButtonAppearance() 7354 if( aMetric.GetWidth() != m_aCurrentPDFState.m_aFont.GetWidth() ) in drawLayout() [all …]
|
H A D | alpha.cxx | 157 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel() 187 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel()
|
H A D | print2.cxx | 410 const long nLineWidth(rMetaLineAction.GetLineInfo().GetWidth()); in ImplCalcActionBounds() 436 rRect.GetWidth() >> 1, in ImplCalcActionBounds() 463 const long nLineWidth(rMetaPolyLineAction.GetLineInfo().GetWidth()); in ImplCalcActionBounds() 618 rTextAct.GetWidth() ); in ImplCalcActionBounds() 1174 const double fBmpArea( (double) aBoundRect.GetWidth() * aBoundRect.GetHeight() ); in RemoveTransparenciesFromMetaFile() 1175 const double fOutArea( (double) aOutputRect.GetWidth() * aOutputRect.GetHeight() ); in RemoveTransparenciesFromMetaFile() 1188 if( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in RemoveTransparenciesFromMetaFile()
|
H A D | outdev2.cxx | 133 rTwoRect.mnSrcWidth = aCropRect.GetWidth(); in ImplAdjustTwoRect() 1238 aPosAry.mnSrcWidth = aClipRegionBounds.GetWidth(); in ImplDrawBitmapEx() 1243 aPosAry.mnDestWidth = aClipRegionBounds.GetWidth(); in ImplDrawBitmapEx() 2095 aTR.mnSrcWidth = aBmpRect.GetWidth(); in ImplBlend() 2285 const long nSrcWidth = aBmpRect.GetWidth(), nSrcHeight = aBmpRect.GetHeight(); in ImplDrawAlpha() 2286 const long nDstWidth = aDstRect.GetWidth(), nDstHeight = aDstRect.GetHeight(); in ImplDrawAlpha() 2294 ? aOutSz.Width() - aDstRect.GetWidth() - (aDstRect.Left() - aOutPt.X()) in ImplDrawAlpha() 2394 …if( !rBmp.IsEmpty() && aSrcRect.GetWidth() && aSrcRect.GetHeight() && aDestSz.Width() && aDestSz.H… in ImplPrintTransparent() 2440 const long nSrcWidth = aSrcRect.GetWidth(), nSrcHeight = aSrcRect.GetHeight(); in ImplPrintTransparent() 2508 …if( !rMask.IsEmpty() && aSrcRect.GetWidth() && aSrcRect.GetHeight() && aDestSz.Width() && aDestSz.… in ImplPrintMask() [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsButtonBar.cxx | 600 maButtonBoundingBox.Left() += (maButtonBoundingBox.GetWidth() - nRegularTotalWidth)/2; in LayoutButtons() 906 const int nWidth (maPreviewBoundingBox.GetWidth()+2); in CreateBackground() 961 if (maPreviewBoundingBox.GetWidth() < maMinimumLargeButtonAreaSize.Width()) in Layout() 962 if (maPreviewBoundingBox.GetWidth() < maMinimumMediumButtonAreaSize.Width()) in Layout() 1042 if (aImageSize.Width() >= maPreviewBoundingBox.GetWidth()) in Layout() 1045 if (aImageSize.Width() >= maPreviewBoundingBox.GetWidth()) in Layout() 1060 + (maPreviewBoundingBox.GetWidth()-aImageSize.Width())/2, in Layout() 1337 + (maBoundingBox.GetWidth()-aIcon.GetSizePixel().Width())/2, in Paint()
|
/trunk/main/shell/source/win32/shlxthandler/thumbviewer/ |
H A D | thumbviewer.cxx | 377 if ((thumbnail_png.GetHeight() == 0) || (thumbnail_png.GetWidth() == 0)) in Extract() 395 Gdiplus::Rect(0, 0, thumbnail_png.GetWidth(), thumbnail_png.GetHeight()), canvas_thumbnail); in Extract() 435 thumbnail_png.GetWidth(), thumbnail_png.GetHeight(), Gdiplus::UnitPixel); in Extract() 442 …0, 0, static_cast<INT>(signet_->GetWidth() * SCALING_FACTOR), static_cast<INT>(signet_->GetHeight(… in Extract() 448 0, 0, signet_->GetWidth(), signet_->GetHeight(), in Extract()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 313 aFontSize.Width() = aMetric.GetWidth(); in WinMtfFontStyle() 795 Size aSize( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetWidth(), 0 ); in CreateObject() 832 Size aSize( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetWidth(), 0 ); in CreateObject() 1202 if ( maLineStyle.aLineInfo.GetWidth() || ( maLineStyle.aLineInfo.GetStyle() == LINE_DASH ) ) in DrawRect() 1240 if ( maLineStyle.aLineInfo.GetWidth() || ( maLineStyle.aLineInfo.GetStyle() == LINE_DASH ) ) in DrawEllipse() 1243 Size aRad( ImplMap( Size( rRect.GetWidth() / 2, rRect.GetHeight() / 2 ) ) ); in DrawEllipse() 1269 if ( maLineStyle.aLineInfo.GetWidth() || ( maLineStyle.aLineInfo.GetStyle() == LINE_DASH ) ) in DrawArc() 1274 Size aRad( aRect.GetWidth() / 2, aRect.GetHeight() / 2 ); in DrawArc() 1299 if ( maLineStyle.aLineInfo.GetWidth() || ( maLineStyle.aLineInfo.GetStyle() == LINE_DASH ) ) in DrawPie() 1324 if ( maLineStyle.aLineInfo.GetWidth() || ( maLineStyle.aLineInfo.GetStyle() == LINE_DASH ) ) in DrawChord() [all …]
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 414 if(aUnscaledFontMetric.GetWidth() > 0) in getVclFontFromFontAttribute() 417 …nst sal_uInt32 nScaledWidth(basegfx::fround((double)aUnscaledFontMetric.GetWidth() * fScaleFactor)… in getVclFontFromFontAttribute() 467 if(aUnscaledFontMetric.GetWidth() > 0) in getFontAttributeFromVclFont() 469 …t double fScaleFactor((double)rFont.GetSize().getWidth() / (double)aUnscaledFontMetric.GetWidth()); in getFontAttributeFromVclFont()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salnativewidgets-luna.cxx | 941 long nW = aTrackRect.GetWidth(); in ImplDrawNativeControl() 1286 if( aRect.GetWidth() > aBoxRect.GetWidth() ) in getNativeControlRegion() 1287 aBoxRect.Right() = aBoxRect.Left() + aRect.GetWidth(); in getNativeControlRegion() 1319 if( aRect.GetWidth() > aBoxRect.GetWidth() ) in getNativeControlRegion() 1320 aBoxRect.Right() = aBoxRect.Left() + aRect.GetWidth(); in getNativeControlRegion() 1342 if( aBoxRect.GetWidth() && aBoxRect.GetHeight() ) in getNativeControlRegion() 1362 long nW = aThumbRect.GetWidth(); in getNativeControlRegion()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit.cxx | 181 if ( aTmpOutArea.GetWidth() > pEditEngine->pImpEditEngine->GetPaperSize().Width() ) in DrawSelection() 458 SetScrollDiffX( (sal_uInt16)aOutArea.GetWidth() * 3 / 10 ); in SetOutputArea() 460 SetScrollDiffX( (sal_uInt16)aOutArea.GetWidth() * 2 / 10 ); in SetOutputArea() 609 aAnchorPoint.X() = aOutArea.Left() + (aOutArea.GetWidth()-1) / 2; in CalcAnchorPoint() 715 long nMaxHeight = !IsVertical() ? aOutArea.GetHeight() : aOutArea.GetWidth(); in ShowCursor() 731 if ( aTmpVisArea.GetWidth() > nMaxTextWidth ) in ShowCursor() 772 if ( aEditCursor.Left() < aTmpVisArea.GetWidth() ) in ShowCursor() 798 long nW = aOutArea.GetWidth() / 4; in ShowCursor() 1865 nScrollX = GetOutputArea().GetWidth() / SCRLRANGE; in dragOver() 1867 nScrollX = -( GetOutputArea().GetWidth() / SCRLRANGE ); in dragOver() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | arrange.cxx | 429 if( aOptSize.Width() > m_aManagedArea.GetWidth() ) in resize() 446 aElementSizes[i].Width() = m_aManagedArea.GetWidth() - 2 * nOuterBorder; in resize() 457 …long nExtraWidth = (m_bColumn ? m_aManagedArea.GetHeight() : m_aManagedArea.GetWidth()) - nUsedWid… in resize() 591 if( nDistance + aLabelSize.Width() + aElementSize.Width() > m_aManagedArea.GetWidth() ) in resize() 945 aOptSize.Width() > m_aManagedArea.GetWidth() ) in resize() 951 if( aOptSize.Width() > m_aManagedArea.GetWidth() ) in resize() 956 long nExtraSize = m_aManagedArea.GetWidth(); in resize()
|
H A D | syswin.cxx | 528 if( rData.GetWidth() > 0 && rData.GetWidth() < 16384 ) in ImplWindowStateFromStr() 624 rStr.Append( ByteString::CreateFromInt32( rData.GetWidth() ) ); in ImplWindowStateToStr() 731 aState.mnWidth = rData.GetWidth(); in SetWindowStateData() 814 if( aGeometry.nWidth != rData.GetWidth() || aGeometry.nHeight != rData.GetHeight() ) in SetWindowStateData() 838 long nWidth = rData.GetWidth(); in SetWindowStateData()
|
/trunk/main/sd/source/ui/docshell/ |
H A D | sdclient.cxx | 193 Size aLogicSize( aLogicRect.GetWidth(), aLogicRect.GetHeight() ); in ViewChanged() 210 … aScaledSize( static_cast< long >( GetScaleWidth() * Fraction( aVisArea.GetWidth() ) ), in ViewChanged() 216 Size( aLogicRect.GetWidth() - aScaledSize.Width(), in ViewChanged()
|
/trunk/main/sd/source/ui/func/ |
H A D | fupoor.cxx | 1176 if(rRect.GetWidth() > rRect.GetHeight()) in ImpForceQuadratic() 1179 Point(rRect.Left() + ((rRect.GetWidth() - rRect.GetHeight()) / 2), rRect.Top()), in ImpForceQuadratic() 1185 Point(rRect.Left(), rRect.Top() + ((rRect.GetHeight() - rRect.GetWidth()) / 2)), in ImpForceQuadratic() 1186 Size(rRect.GetWidth(), rRect.GetWidth())); in ImpForceQuadratic()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoole2.cxx | 194 aLogicRect.SetSize( Size( Fraction( aLogicRect.GetWidth() ) * m_aScaleWidth, in impl_getScaledRect_nothrow() 279 Size aScaledSize( static_cast< long >( m_aScaleWidth * Fraction( aVisArea.GetWidth() ) ), in notifyEvent() 286 Size( aLogicRect.GetWidth() - aScaledSize.Width(), in notifyEvent() 341 Size aLogicSize( aLogicRect.GetWidth(), aLogicRect.GetHeight() ); in visibilityChanged() 566 Size aNewObjSize( Fraction( aNewLogicRect.GetWidth() ) / m_aScaleWidth, in changedPlacement() 574 Size( aLogicRect.GetWidth() - aNewObjSize.Width(), in changedPlacement() 1841 Size aVisSize( (long)( Fraction( aRect.GetWidth() ) / aScaleWidth ), in ImpSetVisAreaSize() 1917 …xVisualObject->setVisualAreaSize( GetAspect(), awt::Size( aNewRect.GetWidth(), aNewRect.GetHeight(… in ImpSetVisAreaSize() 1969 xObjRef.SetDefaultSizeForChart( Size( rRect.GetWidth(), rRect.GetHeight() ) ); in NbcSetSnapRect()
|