/aoo42x/main/sc/source/ui/view/ |
H A D | gridwin4.cxx | 201 if ( nX1 > 0 ) --nX1; in lcl_DrawScenarioFrames() 394 ++nX1; in Paint() 397 SCCOL nX2 = nX1; in Paint() 440 if (nX1 < nPosX) nX1 = nPosX; in Draw() 850 if ( aRange.aStart.Col() < nX1 ) aRange.aStart.SetCol(nX1); in Draw() 1506 SCCOL nRealX1 = nX1; in InvertSimple() 1507 if (nX1 < nPosX) in InvertSimple() 1508 nX1 = nPosX; in InvertSimple() 1568 nLoopEndX = nX1; in InvertSimple() 1695 if (nX1 < nPosX) in GetSelectionRects() [all …]
|
H A D | printfun.cxx | 444 SCCOL nX1 = 0; in DrawToDev() local 451 nX1 = aRange.aStart.Col(); in DrawToDev() 464 if (nX2>nX1) --nX2; in DrawToDev() 469 if (nX1 > MAXCOL) nX1 = MAXCOL; in DrawToDev() 2077 if ( nX1 > nRepeatStartCol && nX1 <= nRepeatEndCol ) in PrintPage() 2121 for (i=nX1; i<=nX2; i++) in PrintPage() 2719 SCCOL nX1; in DoPrint() local 2728 nX1 = nStartCol; in DoPrint() 2749 nX1 = nX2 + 1; in DoPrint() 2759 nX1 = nStartCol; in DoPrint() [all …]
|
H A D | output.cxx | 151 nX1( nNewX1 ), in ScOutputData() 191 nVisX1 = nX1; in ScOutputData() 346 for (nX=nX1; nX<=nX2; nX++) in DrawGrid() 542 for (SCCOL i=nX1; i<=nX2; i++) in DrawGrid() 745 for ( nX=nX1; nX<=nX2; nX++ ) in lcl_EqualBack() 756 for ( nX=nX1; nX<=nX2; nX++ ) in lcl_EqualBack() 762 for ( nX=nX1; nX<=nX2; nX++ ) in lcl_EqualBack() 767 for ( nX=nX1; nX<=nX2; nX++ ) in lcl_EqualBack() 1477 SCCOL nCol = nX1; in DrawRotatedFrame() 1604 nX = nX1 > 0 ? (nX1-1) : static_cast<SCCOL>(0); in DrawRotatedFrame() [all …]
|
H A D | output2.cxx | 1356 SCCOL nLoopStartX = nX1; in DrawStrings() 1357 if ( nX1 > 0 ) in DrawStrings() 1380 if ( nLoopStartX < nX1 ) in DrawStrings() 1421 SCCOL nTempX=nX1; in DrawStrings() 1425 if ( nTempX < nX1 && in DrawStrings() 2323 if ( nXForPos < nX1 ) in DrawEdit() 2325 nXForPos = nX1; in DrawEdit() 2739 SCCOL nClipX = ( nX < nX1 ) ? nX1 : nX; in DrawEdit() 3096 if (nX<nX1) in DrawRotated() 3103 SCCOL nCol = nX1; in DrawRotated() [all …]
|
H A D | viewutil.cxx | 412 ScUpdateRect::ScUpdateRect( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 ) in ScUpdateRect() argument 414 PutInOrder( nX1, nX2 ); in ScUpdateRect() 417 nOldStartX = nX1; in ScUpdateRect() 423 void ScUpdateRect::SetNew( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 ) in SetNew() argument 425 PutInOrder( nX1, nX2 ); in SetNew() 428 nNewStartX = nX1; in SetNew()
|
H A D | gridmerg.cxx | 96 void ScGridMerger::AddHorLine( long nX1, long nX2, long nY ) in AddHorLine() argument 105 AddLine( nX1, nX2, nY ); in AddHorLine() 108 pDev->DrawLine( Point( nX1, nY ), Point( nX2, nY ) ); in AddHorLine()
|
H A D | output3.cxx | 58 for (nCol=0; nCol<nX1; nCol++) in PrePrintDrawingLayer() 64 for (nCol=nX1; nCol<=nX2; nCol++) in PrePrintDrawingLayer() 81 for (nCol=nX1; nCol<=nX2; nCol++) in PrePrintDrawingLayer()
|
/aoo42x/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 165 const double nX1, in AnimationBezierFunction() argument 169 : mnX1(nX1), in AnimationBezierFunction() 180 const double nX1, in AnimationBezierFunction() argument 182 : mnX1(nX1), in AnimationBezierFunction() 185 mnY2(1-nX1) in AnimationBezierFunction() 250 double nX1 (aPoints[1].getX()); in AnimationParametricFunction() local 256 while (nX > nX1 && nIndex<nSampleCount) in AnimationParametricFunction() 258 nX0 = nX1; in AnimationParametricFunction() 260 nX1 = aPoints[nIndex].getX(); in AnimationParametricFunction() 264 const double nU ((nX-nX1) / (nX0 - nX1)); in AnimationParametricFunction() [all …]
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | csvgrid.cxx | 1035 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnHeader() local 1041 rOutDev.DrawRect( Rectangle( nX1, 0, nX2, nHdrHt ) ); in ImplDrawColumnHeader() 1080 sal_Int32 nX1 = rPos.X() + GetCharWidth() * nCharIx; in ImplDrawCellText() local 1081 sal_Int32 nX2 = nX1 + GetCharWidth() - 2; in ImplDrawCellText() 1094 sal_Int32 nX2 = nX1 + GetCharWidth() - 2; in ImplDrawCellText() 1099 maBackgrDev.DrawLine( Point( nX1 + 2, nY - 2 ), Point( nX1, nY ) ); in ImplDrawCellText() 1100 maBackgrDev.DrawLine( Point( nX1 + 2, nY + 2 ), Point( nX1, nY ) ); in ImplDrawCellText() 1127 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnBackgr() local 1131 Rectangle aRect( nX1, nHdrHt, nX2, nY2 ); in ImplDrawColumnBackgr() 1222 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnSelection() local [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 86 SCCOL nX1, SCROW nY1, SCCOL /* nX2 */, SCROW /* nY2 */, SCTAB nTab, in lcl_GetMergeRange() argument 122 if (rStartX >= (SCsCOL) nX1 && rStartY >= (SCsROW) nY1 && in lcl_GetMergeRange() 140 if (rStartX >= (SCsCOL) nX1 && rStartY >= (SCsROW) nY1 && in lcl_GetMergeRange() 287 FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-1, nX1, nX2 ); in FillInfo() 414 if (nX+1 >= nX1) // Attribute/Blockmarken ab nX1-1 in FillInfo() 639 for (nArrX=nX1; nArrX<=nX2+2; nArrX++) // links und rechts einer mehr in FillInfo() 753 sal_Bool bLeft = ( nArrX == nX1 ); in FillInfo() 894 size_t nColCount = nX2 - nX1 + 3; in FillInfo() 940 nCellInfoY, this, pRowInfo, nX1,nY1,nX2,nY2,nTab, in FillInfo() 950 …SCCOL nFirstDocCol = (nX1 > 0) ? ::std::max< SCCOL >( nFirstRealDocCol, nX1 - 1 ) : nFirstRealDocC… in FillInfo() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | bmpacc3.cxx | 181 long nX1; in DrawLine() local 190 nX1 = rStart.X(); in DrawLine() 197 nX1 = rEnd.X(); in DrawLine() 208 for ( nX = nX1, nY = nY1; nX <= nX2; nX++ ) in DrawLine() 229 nX1 = rStart.X(); in DrawLine() 236 nX1 = rEnd.X(); in DrawLine() 245 sal_Bool bPos = nX1 < nX2; in DrawLine() 247 for ( nX = nX1, nY = nY1; nY <= nY2; nY++ ) in DrawLine()
|
H A D | bitmap4.cxx | 801 long nX, nY, nX1, nX2, nY1, nY2, nSumR, nSumG, nSumB; in ImplMosaic() local 811 nX1 = 0; nX2 = nTileWidth - 1; in ImplMosaic() 816 fArea_1 = 1.0 / ( ( nX2 - nX1 + 1 ) * ( nY2 - nY1 + 1 ) ); in ImplMosaic() 824 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic() 838 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic() 841 nX1 += nTileWidth; nX2 += nTileWidth; in ImplMosaic() 849 while( nX1 < nWidth ); in ImplMosaic() 857 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic() 871 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic() 874 nX1 += nTileWidth; nX2 += nTileWidth; in ImplMosaic() [all …]
|
H A D | region.cxx | 1725 long nX1 = pPoints[0].X(), nX2 = pPoints[2].X(), nY1 = pPoints[0].Y(), nY2 = pPoints[2].Y(); in ImplPolygonRectTest() local 1727 …if( ( (pPoints[1].X() == nX1 && pPoints[3].X() == nX2) && (pPoints[1].Y() == nY2 && pPoints[3].Y()… in ImplPolygonRectTest() 1728 …|| ( (pPoints[1].X() == nX2 && pPoints[3].X() == nX1) && (pPoints[1].Y() == nY1 && pPoints[3].Y() … in ImplPolygonRectTest() 1736 if( nX2 < nX1 ) in ImplPolygonRectTest() 1739 nX2 = nX1; in ImplPolygonRectTest() 1740 nX1 = nSwap; in ImplPolygonRectTest() 1750 if( nX2 != nX1 ) in ImplPolygonRectTest() 1760 pRectOut->Left() = nX1; in ImplPolygonRectTest()
|
/aoo42x/main/basegfx/source/polygon/ |
H A D | b2dsvgpolypolygon.cxx | 288 double nX1, nY1; in importFromSvgD() local 291 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nX1, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 300 nX1 += nLastX; in importFromSvgD() 315 … aCurrPoly.appendBezierSegment(B2DPoint(nX1, nY1), B2DPoint(nX2, nY2), B2DPoint(nX, nY)); in importFromSvgD() 338 double nX1, nY1; in importFromSvgD() local 340 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nX1, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 347 nX1 += nLastX; in importFromSvgD() 354 const double nX1Prime((nX1 * 2.0 + nLastX) / 3.0); in importFromSvgD() 356 const double nX2Prime((nX1 * 2.0 + nX) / 3.0); in importFromSvgD()
|
/aoo42x/main/svtools/source/contnr/ |
H A D | imivctl2.cxx | 761 sal_uInt16 nX1,nX2,nY1,nY2; in OccupyGrids() local 762 GetGridCoord( nIdTL, nX1, nY1 ); in OccupyGrids() 765 if( nX1 > nX2 ) in OccupyGrids() 767 nTemp = nX1; in OccupyGrids() 768 nX1 = nX2; in OccupyGrids() 777 for( ; nX1 <= nX2; nX1++ ) in OccupyGrids() 779 OccupyGrid( GetGrid( nX1, nY1 ) ); in OccupyGrids()
|
/aoo42x/main/basegfx/source/tools/ |
H A D | debugplotter.cxx | 141 const double nX1( rElem.first.getMaxX() ); in outputRect() local 147 << nX1 << "\t" << nY0 << "\t" in outputRect() 148 << nX1 << "\t" << nY1 << "\t" in outputRect() 155 nX1, nY0, in outputRect() 156 nX1, nY1, in outputRect()
|
/aoo42x/main/sc/source/ui/inc/ |
H A D | printfun.hxx | 325 SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 327 void PrintArea( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 330 void LocateArea( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 333 void PrintColHdr( SCCOL nX1, SCCOL nX2, long nScrX, long nScrY ); 335 void LocateColHdr( SCCOL nX1, SCCOL nX2, long nScrX, long nScrY,
|
H A D | gridwin.hxx | 277 …void DrawPagePreview( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, OutputDevice* pConten… 354 void DrawButtons( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 358 void Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 361 void InvertSimple( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
|
/aoo42x/main/svx/inc/svx/ |
H A D | framelink.hxx | 227 inline double GetHorDiagAngle( long nX1, long nX2, long nY1, long nY2 ) in GetHorDiagAngle() argument 228 { return GetHorDiagAngle( nX2 - nX1, nY2 - nY1 ); } in GetHorDiagAngle() 264 inline double GetVerDiagAngle( long nX1, long nX2, long nY1, long nY2 ) in GetVerDiagAngle() argument 265 { return GetVerDiagAngle( nX2 - nX1, nY2 - nY1 ); } in GetVerDiagAngle()
|
/aoo42x/main/chart2/source/view/charttypes/ |
H A D | PieChart.cxx | 859 sal_Int32 nX1 = rInfo.aFirstPosition.getX(); in rearrangeLabelToAvoidOverlapIfRequested() local 861 sal_Int32 nX2 = nX1; in rearrangeLabelToAvoidOverlapIfRequested() 864 if( nX1 < aRect.getMinX() ) in rearrangeLabelToAvoidOverlapIfRequested() 866 else if( nX1 > aRect.getMaxX() ) in rearrangeLabelToAvoidOverlapIfRequested() 876 ::basegfx::B2DVector aLength(nX1-nX2, nY1-nY2); in rearrangeLabelToAvoidOverlapIfRequested() 882 aPoints[0][0].X = nX1; in rearrangeLabelToAvoidOverlapIfRequested()
|
/aoo42x/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 690 void AquaSalGraphics::drawLine( long nX1, long nY1, long nX2, long nY2 ) in drawLine() argument 692 if( nX1 == nX2 && nY1 == nY2 ) in drawLine() 695 drawPixel( nX1, nY1 ); in drawLine() 703 CGContextMoveToPoint( mrContext, static_cast<float>(nX1)+0.5, static_cast<float>(nY1)+0.5 ); in drawLine() 707 Rectangle aRefreshRect( nX1, nY1, nX2, nY2 ); in drawLine() 739 long nX1 = pPtAry->mnX; in getBoundRect() local 740 long nX2 = nX1; in getBoundRect() 745 if( pPtAry[n].mnX < nX1 ) in getBoundRect() 746 nX1 = pPtAry[n].mnX; in getBoundRect() 755 rX = nX1; in getBoundRect() [all …]
|
/aoo42x/main/canvas/source/tools/ |
H A D | canvastools.cxx | 952 const double nX1( rRange.getMaxX() ); in getBoundMarksPolyPolygon() local 963 aPoly.append( ::basegfx::B2DPoint( nX1-4, in getBoundMarksPolyPolygon() 965 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon() 967 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon() 979 aPoly.append( ::basegfx::B2DPoint( nX1-4, in getBoundMarksPolyPolygon() 981 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon() 983 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
|
/aoo42x/main/vcl/unx/generic/gdi/ |
H A D | salgdi3.cxx | 668 const int nX1 = aPos.X() + pRawBitmap->mnXOffset; in DrawServerAAForcedString() local 670 const int nX2 = nX1 + pRawBitmap->mnWidth; in DrawServerAAForcedString() 676 nXmin = nX1; in DrawServerAAForcedString() 683 if( nXmin > nX1 ) nXmin = nX1; in DrawServerAAForcedString() 818 const int nX1 = aPos.X() + pRawBitmap->mnXOffset; in DrawServerAAForcedString() local 821 if( (nX1 <= nXmax) && (int(nX1 + pRawBitmap->mnWidth) > nXmin) in DrawServerAAForcedString() 827 unsigned char* p21 = p20 + (nX1 - nXmin + pImg->xoffset) * bpp; in DrawServerAAForcedString()
|
/aoo42x/main/svtools/source/control/ |
H A D | ruler.cxx | 339 void Ruler::ImplVDrawLine( long nX1, long nY1, long nX2, long nY2 ) in ImplVDrawLine() argument 341 if ( nX1 < -RULER_CLIP ) in ImplVDrawLine() 343 nX1 = -RULER_CLIP; in ImplVDrawLine() 351 if ( nX1 > nClip ) in ImplVDrawLine() 356 maVirDev.DrawLine( Point( nX1, nY1 ), Point( nX2, nY2 ) ); in ImplVDrawLine() 358 maVirDev.DrawLine( Point( nY1, nX1 ), Point( nY2, nX2 ) ); in ImplVDrawLine() 365 if ( nX1 < -RULER_CLIP ) in ImplVDrawRect() 367 nX1 = -RULER_CLIP; in ImplVDrawRect() 375 if ( nX1 > nClip ) in ImplVDrawRect() 380 maVirDev.DrawRect( Rectangle( nX1, nY1, nX2, nY2 ) ); in ImplVDrawRect() [all …]
|
/aoo42x/main/cppcanvas/source/mtfrenderer/ |
H A D | mtftools.cxx | 335 const double nX1, in appendRect() argument 345 ::basegfx::B2DRectangle( x + nX1, y + nY1, x + nX2, y + nY2 ) ) ); in appendRect() 349 const double nX1, in appendRect() argument 356 ::basegfx::B2DRectangle( nX1, nY1, nX2, nY2 ) ) ); in appendRect()
|