/aoo42x/main/vcl/source/glyphs/ |
H A D | gcach_rbmp.cxx | 172 sal_uLong nNewWidth = 0; in Rotate() local 190 nNewWidth = mnWidth; in Rotate() 197 nNewWidth = mnHeight; in Rotate() 200 nNewScanlineSize = (nNewWidth + 7) / 8; in Rotate() 202 nNewScanlineSize = (nNewWidth + 3) & -4; in Rotate() 229 nNewScanlineSize - nNewWidth ); in Rotate() 232 nNewWidth, nNewHeight, +mnScanlineSize, in Rotate() 238 mnXOffset = -(nNewWidth + mnYOffset); in Rotate() 243 nNewScanlineSize - nNewWidth ); in Rotate() 246 nNewWidth, nNewHeight, -mnScanlineSize, in Rotate() [all …]
|
H A D | gcach_layout.cxx | 543 int nNewWidth = nGlyphWidth; in operator ()() local 549 nGlyphWidth = nNewWidth = 0; in operator ()() 559 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 572 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 631 aGI.mnNewWidth = nNewWidth; in operator ()()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | virdev.cxx | 220 long nNewWidth = rNewSize.Width(), nNewHeight = rNewSize.Height(); in ImplSetOutputSizePixel() local 222 if ( nNewWidth < 1 ) in ImplSetOutputSizePixel() 223 nNewWidth = 1; in ImplSetOutputSizePixel() 230 bRet = mpVirDev->SetSize( nNewWidth, nNewHeight ); in ImplSetOutputSizePixel() 251 …pNewVirDev = pSVData->mpDefInst->CreateVirtualDevice( mpGraphics, nNewWidth, nNewHeight, mnBitCoun… in ImplSetOutputSizePixel() 260 if ( mnOutWidth < nNewWidth ) in ImplSetOutputSizePixel() 263 nWidth = nNewWidth; in ImplSetOutputSizePixel()
|
H A D | bitmap3.cxx | 1114 if( nNewWidth && nNewHeight ) in ImplScaleFast() 1126 const long nNewWidth1 = nNewWidth - 1L; in ImplScaleFast() 1130 long* pLutX = new long[ nNewWidth ]; in ImplScaleFast() 1136 for( nX = 0L; nX < nNewWidth; nX++ ) in ImplScaleFast() 1146 for( nX = 0L; nX < nNewWidth; nX++ ) in ImplScaleFast() 1207 pLutInt = new long[ nNewWidth ]; in ImplScaleInterpolate() 1208 pLutFrac = new long[ nNewWidth ]; in ImplScaleInterpolate() 1231 for( nX = 0L; nX < nNewWidth; nX++ ) in ImplScaleInterpolate() 1238 for( nX = 0L; nX < nNewWidth; nX++ ) in ImplScaleInterpolate() 1305 for( nX = 0L; nX < nNewWidth; nX++ ) in ImplScaleInterpolate() [all …]
|
H A D | bitmap.cxx | 782 const long nNewWidth = aNewSizePix.Width(); in Rotate() local 788 for( long nX = 0L, nOtherY = 0L; nX < nNewWidth; nX++ ) in Rotate() 824 const long nNewWidth = aNewSizePix.Width(); in Rotate() local 832 long* pCosX = new long[ nNewWidth ]; in Rotate() 833 long* pSinX = new long[ nNewWidth ]; in Rotate() 837 for ( nX = 0; nX < nNewWidth; nX++ ) in Rotate() 858 for( nX = 0L; nX < nNewWidth; nX++ ) in Rotate() 916 const long nNewWidth = aNewRect.GetWidth(); in Crop() local 1151 const long nNewWidth = pWriteAcc->Width(); in Expand() local 1164 for( nX = nNewX; nX < nNewWidth; nX++ ) in Expand() [all …]
|
H A D | sallayout.cxx | 1235 void GenericSalLayout::Justify( long nNewWidth ) in Justify() argument 1237 nNewWidth *= mnUnitsPerPixel; in Justify() 1239 if( !nOldWidth || nNewWidth==nOldWidth ) in Justify() 1261 if( nNewWidth < nMaxGlyphWidth) in Justify() 1262 nNewWidth = nMaxGlyphWidth; in Justify() 1263 nNewWidth -= pGRight->mnOrigWidth; in Justify() 1264 pGRight->maLinearPos.X() = maBasePoint.X() + nNewWidth; in Justify() 1267 int nDiffWidth = nNewWidth - nOldWidth; in Justify() 1291 double fSqueeze = (double)nNewWidth / nOldWidth; in Justify()
|
/aoo42x/main/cui/source/options/ |
H A D | optimprove.cxx | 86 const long nNewWidth = std::max( aNewSize.Width() * 4 / 5, nMinWidth ); in SvxImprovementPage() local 87 const long nWDelta = aNewSize.Width() - nNewWidth; in SvxImprovementPage() 88 aNewSize.Width() = nNewWidth; in SvxImprovementPage() 89 const Size aCalcSize = m_aInvitationFT.CalcMinimumSize( nNewWidth ); in SvxImprovementPage() 95 aNewSize.Width() = nNewWidth; in SvxImprovementPage() 100 aNewSize.Width() = nNewWidth; in SvxImprovementPage()
|
/aoo42x/main/editeng/inc/editeng/ |
H A D | fwdtitem.hxx | 74 void SetWidth( sal_uInt16 nNewWidth, const sal_uInt16 nNewProp = 100 ) in SetWidth() argument 77 nWidth = sal_uInt16(( (sal_uInt32)nNewWidth * nNewProp ) / 100 ); in SetWidth() 83 void SetWidthValue( sal_uInt16 nNewWidth ) in SetWidthValue() argument 86 nWidth = nNewWidth; in SetWidthValue()
|
/aoo42x/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 573 long nNewWidth = pFmt->GetFrmSize().GetWidth() + pCurr->second; in CollectBoxSelection() local 778 long nNewWidth = 0; in NewInsertCol() local 781 ASSERT( nNewWidth > 0, "Very small" ); in NewInsertCol() 1923 long nNewWidth = -1; in PrepareDeleteCol() local 1927 nNewWidth = nMid - nLeft; in PrepareDeleteCol() 1930 nNewWidth = nRight - nMid; in PrepareDeleteCol() 1932 nNewWidth = 0; in PrepareDeleteCol() 1933 if( nNewWidth >= 0 ) in PrepareDeleteCol() 1937 aFrmSz.SetWidth( nNewWidth ); in PrepareDeleteCol() 2203 aEntry.nRight = nNewWidth; in CheckConsistency() [all …]
|
/aoo42x/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 777 long nNewWidth = bLayoutRTL ? ( nScrPos - nMousePos + 1 ) in MouseButtonUp() local 780 if ( nNewWidth < 0 /* && !IsSelected(nDragNo) */ ) in MouseButtonUp() 784 while (nNewWidth < 0) in MouseButtonUp() 790 nNewWidth += GetEntrySize( nDragNo ); //! GetHiddenCount() ??? in MouseButtonUp() 793 nNewWidth = 0; in MouseButtonUp() 799 if (nNewWidth<0) nNewWidth=0; in MouseButtonUp() 801 SetEntrySize( nDragNo, (sal_uInt16) nNewWidth ); in MouseButtonUp()
|
/aoo42x/main/svx/source/dialog/ |
H A D | hyprlink.cxx | 928 long nNewWidth = Max(nMaxWidth - nW * GetRatio() / 100L, nMinWidth); in CalcResizeWidth() local 930 if (nNewWidth > nMaxWidth) in CalcResizeWidth() 931 nNewWidth = nMaxWidth; in CalcResizeWidth() 933 if (nNewWidth != GetSizePixel().Width()) in CalcResizeWidth() 934 return nNewWidth; in CalcResizeWidth() 943 void HyperCombo::DoResize( long nNewWidth ) in DoResize() argument 945 SetSizePixel(Size(nNewWidth, GetSizePixel().Height())); in DoResize()
|
/aoo42x/main/vbahelper/source/vbahelper/ |
H A D | vbashape.cxx | 419 double nNewWidth = nWidth * Factor; in ScaleWidth() local 422 setWidth(nNewWidth); in ScaleWidth() 426 double nDeltaWidth = nNewWidth - nWidth; in ScaleWidth() 429 setWidth(nNewWidth); in ScaleWidth() 433 double nDeltaWidth = (nNewWidth - nWidth) / 2; in ScaleWidth() 436 setWidth(nNewWidth); in ScaleWidth()
|
/aoo42x/main/svtools/source/control/ |
H A D | taskstat.cxx | 314 long nNewWidth = mnItemWidth+mnClockWidth; in ImplUpdateField() local 316 nNewWidth += TASKSTATUSBAR_IMAGEOFFX; in ImplUpdateField() 317 if ( nNewWidth != mnFieldWidth ) in ImplUpdateField() 323 mnFieldWidth = nNewWidth; in ImplUpdateField() 326 …InsertItem( TASKSTATUSBAR_STATUSFIELDID, nNewWidth, SIB_RIGHT | SIB_IN | SIB_USERDRAW, nOffset, nI… in ImplUpdateField()
|
/aoo42x/main/sw/source/core/text/ |
H A D | porlin.cxx | 331 const KSHORT nNewWidth = static_cast<sal_uInt16>(rInf.X() + PrtWidth()); in Format() local 334 if( rInf.Width() <= nNewWidth && PrtWidth() && ! IsKernPortion() ) in Format() 337 if( nNewWidth > rInf.Width() ) in Format() 338 PrtWidth( nNewWidth - rInf.Width() ); in Format()
|
H A D | porfly.cxx | 98 const sal_uInt16 nNewWidth = static_cast<sal_uInt16>(rInf.X() + PrtWidth()); in Format() local 99 if( rInf.Width() <= nNewWidth ) in Format() 102 if( nNewWidth > rInf.Width() ) in Format() 104 PrtWidth( nNewWidth - rInf.Width() ); in Format()
|
H A D | txttab.cxx | 539 KSHORT nNewWidth = nPorWidth /2; in PostFormat() local 540 if( nNewWidth > rInf.Width() - nRight ) in PostFormat() 541 nNewWidth = nPorWidth - (rInf.Width() - nRight); in PostFormat() 542 nPorWidth = nNewWidth; in PostFormat()
|
/aoo42x/main/vcl/os2/source/gdi/ |
H A D | os2layout.cxx | 151 void Justify( long nNewWidth ); 711 void Os2SalLayout::Justify( long nNewWidth ) argument 714 mnWidth = nNewWidth; 719 if( nNewWidth == nOldWidth ) 725 nNewWidth -= mpGlyphAdvances[ nRight ]; 734 int nDiffWidth = nNewWidth - nOldWidth;
|
/aoo42x/main/embedserv/source/embed/ |
H A D | tracker.cxx | 500 int nNewWidth = m_rect.right - m_rect.left; in AdjustRect() local 501 int nAbsWidth = m_bAllowInvert ? abs(nNewWidth) : nNewWidth; in AdjustRect() 504 nNewWidth = nAbsWidth != 0 ? nNewWidth / nAbsWidth : 1; in AdjustRect() 508 nNewWidth * m_sizeMin.cx * -pRectInfo->nSignAcross; in AdjustRect()
|
/aoo42x/main/xmlsecurity/source/dialogs/ |
H A D | certificateviewer.cxx | 172 long nNewWidth = Max( nWidth1, nWidth2 ) + 5; in CertificateViewerGeneralTP() local 174 aNewSize.Width() = nNewWidth; in CertificateViewerGeneralTP() 177 long nNewX = maIssuedToLabelFI.GetPosPixel().X() + nNewWidth + 1; in CertificateViewerGeneralTP() 184 nNewWidth = maValidDateFI.GetSizePixel().Width() - nNewX; in CertificateViewerGeneralTP() 186 aNewSize.Width() = nNewWidth; in CertificateViewerGeneralTP()
|
/aoo42x/main/canvas/source/directx/ |
H A D | dx_textlayout_drawhelper.cxx | 183 const sal_Int32 nNewWidth = ::basegfx::fround( aSize.Width() * fStretch ); in drawText() local 185 aFont.SetWidth( nNewWidth ); in drawText() 315 const sal_Int32 nNewWidth = ::basegfx::fround( aSize.Width() * fStretch ); in queryTextBounds() local 317 aFont.SetWidth( nNewWidth ); in queryTextBounds()
|
/aoo42x/main/vcl/source/window/ |
H A D | winproc.cxx | 1606 void ImplHandleResize( Window* pWindow, long nNewWidth, long nNewHeight ) in ImplHandleResize() argument 1616 (nNewWidth > 0 && nNewHeight > 0) || in ImplHandleResize() 1620 …if ( (nNewWidth != pWindow->GetOutputWidthPixel()) || (nNewHeight != pWindow->GetOutputHeightPixel… in ImplHandleResize() 1622 pWindow->mnOutWidth = nNewWidth; in ImplHandleResize() 1665 … pWindow->ImplGetWindowImpl()->mpFrameData->mbNeedSysWindow = (nNewWidth < IMPL_MIN_NEEDSYSWIN) || in ImplHandleResize() 1667 sal_Bool bMinimized = (nNewWidth <= 0) || (nNewHeight <= 0); in ImplHandleResize() 1702 static void ImplHandleMoveResize( Window* pWindow, long nNewWidth, long nNewHeight ) in ImplHandleMoveResize() argument 1705 ImplHandleResize( pWindow, nNewWidth, nNewHeight ); in ImplHandleMoveResize() 2505 long nNewWidth; in ImplWindowFrameProc() local 2507 pWindow->ImplGetWindowImpl()->mpFrame->GetClientSize( nNewWidth, nNewHeight ); in ImplWindowFrameProc() [all …]
|
H A D | cursor.cxx | 387 void Cursor::SetWidth( long nNewWidth ) in SetWidth() argument 389 if ( maSize.Width() != nNewWidth ) in SetWidth() 391 maSize.Width() = nNewWidth; in SetWidth()
|
/aoo42x/main/vcl/win/source/gdi/ |
H A D | winlayout.cxx | 192 void Justify( long nNewWidth ); 785 void SimpleWinLayout::Justify( long nNewWidth ) argument 788 mnWidth = nNewWidth; 793 if( nNewWidth == nOldWidth ) 799 nNewWidth -= mpGlyphAdvances[ nRight ]; 808 int nDiffWidth = nNewWidth - nOldWidth; 1071 void Justify( long nNewWidth ); 2694 void UniscribeLayout::Justify( long nNewWidth ) argument 2703 nNewWidth *= mnUnitsPerPixel; // convert into font units 2704 if( nNewWidth == nOldWidth ) [all …]
|
/aoo42x/main/sw/source/ui/table/ |
H A D | tablemgr.cxx | 133 void SwTableFUNC::SetColWidth(sal_uInt16 nNum, SwTwips nNewWidth ) in SetColWidth() argument 146 int nDiff = (int)(nNewWidth - nWidth); in SetColWidth() 164 aCols.SetRight( Min( nNewWidth, aCols.GetRightMax()) ); in SetColWidth()
|
/aoo42x/main/reportdesign/source/ui/report/ |
H A D | ScrollHelper.cxx | 175 const sal_Int32 nNewWidth = aOutPixSz.Width() - aOffset.X() - (long)aStartWidth; in ResizeScrollBars() local 176 …lcl_setScrollBar(nNewWidth,Point( (long)aStartWidth + aOffset.X(), aOutPixSz.Height() ),Size( nNew… in ResizeScrollBars()
|