/aoo4110/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 154 maGeometry.nX = static_cast<int>(aVisibleRect.origin.x + aVisibleRect.size.width / 10); in initWindowAndView() 170 maGeometry.nX = static_cast<int>(aVisibleRect.origin.x); in initWindowAndView() 386 SetPosSize( nNewX - mpParent->maGeometry.nX, in initShow() 954 void AquaSalFrame::SetPointerPos( long nX, long nY ) in SetPointerPos() argument 959 const CGPoint aPoint = CGPointMake( nX + maGeometry.nX, nY + maGeometry.nY); in SetPointerPos() 1391 nX = mpParent->maGeometry.nWidth - nWidth-1 - nX; in SetPosSize() 1393 … nX = mpParent->maGeometry.nWidth - static_cast<long int>( aContentRect.size.width-1) - nX; in SetPosSize() 1413 aContentRect.origin.x = nX + aParentContentRect.origin.x; in SetPosSize() 1658 maGeometry.nX = static_cast<int>(aContentRect.origin.x); in UpdateFrameGeometry() 1751 void AquaSalFrame::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument [all …]
|
/aoo4110/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 1337 long nX; in CursorUp() local 1380 long nX; in CursorDown() local 4167 nX = GetPaperSize().Width() - nX; in GetPortionXOffset() 4171 return nX; in GetPortionXOffset() 4219 nX += nPortionTextWidth; in GetXPos() 4224 nX += nPortionTextWidth; in GetXPos() 4229 nX += nPortionTextWidth; in GetXPos() 4251 nX += nPosInPortion; in GetXPos() 4299 nX += nPortionTextWidth; in GetXPos() 4303 return nX; in GetXPos() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdotext.cxx | 1076 long nX=(nWantWdt*100) /nIsWdt; // X-Stretching berechnen in ImpSetCharStretching() local 1081 if (nX>nY) { nX=nY; bChkX=sal_False; } in ImpSetCharStretching() 1082 else { nY=nX; bChkY=sal_False; } in ImpSetCharStretching() 1086 if (nX<0) nX=-nX; in ImpSetCharStretching() 1087 if (nX<1) { nX=1; bNoMoreLoop=sal_True; } in ImpSetCharStretching() 1088 if (nX>65535) { nX=65535; bNoMoreLoop=sal_True; } in ImpSetCharStretching() 1097 nX = nY; in ImpSetCharStretching() 1104 nY = nX; in ImpSetCharStretching() 1108 rOutliner.SetGlobalCharStretching((sal_uInt16)nX,(sal_uInt16)nY); in ImpSetCharStretching() 1123 nX=nX*nMul/nDiv; in ImpSetCharStretching() [all …]
|
/aoo4110/main/UnoControls/source/controls/ |
H A D | statusindicator.cxx | 393 void SAL_CALL StatusIndicator::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32… in setPosSize() argument 396 BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; in setPosSize() 460 void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGraphics > & rGrap… in impl_paint() argument 486 rGraphics->drawLine ( nX, nY, impl_getWidth(), nY ); in impl_paint() 487 rGraphics->drawLine ( nX, nY, nX , impl_getHeight() ); in impl_paint() 491 …rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, nX , impl_getHeight… in impl_paint()
|
/aoo4110/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 414 void Os2SalGraphics::drawPixel( long nX, long nY ) in drawPixel() argument 418 aPt.x = nX; in drawPixel() 427 void Os2SalGraphics::drawPixel( long nX, long nY, SalColor nSalColor ) in drawPixel() argument 449 aPt.x = nX; in drawPixel() 477 void Os2SalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 497 aPt.x = nX; in drawRect() 500 aPt.x = nX + nWidth - 1; in drawRect() 850 sal_Bool Os2SalGraphics::drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nS… in drawEPS() argument 971 aBuf.append( nX - ( dM11 * nBoundingBox[0] ) ); in drawEPS() 986 ImplWriteDouble( &pTemp, nX - ( dM11 * nBoundingBox[0] ) ); in drawEPS()
|
H A D | salgdi3.cxx | 1282 long nX = IntTimes256FromFixed( pHeader->pfxStart.x ); in GetGlyphOutline() local 1284 pPoints[ nPnt ] = Point( nX, nY ); in GetGlyphOutline() 1314 nX = IntTimes256FromFixed( pCurve->apfx[ i ].x ); in GetGlyphOutline() 1317 pPoints[ nPnt ] = Point( nX, nY ); in GetGlyphOutline() 1328 nX = IntTimes256FromFixed( pCurve->apfx[ i ].x ); in GetGlyphOutline() 1331 Point aControlP( nX, nY ); in GetGlyphOutline() 1335 nX = pPoints[ nPnt-1 ].X() + 2 * aControlP.X(); in GetGlyphOutline() 1341 nX = IntTimes256FromFixed( pCurve->apfx[ i ].x ); in GetGlyphOutline() 1354 nX = (nX + 1) / 2; in GetGlyphOutline() 1360 pPoints[ nPnt+2 ] = Point( nX, nY ); in GetGlyphOutline() [all …]
|
/aoo4110/main/sdext/source/presenter/ |
H A D | PresenterToolBar.cxx | 923 double nX (0); in Layout() local 926 case Left : nX = 0; break; in Layout() 935 maBoundingBox.X1 = nX; in Layout() 943 nX, nY, in Layout() 953 nX += aBoundingBox.X2 - aBoundingBox.X1 + nGapWidth; in Layout() 1019 double nX (rBoundingBox.X1); in LayoutPart() local 1040 nX += aElementSize.Width + nGap; in LayoutPart() 1046 nX = rBoundingBox.X1; in LayoutPart() 1810 const sal_Int32 nX (maLocation.X in PaintIcon() local 1815 geometry::AffineMatrix2D(1,0,nX, 0,1,nY), in PaintIcon() [all …]
|
/aoo4110/main/sc/source/ui/view/ |
H A D | viewdata.cxx | 1561 SCCOL nX; in GetScrPos() local 1565 for (nX=nPosX; nX<nWhereX && (bAllowNeg || nScrPosX<=aScrSize.Width()); nX++) in GetScrPos() 1567 if ( nX > MAXCOL ) in GetScrPos() 1580 for (nX=nPosX; nX>nWhereX;) in GetScrPos() 1582 --nX; in GetScrPos() 1653 SCsCOL nX; in CellsAtX() local 1680 nX = sal::static_int_cast<SCsCOL>( nX - nPosX ); in CellsAtX() 1682 nX = (nPosX-1)-nX; in CellsAtX() 1684 if (nX>0) --nX; in CellsAtX() 1685 return nX; in CellsAtX() [all …]
|
H A D | gridwin4.cxx | 1573 for (SCCOL nX=nX1; nX<=nLoopEndX; nX++) in InvertSimple() local 1582 const ScPatternAttr* pPattern = pDoc->GetPattern( nX, nY, nTab ); in InvertSimple() 1591 pPattern = pDoc->GetPattern( nX, nThisY, nTab ); in InvertSimple() 1597 SCCOL nThisX = nX; in InvertSimple() 1598 if ( pMergeFlag->IsHorOverlapped() && nX == nPosX && nX > nRealX1 ) in InvertSimple() 1633 if ( rMark.IsCellMarked( nX, nY, sal_True ) == bRepeat && in InvertSimple() 1760 for (SCCOL nX=nX1; nX<=nLoopEndX; nX++) in GetSelectionRects() local 1778 pPattern = pDoc->GetPattern( nX, nThisY, nTab ); in GetSelectionRects() 1784 SCCOL nThisX = nX; in GetSelectionRects() 1785 if ( pMergeFlag->IsHorOverlapped() && nX == nPosX && nX > nRealX1 ) in GetSelectionRects() [all …]
|
/aoo4110/main/vcl/unx/generic/gdi/ |
H A D | salgdi.cxx | 457 for( int nX = 0; nX < 8; nX++ ) in GetDitherPixmap() local 459 short nMagic = nOrdDither8Bit[nY][nX]; in GetDitherPixmap() 775 void X11SalGraphics::drawPixel( long nX, long nY ) in drawPixel() argument 778 XDrawPoint( GetXDisplay(), GetDrawable(), SelectPen(), nX, nY ); in drawPixel() 781 void X11SalGraphics::drawPixel( long nX, long nY, SalColor nSalColor ) in drawPixel() argument 790 XDrawPoint( pDisplay, GetDrawable(), SelectPen(), nX, nY ); in drawPixel() 801 XDrawPoint( pDisplay, GetDrawable(), pGC, nX, nY ); in drawPixel() 828 void X11SalGraphics::drawRect( long nX, long nY, long nDX, long nDY ) in drawRect() argument 835 nX, nY, nDX, nDY ); in drawRect() 842 nX, nY, nDX-1, nDY-1 ); in drawRect()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 807 void GDIMetaFile::Move( long nX, long nY ) in Move() argument 2344 for( long nX = 0L; nX < 256L; nX++ ) in Adjust() local 2346 aColParam.pMapR[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fROff ), 0L, 255L ); in Adjust() 2347 aColParam.pMapG[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fGOff ), 0L, 255L ); in Adjust() 2348 aColParam.pMapB[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fBOff ), 0L, 255L ); in Adjust() 2352 aColParam.pMapR[ nX ] = GAMMA( aColParam.pMapR[ nX ], fGamma ); in Adjust() 2353 aColParam.pMapG[ nX ] = GAMMA( aColParam.pMapG[ nX ], fGamma ); in Adjust() 2354 aColParam.pMapB[ nX ] = GAMMA( aColParam.pMapB[ nX ], fGamma ); in Adjust() 2359 aColParam.pMapR[ nX ] = ~aColParam.pMapR[ nX ]; in Adjust() 2360 aColParam.pMapG[ nX ] = ~aColParam.pMapG[ nX ]; in Adjust() [all …]
|
/aoo4110/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 167 sal_uLong nX = (sal_uLong) ((double) aWinSize.Width() in CalcMinZoom() local 175 nFact = Min(nX, nY); in CalcMinZoom() 177 nFact = Max(nX, nY); in CalcMinZoom() 519 sal_uLong nX(0L); in GetZoomForRect() local 525 nX = (sal_uLong) ((double) aWinSize.Height() in GetZoomForRect() 537 sal_uLong nFact = Min(nX, nY); in GetZoomForRect() 593 sal_uLong nX(0L); in SetZoomRect() local 598 nX = (sal_uLong) ((double) aWinSize.Height() in SetZoomRect() 610 sal_uLong nFact = Min(nX, nY); in SetZoomRect()
|
/aoo4110/main/sw/source/core/text/ |
H A D | frmpaint.cxx | 92 SwTwips nX; member in SwExtraPainter 139 nX = pFrm->Frm().Left(); in SwExtraPainter() 166 nX -= rLineInf.GetPosFromLeft(); in SwExtraPainter() 167 if( nX < aRect.Left() ) in SwExtraPainter() 173 nX += pFrm->Frm().Width() + rLineInf.GetPosFromLeft(); in SwExtraPainter() 174 if( nX > aRect.Right() ) in SwExtraPainter() 237 Point aTmpPos( nX, nY ); in PaintExtra() 267 long nDiff = bGoLeft ? nRedX - nX : nX - nRedX; in PaintExtra()
|
/aoo4110/main/vcl/source/control/ |
H A D | fixed.cxx | 60 long nX; in ImplCalcPos() local 64 nX = 0; in ImplCalcPos() 66 nX = rWinSize.Width()-rObjSize.Width(); in ImplCalcPos() 68 nX = (rWinSize.Width()-rObjSize.Width())/2; in ImplCalcPos() 79 if ( nX < 0 ) in ImplCalcPos() 80 nX = 0; in ImplCalcPos() 85 Point aPos( nX+rPos.X(), nY+rPos.Y() ); in ImplCalcPos() 506 long nX = 0; in ImplDraw() local 511 nX = (aOutSize.Width()-1)/2; in ImplDraw() 512 aDecoView.DrawSeparator( Point( nX, 0 ), Point( nX, aOutSize.Height()-1 ) ); in ImplDraw()
|
/aoo4110/main/svtools/source/graphic/ |
H A D | transformer.cxx | 73 for ( sal_Int32 nX = 0; nX < pReadAccess->Width(); nX++ ) in setAlpha() local 75 const sal_uInt8 cIndex = pReadAccess->GetPixelIndex( nY, nX ); in setAlpha() 77 pWriteAccess->SetPixelIndex( nY, nX, nAlphaTo ); in setAlpha()
|
/aoo4110/main/svx/source/fmcomp/ |
H A D | gridctrl.cxx | 463 sal_uInt16 nX = 0; in ArrangeControls() local 476 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls() 478 m_aAbsolute.SetPosPixel( Point(nX,nY)); in ArrangeControls() 480 nX = sal::static_int_cast< sal_uInt16 >(nX + (3*nH) + aBorder.Width()); in ArrangeControls() 486 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls() 491 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls() 493 Point aButtonPos(nX,nY); in ArrangeControls() 522 return nX; in ArrangeControls() 1049 ReserveControlArea((sal_uInt16)nX); in StateChanged() 1189 nX = m_aBar.GetDefaultWidth(); in ArrangeControls() [all …]
|
/aoo4110/main/svtools/source/edit/ |
H A D | texteng.cxx | 1069 nX += nPortionTextWidth; in ImpGetXPos() 1095 nX += nPosInPortion; in ImpGetXPos() 1109 nX += nPortionTextWidth; in ImpGetXPos() 1113 return nX; in ImpGetXPos() 3164 nX += pPortion->GetWidth(); in ImpGetPortionXOffset() 3232 return nX; in ImpGetPortionXOffset() 3268 long nX; in ImpGetOutputOffset() local 3277 nX = -nX -pTextPortion->GetWidth(); in ImpGetOutputOffset() 3289 nX = nX2; in ImpGetOutputOffset() 3294 nX = -nX; in ImpGetOutputOffset() [all …]
|
/aoo4110/main/sc/source/ui/drawfunc/ |
H A D | fusel2.cxx | 55 long nX = rP1.X() - rP2.X(); in Diff() local 56 if (nX<0) nX = -nX; in Diff() 59 return nX+nY; in Diff()
|
/aoo4110/main/sfx2/source/sidebar/ |
H A D | DrawHelper.cxx | 180 const sal_Int32 nX, in DrawVerticalLine() argument 196 Point(nX+nXOffset, nTop), in DrawVerticalLine() 197 Point(nX+nXOffset, nBottom)); in DrawVerticalLine() 203 nX, in DrawVerticalLine() 205 nX+nWidth-1, in DrawVerticalLine()
|
/aoo4110/main/sfx2/source/appl/ |
H A D | shutdowniconunx.cxx | 114 int nX, nY; in ResIdToPixbuf() local 120 for( nX = 0; nX < pSalBitmap->Width(); nX++ ) in ResIdToPixbuf() 123 aPix = pSalBitmap->GetPixel( nY, nX ); in ResIdToPixbuf() 129 aPix = pSalAlpha->GetPixel( nY, nX ); in ResIdToPixbuf()
|
/aoo4110/main/sd/source/ui/func/ |
H A D | fuediglu.cxx | 341 long nX = 0; in KeyInput() local 347 nX = 0; in KeyInput() 353 nX = 0; in KeyInput() 359 nX =-1; in KeyInput() 365 nX = 1; in KeyInput() 372 Point ePoint = aPoint + Point(nX,nY); in KeyInput()
|
/aoo4110/main/soldep/source/ |
H A D | graphwin.cxx | 48 long nX = aArea.Right(); in EndScroll() local 53 LogicToPixel( Size( nX, nY ))); in EndScroll() 62 long nX = aArea.Right(); in Resize() local 67 LogicToPixel( Size( nX, nY ))); in Resize()
|
/aoo4110/main/svx/source/sidebar/possize/ |
H A D | SidebarDialControl.cxx | 66 long nX = rPos.X() - mpImpl->mnCenterX; in HandleMouseEvent() local 68 double fH = sqrt( static_cast< double >( nX ) * nX + static_cast< double >( nY ) * nY ); in HandleMouseEvent() 71 double fAngle = acos( nX / fH ); in HandleMouseEvent()
|
/aoo4110/main/vcl/win/source/window/ |
H A D | salobj.cxx | 742 void WinSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 746 long nRight = nX + nWidth; in UnionClipRegion() 751 pBoundRect->left = nX; in UnionClipRegion() 759 if ( nX < pBoundRect->left ) in UnionClipRegion() 760 pBoundRect->left = (int)nX; in UnionClipRegion() 772 pRect->left = (int)nX; in UnionClipRegion() 806 void WinSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 816 (int)nX, (int)nY, (int)nWidth, (int)nHeight, in SetPosSize()
|
/aoo4110/main/sw/source/ui/ribbar/ |
H A D | drawbase.cxx | 585 long nX = 0; in KeyInput() local 591 nX = 0; in KeyInput() 597 nX = 0; in KeyInput() 603 nX =-1; in KeyInput() 609 nX = 1; in KeyInput() 616 nX *= 100; in KeyInput() 618 pSdrView->MoveAllMarked(Size(nX, nY)); in KeyInput()
|