| /AOO42X/main/sc/source/ui/view/ |
| H A D | gridwin4.cxx | 194 SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 ) in lcl_DrawScenarioFrames() argument 201 if ( nX1 > 0 ) --nX1; in lcl_DrawScenarioFrames() 207 ScRange aViewRange( nX1,nY1,nTab, nX2,nY2,nTab ); in lcl_DrawScenarioFrames() 374 SCCOL nX1 = pViewData->GetPosX(eHWhich); in Paint() local 391 long nScrX = ScViewData::ToPixel( pDoc->GetColWidth( nX1, nTab ), nPPTX ); in Paint() 392 while ( nScrX <= aMirroredPixel.Left() && nX1 < MAXCOL ) in Paint() 394 ++nX1; in Paint() 395 nScrX += ScViewData::ToPixel( pDoc->GetColWidth( nX1, nTab ), nPPTX ); in Paint() 397 SCCOL nX2 = nX1; in Paint() 413 Draw( nX1,nY1,nX2,nY2, SC_UPDATE_MARKS ); // nicht weiterzeichnen in Paint() [all …]
|
| H A D | printfun.cxx | 383 void lcl_HidePrint( ScTableInfo& rTabInfo, SCCOL nX1, SCCOL nX2 ) in lcl_HidePrint() argument 388 for (SCCOL nX=nX1; nX<=nX2; nX++) in lcl_HidePrint() 444 SCCOL nX1 = 0; in DrawToDev() local 451 nX1 = aRange.aStart.Col(); in DrawToDev() 461 nX1 = pViewData->GetPosX(eHWhich); in DrawToDev() 463 nX2 = nX1 + pViewData->VisibleCellsX(eHWhich); in DrawToDev() 464 if (nX2>nX1) --nX2; in DrawToDev() 469 if (nX1 > MAXCOL) nX1 = MAXCOL; in DrawToDev() 478 ScRange aRange( nX1,nY1,nTab, nX2,nY2,nTab ); in DrawToDev() 482 for (SCCOL i=nX1; i<=nX2; i++) in DrawToDev() [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() 525 for (SCCOL i=nX1; i<=nX2 && !bSingle; i++) in DrawGrid() 542 for (SCCOL i=nX1; i<=nX2; i++) in DrawGrid() 599 SCCOL nStartX = Max( aRange.aStart.Col(), nX1 ); in SetPagebreakMode() 736 SCCOL nX1, SCCOL nX2, sal_Bool bShowProt, sal_Bool bPagebreakMode ) in lcl_EqualBack() argument 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() [all …]
|
| H A D | output2.cxx | 877 if (rOverX >= nX1 && !bHidden) in GetMergeOrigin() 904 if (rOverX >= nX1 && rOverY >= nY1 && in GetMergeOrigin() 1034 if ( !bEmpty && ( nX < nX1 || nX > nX2 || !pThisRowInfo ) ) in IsEmptyCellText() 1246 if ( rThisRowInfo.nRowNo == nCellY && nRightX >= nX1 && nRightX <= nX2 ) in GetOutputArea() 1252 if ( rThisRowInfo.nRowNo == nCellY && nLeftX >= nX1 && nLeftX <= nX2 ) in GetOutputArea() 1264 …if ( nRightMissing > 0 && bMarkClipped && nRightX >= nX1 && nRightX <= nX2 && !bBreak && !bCellIsV… in GetOutputArea() 1271 …if ( nLeftMissing > 0 && bMarkClipped && nLeftX >= nX1 && nLeftX <= nX2 && !bBreak && !bCellIsValu… in GetOutputArea() 1356 SCCOL nLoopStartX = nX1; in DrawStrings() 1357 if ( nX1 > 0 ) in DrawStrings() 1380 if ( nLoopStartX < nX1 ) in DrawStrings() [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 | 957 sal_Int32 nX1 = Max( GetColumnX( nColIx ), GetFirstX() ); in Command() local 959 ExecutePopup( Point( (nX1 + nX2) / 2, GetHeight() / 2 ) ); in Command() 1035 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnHeader() local 1041 rOutDev.DrawRect( Rectangle( nX1, 0, nX2, nHdrHt ) ); in ImplDrawColumnHeader() 1046 rOutDev.DrawText( Point( nX1 + 1, 0 ), GetColumnTypeName( nColIndex ) ); in ImplDrawColumnHeader() 1049 rOutDev.DrawLine( Point( nX1, nHdrHt ), Point( nX2, nHdrHt ) ); in ImplDrawColumnHeader() 1080 sal_Int32 nX1 = rPos.X() + GetCharWidth() * nCharIx; in ImplDrawCellText() local 1081 sal_Int32 nX2 = nX1 + GetCharWidth() - 2; in ImplDrawCellText() 1085 maBackgrDev.DrawLine( Point( nX1, nY ), Point( nX2, nY ) ); in ImplDrawCellText() 1093 sal_Int32 nX1 = rPos.X() + GetCharWidth() * nCharIx; in ImplDrawCellText() 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 101 if (rStartX >= (SCsCOL) nX1 && !pDoc->ColHidden(rStartX, nTab, nLastCol)) in lcl_GetMergeRange() 122 if (rStartX >= (SCsCOL) nX1 && rStartY >= (SCsROW) nY1 && in lcl_GetMergeRange() 140 if (rStartX >= (SCsCOL) nX1 && rStartY >= (SCsROW) nY1 && in lcl_GetMergeRange() 157 void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, in FillInfo() argument 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() 688 for (nArrX=nX1; nArrX<=nX2+2; nArrX++) // links und rechts einer mehr in FillInfo() 699 … lcl_GetMergeRange( nSignedX,nSignedY, nArrY, this,pRowInfo, nX1,nY1,nX2,nY2,nTab, 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() 846 fArea_1 = 1.0 / ( ( nX2 - nX1 + 1 ) * ( nY2 - nY1 + 1 ) ); 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() [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/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 | 274 …void DrawPagePreview( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, OutputDevice* pConten… 351 void DrawButtons( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 355 void Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, 358 void InvertSimple( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
|
| /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/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() 363 void Ruler::ImplVDrawRect( long nX1, long nY1, long nX2, long nY2 ) in ImplVDrawRect() argument 365 if ( nX1 < -RULER_CLIP ) in ImplVDrawRect() 367 nX1 = -RULER_CLIP; in ImplVDrawRect() 375 if ( nX1 > nClip ) 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()
|