Home
last modified time | relevance | path

Searched refs:nX (Results 101 – 125 of 459) sorted by relevance

12345678910>>...19

/trunk/main/sdext/source/presenter/
H A DPresenterToolBar.cxx923 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 …]
/trunk/main/toolkit/source/layout/core/
H A Dflow.cxx179 long nX = 0, nY = 0, nRowHeight = 0; in allocateArea() local
190 if ( nX > 0 && nX + aChildSize.Width > rArea.Width ) in allocateArea()
192 nX = 0; in allocateArea()
199 … awt::Rectangle( rArea.X + nX, rArea.Y + nY, aChildSize.Width, aChildSize.Height ) ); in allocateArea()
201 nX += aChildSize.Width; in allocateArea()
/trunk/main/sc/source/ui/view/
H A Dviewdata.cxx1561 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 Dgridwin4.cxx1573 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 …]
/trunk/main/sd/source/ui/slidesorter/controller/
H A DSlsAnimationFunction.cxx255 const double nX (nIndex2 / double(nSampleCount-1)); in AnimationParametricFunction() local
256 while (nX > nX1 && nIndex<nSampleCount) in AnimationParametricFunction()
264 const double nU ((nX-nX1) / (nX0 - nX1)); in AnimationParametricFunction()
273 double AnimationParametricFunction::operator() (const double nX) in operator ()() argument
275 const sal_Int32 nIndex0 (static_cast<sal_Int32>(nX * maY.size())); in operator ()()
285 const double nU ((nX-nX1) / (nX0 - nX1)); in operator ()()
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi.cxx414 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 Dsalgdi3.cxx1282 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 …]
/trunk/main/vcl/source/gdi/
H A Dgdimtf.cxx807 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 …]
/trunk/main/UnoControls/source/controls/
H A Dstatusindicator.cxx393 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()
/trunk/main/vcl/unx/generic/gdi/
H A Dsalgdi.cxx457 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()
/trunk/main/svx/source/fmcomp/
H A Dgridctrl.cxx463 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 …]
/trunk/main/svtools/source/edit/
H A Dtexteng.cxx1069 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 …]
/trunk/main/sw/source/core/text/
H A Dfrmpaint.cxx92 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()
/trunk/main/sd/source/ui/view/
H A Dsdwindow.cxx167 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()
/trunk/main/vcl/source/control/
H A Dfixed.cxx60 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()
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/
H A DRun.java66 final int nX, in Paint() argument
82 aG2.fillRect(nX,nY-mnHeight, mnWidth, mnHeight); in Paint()
85 aG2.drawString(msText, nX, nY+mnOffset); in Paint()
89 aG2.drawLine(nX, nY-1, nX+mnWidth, nY-1); in Paint()
/trunk/main/svtools/source/graphic/
H A Dtransformer.cxx73 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()
/trunk/main/sc/source/ui/drawfunc/
H A Dfusel2.cxx55 long nX = rP1.X() - rP2.X(); in Diff() local
56 if (nX<0) nX = -nX; in Diff()
59 return nX+nY; in Diff()
/trunk/main/sfx2/source/sidebar/
H A DDrawHelper.cxx180 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()
/trunk/main/sfx2/source/appl/
H A Dshutdowniconunx.cxx114 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()
/trunk/main/sd/source/ui/func/
H A Dfuediglu.cxx341 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()
/trunk/main/svtools/source/control/
H A Dheadbar.cxx199 long nX = -mnOffset; in ImplGetItemPos() local
201 nX += mpItemList->GetObject( i )->mnSize; in ImplGetItemPos()
202 return nX; in ImplGetItemPos()
225 long nX = -mnOffset; in ImplHitTest() local
231 if ( rPos.X() < (nX+pItem->mnSize) ) in ImplHitTest()
235 if ( !bLastFixed && (rPos.X() < (nX+HEADERBAR_SPLITOFF)) ) in ImplHitTest()
239 nMouseOff = rPos.X()-nX+1; in ImplHitTest()
248 nMouseOff = rPos.X()-(nX+pItem->mnSize); in ImplHitTest()
253 nMouseOff = rPos.X()-nX; in ImplHitTest()
265 nX += pItem->mnSize; in ImplHitTest()
[all …]
/trunk/main/vcl/inc/vcl/
H A Doutdev.hxx430 …SAL_DLLPRIVATE void ImplDrawTextRect( long nBaseX, long nBaseY, long nX, long nY, long nWidth, l…
435 …SAL_DLLPRIVATE void ImplDrawWaveTextLine( long nBaseX, long nBaseY, long nX, long nY, long…
436 …SAL_DLLPRIVATE void ImplDrawStraightTextLine( long nBaseX, long nBaseY, long nX, long nY, …
437 …SAL_DLLPRIVATE void ImplDrawStrikeoutLine( long nBaseX, long nBaseY, long nX, long nY, lon…
438 …SAL_DLLPRIVATE void ImplDrawStrikeoutChar( long nBaseX, long nBaseY, long nX, long nY, lon…
440 SAL_DLLPRIVATE void ImplDrawMnemonicLine( long nX, long nY, long nWidth );
449 SAL_DLLPRIVATE long ImplLogicXToDevicePixel( long nX ) const;
482 …SAL_DLLPRIVATE void ImplDrawWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpa…
483 …SAL_DLLPRIVATE void ImplDrawColorWallpaper( long nX, long nY, long nWidth, long nHeight, const W…
484 …SAL_DLLPRIVATE void ImplDrawBitmapWallpaper( long nX, long nY, long nWidth, long nHeight, const …
[all …]
/trunk/main/vcl/win/source/window/
H A Dsalobj.cxx742 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()
/trunk/main/sw/source/core/layout/
H A Dflycnt.cxx1357 SwTwips nX = 0; in SetAbsPos() local
1390 nX = pCnt->Frm().Top() - pOriginal->Frm().Top(); in SetAbsPos()
1392 nX = pCnt->Frm().Left() - pOriginal->Frm().Left(); in SetAbsPos()
1436 nX += rNew.Y() - pCnt->Frm().Top() - nBaseOfstForFly; in SetAbsPos()
1438 nX = rNew.Y() - pFrm->Frm().Top() - nBaseOfstForFly; in SetAbsPos()
1445 nX += pCnt->Frm().Right() - rNew.X() - Frm().Width() + in SetAbsPos()
1448 nX += rNew.X() - pCnt->Frm().Left() - nBaseOfstForFly; in SetAbsPos()
1453 nX += pFrm->Frm().Right() - rNew.X() - Frm().Width() + in SetAbsPos()
1456 nX = rNew.X() - pFrm->Frm().Left() - nBaseOfstForFly; in SetAbsPos()
1487 nX = LONG_MAX; in SetAbsPos()
[all …]

Completed in 183 milliseconds

12345678910>>...19