/trunk/main/sc/source/ui/view/ |
H A D | gridwin4.cxx | 202 if ( nY1>=2 ) nY1 -= 2; // Hack: Titelzeile beruehrt zwei Zellen in lcl_DrawScenarioFrames() 203 else if ( nY1 > 0 ) --nY1; in lcl_DrawScenarioFrames() 406 SCROW nY2 = nY1; in Paint() 432 PutInOrder( nY1, nY2 ); in Draw() 441 if (nY1 < nPosY) nY1 = nPosY; in Draw() 852 if ( aRange.aStart.Row() < nY1 ) aRange.aStart.SetRow(nY1); in Draw() 1488 PutInOrder( nY1, nY2 ); in InvertSimple() 1509 if (nY1 < nPosY) in InvertSimple() 1510 nY1 = nPosY; in InvertSimple() 1697 if (nY1 < nPosY) in GetSelectionRects() [all …]
|
H A D | printfun.cxx | 445 SCROW nY1 = 0; in DrawToDev() local 452 nY1 = aRange.aStart.Row(); in DrawToDev() 462 nY1 = pViewData->GetPosY(eVWhich); in DrawToDev() 466 if (nY2>nY1) --nY2; in DrawToDev() 471 if (nY1 > MAXROW) nY1 = MAXROW; in DrawToDev() 478 ScRange aRange( nX1,nY1,nTab, nX2,nY2,nTab ); in DrawToDev() 1462 for (SCROW nRow=nY1; nRow<=nY2; nRow++) in PrintRowHdr() 1574 if ( nX2 < nX1 || nY2 < nY1 ) in PrintArea() 2081 if ( nY1 > nRepeatStartRow && nY1 <= nRepeatEndRow ) in PrintPage() 2082 nY1 = nRepeatEndRow + 1; in PrintPage() [all …]
|
H A D | viewutil.cxx | 412 ScUpdateRect::ScUpdateRect( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 ) in ScUpdateRect() argument 415 PutInOrder( nY1, nY2 ); in ScUpdateRect() 418 nOldStartY = nY1; in ScUpdateRect() 423 void ScUpdateRect::SetNew( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 ) in SetNew() argument 426 PutInOrder( nY1, nY2 ); in SetNew() 429 nNewStartY = nY1; in SetNew()
|
H A D | gridmerg.cxx | 111 void ScGridMerger::AddVerLine( long nX, long nY1, long nY2 ) in AddVerLine() argument 120 AddLine( nY1, nY2, nX ); in AddVerLine() 123 pDev->DrawLine( Point( nX, nY1 ), Point( nX, nY2 ) ); in AddVerLine()
|
H A D | output3.cxx | 60 aOffset.Y() -= pDoc->GetRowHeight( 0, nY1-1, nTab ); in PrePrintDrawingLayer() 66 nDataHeight += pDoc->GetRowHeight( nY1, nY2, nTab ); in PrePrintDrawingLayer() 83 aRect.Bottom() += pDoc->GetRowHeight( nY1, nY2, nTab ); in PrePrintDrawingLayer()
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 166 const double nY1, in AnimationBezierFunction() argument 170 mnY1(nY1), in AnimationBezierFunction() 181 const double nY1) in AnimationBezierFunction() argument 183 mnY1(nY1), in AnimationBezierFunction() 184 mnX2(1-nY1), in AnimationBezierFunction() 251 double nY1 (aPoints[1].getY()); in AnimationParametricFunction() local 259 nY0 = nY1; in AnimationParametricFunction() 261 nY1 = aPoints[nIndex].getY(); in AnimationParametricFunction() 265 const double nY (nY0*nU + nY1*(1-nU)); in AnimationParametricFunction()
|
/trunk/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() 220 for (nSignedY=((SCsROW)nY1)-1; nSignedY<=(SCsROW)nYExtra; nSignedY++) in FillInfo() 280 if ( bAnyItem && HasAttrib( 0,nY1,nTab, MAXCOL,nY2+1,nTab, in FillInfo() 389 (void) pThisCol->Search( nY1, nUIndex ); in FillInfo() 420 SCROW nCurRow=nY1; // einzelne Zeile in FillInfo() 576 nCurRow = nY1; // einzelne Zeile in FillInfo() 577 nThisRow = nY1; // Ende des Bereichs in FillInfo() 579 if ( pThisMarkArr->Search( nY1, nIndex ) ) in FillInfo() [all …]
|
H A D | attarray.cxx | 522 SCROW nY1 = nStart; in ApplyStyleArea() local 532 else if ( nY1 < nStartRow || nY2 > nEndRow ) in ApplyStyleArea() 534 if (nY1 < nStartRow) nY1=nStartRow; in ApplyStyleArea() 536 SetPatternArea( nY1, nY2, pNewPattern, sal_True ); in ApplyStyleArea() 629 SCROW nY1 = nStart; in ApplyLineStyleArea() local 690 if ( nY1 < nStartRow || nY2 > nEndRow ) in ApplyLineStyleArea() 692 if (nY1 < nStartRow) nY1=nStartRow; in ApplyLineStyleArea() 755 SCROW nY1 = nStart; in ApplyCacheArea() local 759 if ( nY1 < nStartRow || nY2 > nEndRow ) in ApplyCacheArea() 761 if (nY1 < nStartRow) nY1=nStartRow; in ApplyCacheArea() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | bmpacc3.cxx | 182 long nY1; in DrawLine() local 191 nY1 = rStart.Y(); in DrawLine() 198 nY1 = rEnd.Y(); in DrawLine() 206 sal_Bool bPos = nY1 < nY2; in DrawLine() 208 for ( nX = nX1, nY = nY1; nX <= nX2; nX++ ) in DrawLine() 230 nY1 = rStart.Y(); in DrawLine() 237 nY1 = rEnd.Y(); 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 804 nY1 = 0; nY2 = nTileHeight - 1; in ImplMosaic() 816 fArea_1 = 1.0 / ( ( nX2 - nX1 + 1 ) * ( nY2 - nY1 + 1 ) ); in ImplMosaic() 822 for( nY = nY1, nSumR = nSumG = nSumB = 0; nY <= nY2; nY++ ) in ImplMosaic() 837 for( nY = nY1; nY <= nY2; nY++ ) in ImplMosaic() 846 fArea_1 = 1.0 / ( ( nX2 - nX1 + 1 ) * ( nY2 - nY1 + 1 ) ); in ImplMosaic() 855 for( nY = nY1, nSumR = nSumG = nSumB = 0; nY <= nY2; nY++ ) in ImplMosaic() 870 for( nY = nY1; nY <= nY2; nY++ ) in ImplMosaic() 879 fArea_1 = 1.0 / ( ( nX2 - nX1 + 1 ) * ( nY2 - nY1 + 1 ) ); in ImplMosaic() 885 nY1 += nTileHeight; nY2 += nTileHeight; 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 …oints[1].X() == nX1 && pPoints[3].X() == nX2) && (pPoints[1].Y() == nY2 && pPoints[3].Y() == nY1) ) in ImplPolygonRectTest() 1728 …|| ( (pPoints[1].X() == nX2 && pPoints[3].X() == nX1) && (pPoints[1].Y() == nY1 && pPoints[3].Y() … in ImplPolygonRectTest() 1743 if( nY2 < nY1 ) in ImplPolygonRectTest() 1746 nY2 = nY1; in ImplPolygonRectTest() 1747 nY1 = nSwap; in ImplPolygonRectTest() 1755 if( nY2 != nY1 ) in ImplPolygonRectTest() 1762 pRectOut->Top() = nY1; in ImplPolygonRectTest()
|
/trunk/main/basegfx/source/polygon/ |
H A D | b2dsvgpolypolygon.cxx | 288 double nX1, nY1; in importFromSvgD() local 292 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nY1, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 301 nY1 += nLastY; in importFromSvgD() 315 … aCurrPoly.appendBezierSegment(B2DPoint(nX1, nY1), B2DPoint(nX2, nY2), B2DPoint(nX, nY)); in importFromSvgD() 338 double nX1, nY1; in importFromSvgD() local 341 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nY1, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 348 nY1 += nLastY; in importFromSvgD() 355 const double nY1Prime((nY1 * 2.0 + nLastY) / 3.0); in importFromSvgD() 357 const double nY2Prime((nY1 * 2.0 + nY) / 3.0); in importFromSvgD()
|
/trunk/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() 771 if( nY1 > nY2 ) in OccupyGrids() 773 nTemp = nY1; in OccupyGrids() 774 nY1 = nY2; in OccupyGrids() 778 for( ; nY1 <= nY2; nY1++ ) in OccupyGrids() 779 OccupyGrid( GetGrid( nX1, nY1 ) ); in OccupyGrids()
|
/trunk/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, 334 void PrintRowHdr( SCROW nY1, SCROW nY2, long nScrX, long nScrY ); 337 void LocateRowHdr( SCROW nY1, SCROW nY2, 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,
|
/trunk/main/basegfx/source/tools/ |
H A D | debugplotter.cxx | 142 const double nY1( rElem.first.getMaxY() ); in outputRect() local 148 << nX1 << "\t" << nY1 << "\t" in outputRect() 149 << nX0 << "\t" << nY1 << "\t" in outputRect() 156 nX1, nY1, in outputRect() 157 nX0, nY1, in outputRect()
|
/trunk/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 416 for( long nY = 0L, nY1 = 1L, nY2 = 2; nY < nHeight2; nY++, nY1++, nY2++ ) in DetectEdges() local 427 nSum1 += ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp ) ) << 1; in DetectEdges() 428 nSum1 -= ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp -= 2 ) ) << 1; in DetectEdges() 437 pWriteAcc->SetPixelIndex( nY1, nXDst, nWhitePalIdx ); in DetectEdges() 439 pWriteAcc->SetPixelIndex( nY1, nXDst, nBlackPalIdx ); in DetectEdges()
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | salgdi3.cxx | 669 const int nY1 = aPos.Y() + pRawBitmap->mnYOffset; in DrawServerAAForcedString() local 671 const int nY2 = nY1 + pRawBitmap->mnHeight; in DrawServerAAForcedString() 678 nYmin = nY1; in DrawServerAAForcedString() 685 if( nYmin > nY1 ) nYmin = nY1; in DrawServerAAForcedString() 819 const int nY1 = aPos.Y() + pRawBitmap->mnYOffset; in DrawServerAAForcedString() local 822 && (nY1 <= nYmax) && (int(nY1 + pRawBitmap->mnHeight) > nYmin) ) in DrawServerAAForcedString() 826 p20 += (nY1 - nYmin) * pImg->bytes_per_line; in DrawServerAAForcedString() 829 if( y > nYmax - nY1 ) in DrawServerAAForcedString() 830 y = nYmax - nY1 + 1; in DrawServerAAForcedString()
|
/trunk/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()
|
/trunk/main/svx/source/engine3d/ |
H A D | view3d.cxx | 1502 long nY1 = basegfx::fround(aCenter.getY()) - (nHgt + 1) / 2; in Start3DCreation() local 1503 long nY2 = nY1 + nHgt; in Start3DCreation() 1508 if (nY1 < nOutMin) in Start3DCreation() 1510 nY1 = nOutMin; in Start3DCreation() 1511 if (nY2 < nY1 + nMinLen) nY2 = nY1 + nMinLen; in Start3DCreation() 1516 if (nY1 > nY2 - nMinLen) nY1 = nY2 - nMinLen; in Start3DCreation() 1521 aRef1.Y() = nY1; in Start3DCreation()
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | PieChart.cxx | 860 sal_Int32 nY1 = rInfo.aFirstPosition.getY(); in rearrangeLabelToAvoidOverlapIfRequested() local 862 sal_Int32 nY2 = nY1; in rearrangeLabelToAvoidOverlapIfRequested() 869 if( nY1 < aRect.getMinY() ) in rearrangeLabelToAvoidOverlapIfRequested() 871 else if( nY1 > aRect.getMaxY() ) in rearrangeLabelToAvoidOverlapIfRequested() 876 ::basegfx::B2DVector aLength(nX1-nX2, nY1-nY2); in rearrangeLabelToAvoidOverlapIfRequested() 883 aPoints[0][0].Y = nY1; in rearrangeLabelToAvoidOverlapIfRequested()
|
/trunk/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() 741 long nY1 = pPtAry->mnY; in getBoundRect() local 742 long nY2 = nY1; in getBoundRect() 750 if( pPtAry[n].mnY < nY1 ) in getBoundRect() 751 nY1 = pPtAry[n].mnY; in getBoundRect() 756 rY = nY1; in getBoundRect() [all …]
|
/trunk/main/canvas/source/tools/ |
H A D | canvastools.cxx | 953 const double nY1( rRange.getMaxY() ); in getBoundMarksPolyPolygon() local 972 nY1 ) ); in getBoundMarksPolyPolygon() 974 nY1 ) ); in getBoundMarksPolyPolygon() 976 nY1-4 ) ); in getBoundMarksPolyPolygon() 980 nY1 ) ); in getBoundMarksPolyPolygon() 982 nY1 ) ); in getBoundMarksPolyPolygon() 984 nY1-4 ) ); in getBoundMarksPolyPolygon()
|
/trunk/main/cppcanvas/source/mtfrenderer/ |
H A D | mtftools.cxx | 336 const double nY1, in appendRect() argument 345 ::basegfx::B2DRectangle( x + nX1, y + nY1, x + nX2, y + nY2 ) ) ); in appendRect() 350 const double nY1, in appendRect() argument 356 ::basegfx::B2DRectangle( nX1, nY1, nX2, nY2 ) ) ); in appendRect()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsPageObjectPainter.cxx | 528 const sal_Int32 nY1 ( in CreateBackgroundBitmap() local 534 const sal_Int32 nY2 (nHeight-nY1); in CreateBackgroundBitmap() 538 if (nY<=nY1) in CreateBackgroundBitmap() 545 aColor.Merge(aBottomColor, 255 * (nY2-nY) / (nY2-nY1)); in CreateBackgroundBitmap()
|