/aoo41x/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 84 void lcl_GetMergeRange( SCsCOL nX, SCsROW nY, SCSIZE nArrY, in lcl_GetMergeRange() argument 92 rStartY = nY; in lcl_GetMergeRange() 179 SCROW nY; in FillInfo() local 223 nY = (SCROW) nSignedY; in FillInfo() 225 nY = MAXROW+1; // ungueltig in FillInfo() 227 if (nY > nDocHeightEndRow) in FillInfo() 229 if (ValidRow(nY)) in FillInfo() 235 if ( nArrY==0 || nDocHeight || nY > MAXROW ) in FillInfo() 244 pThisRowInfo->nRowNo = nY; //! Fall < 0 ? in FillInfo() 301 nY = pThisRowInfo->nRowNo; in FillInfo() [all …]
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 126 long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) in SetPosSizePixel() argument 130 ScCsvControl::SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 571 sal_Int32 nY = GetHeight() - 1; in ImplDrawArea() local 572 maBackgrDev.DrawLine( Point( nPosX, nY ), Point( nPosX + nWidth - 1, nY ) ); in ImplDrawArea() 586 sal_Int32 nY = (maActiveRect.Top() + maActiveRect.Bottom()) / 2; in ImplDrawBackgrDev() local 591 maBackgrDev.DrawPixel( Point( nX, nY ) ); in ImplDrawBackgrDev() 593 maBackgrDev.DrawLine( Point( nX, nY - 1 ), Point( nX, nY + 1 ) ); in ImplDrawBackgrDev()
|
/aoo41x/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | DrawingDemo.java | 295 int i, n, nY; in Demo_PolyPolygonBezier() local 297 for ( nY = 0, i = 0; i < nPolygonCount; i++, nY += nPageHeight / nPolygonCount ) in Demo_PolyPolygonBezier() 309 pPolyPoints[ 0 ].Y = nY; in Demo_PolyPolygonBezier() 318 pPolyPoints[ 3 ].Y = nY; in Demo_PolyPolygonBezier() 322 pPolyPoints[ 4 ].Y = nY; in Demo_PolyPolygonBezier() 331 pPolyPoints[ 7 ].Y = nY; in Demo_PolyPolygonBezier()
|
/aoo41x/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() 490 …rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, impl_getWidth()-1, nY … in impl_paint()
|
/aoo41x/main/svtools/source/filter/jpeg/ |
H A D | jpegc.c | 226 long nY; in WriteJPEG() local 265 for( nY = 0; nY < nHeight; nY++ ) in WriteJPEG() 267 pScanline = GetScanline( pJPEGWriter, nY ); in WriteJPEG() 272 if( JPEGCallback( pCallbackData, nY * 100L / nHeight ) ) in WriteJPEG()
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 414 void Os2SalGraphics::drawPixel( long nX, long nY ) in drawPixel() argument 419 aPt.y = TY( nY ); in drawPixel() 427 void Os2SalGraphics::drawPixel( long nX, long nY, SalColor nSalColor ) in drawPixel() argument 450 aPt.y = TY( nY ); in drawPixel() 477 void Os2SalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 498 aPt.y = TY( nY ); in drawRect() 501 aPt.y = TY( nY + nHeight - 1 ); in drawRect() 850 sal_Bool Os2SalGraphics::drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nS… in drawEPS() argument 973 aBuf.append( nY - ( dM22 * nBoundingBox[3] ) ); in drawEPS() 987 ImplWriteDouble( &pTemp, mnHeight - nY - ( dM22 * nBoundingBox[3] ) ); in drawEPS()
|
H A D | salgdi3.cxx | 1283 long nY = IntTimes256FromFixed( pHeader->pfxStart.y ); in GetGlyphOutline() local 1284 pPoints[ nPnt ] = Point( nX, nY ); in GetGlyphOutline() 1315 nY = IntTimes256FromFixed( pCurve->apfx[ i ].y ); in GetGlyphOutline() 1317 pPoints[ nPnt ] = Point( nX, nY ); in GetGlyphOutline() 1329 nY = IntTimes256FromFixed( pCurve->apfx[ i ].y ); in GetGlyphOutline() 1331 Point aControlP( nX, nY ); in GetGlyphOutline() 1336 nY = pPoints[ nPnt-1 ].Y() + 2 * aControlP.Y(); in GetGlyphOutline() 1342 nY = IntTimes256FromFixed( pCurve->apfx[ i ].y ); in GetGlyphOutline() 1355 nY = (nY + 1) / 2; in GetGlyphOutline() 1360 pPoints[ nPnt+2 ] = Point( nX, nY ); in GetGlyphOutline() [all …]
|
/aoo41x/main/sd/source/ui/table/ |
H A D | TableDesignPane.cxx | 822 sal_Int32 nY = 0; in CreateDesignPreview() local 824 for( nRow = 0; nRow < nPreviewRows; ++nRow, nY += nCellHeight-1 ) in CreateDesignPreview() 835 const Rectangle aRect( nX, nY, nX + nCellWidth - 1, nY + nCellHeight - 1 ); in CreateDesignPreview() 850 const Point aPnt1( nX + 2, nY + ((nCellHeight - 1 ) >> 1) ); in CreateDesignPreview() 857 nY = 0; in CreateDesignPreview() 858 for( nRow = 0; nRow < nPreviewRows; ++nRow, nY += nCellHeight-1 ) in CreateDesignPreview() 867 const Point aPntTL( nX, nY ); in CreateDesignPreview() 868 const Point aPntTR( nX + nCellWidth - 1, nY ); in CreateDesignPreview() 869 const Point aPntBL( nX, nY + nCellHeight - 1 ); in CreateDesignPreview() 870 const Point aPntBR( nX + nCellWidth - 1, nY + nCellHeight - 1 ); in CreateDesignPreview()
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | salgdi.cxx | 455 for( int nY = 0; nY < 8; nY++ ) 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()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 169 sal_uLong nY = (sal_uLong) ((double) aWinSize.Height() in CalcMinZoom() local 175 nFact = Min(nX, nY); in CalcMinZoom() 177 nFact = Max(nX, nY); in CalcMinZoom() 520 sal_uLong nY(0L); in GetZoomForRect() local 531 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect() 537 sal_uLong nFact = Min(nX, nY); in GetZoomForRect() 594 sal_uLong nY(0L); in SetZoomRect() local 604 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect() 610 sal_uLong nFact = Min(nX, nY); in SetZoomRect()
|
/aoo41x/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 3110 if( nY >= nRows ) in ImplCreate() 3122 pViewData->nY = nY; in ImplCreate() 3301 sal_uInt16 nY = pViewData->nY; in SearchCol() local 3302 if( nY >= nTop && nY <= nBottom ) in SearchCol() 3420 sal_uInt16 nY = pViewData->nY; in GoLeftRight() local 3447 sal_uInt16 nRowMin = nY; in GoLeftRight() 3448 sal_uInt16 nRowMax = nY; in GoLeftRight() 3469 sal_uInt16 nY = pViewData->nY; in GoUpDown() local 3479 pResult = SearchCol( nX, nY ,0, nY, sal_False, sal_True ); in GoUpDown() 3483 long nCurRow = nY; in GoUpDown() [all …]
|
/aoo41x/main/vcl/source/control/ |
H A D | fixed.cxx | 61 long nY; in ImplCalcPos() local 71 nY = 0; in ImplCalcPos() 73 nY = rWinSize.Height()-rObjSize.Height(); in ImplCalcPos() 75 nY = (rWinSize.Height()-rObjSize.Height())/2; in ImplCalcPos() 81 if ( nY < 0 ) in ImplCalcPos() 82 nY = 0; in ImplCalcPos() 85 Point aPos( nX+rPos.X(), nY+rPos.Y() ); in ImplCalcPos() 507 long nY = 0; in ImplDraw() local 516 nY = (aOutSize.Height()-1)/2; in ImplDraw() 517 aDecoView.DrawSeparator( Point( 0, nY ), Point( aOutSize.Width()-1, nY ), false ); in ImplDraw()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | gridwin4.cxx | 1532 for (SCROW nY=nY1; nY<=nY2; nY++) in InvertSimple() local 1534 sal_Bool bFirstRow = ( nY == nPosY ); // first visible row? in InvertSimple() 1536 sal_uInt16 nHeightTwips = pDoc->GetRowHeight( nY,nTab ); in InvertSimple() 1554 if (nY==nY2) in InvertSimple() 1581 SCROW nThisY = nY; in InvertSimple() 1633 if ( rMark.IsCellMarked( nX, nY, sal_True ) == bRepeat && in InvertSimple() 1720 for (SCROW nY=nY1; nY<=nY2; nY++) in GetSelectionRects() local 1722 sal_Bool bFirstRow = ( nY == nPosY ); // first visible row? in GetSelectionRects() 1724 sal_uInt16 nHeightTwips = pDoc->GetRowHeight( nY,nTab ); in GetSelectionRects() 1741 if (nY==nY2) in GetSelectionRects() [all …]
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterTextView.cxx | 424 double nY (maLocation.Y - mnTopOffset); in Paint() local 449 geometry::AffineMatrix2D(1,0,nX, 0,1,nY), in Paint() 561 double nY (0); in Format() local 568 (*iParagraph)->Format(nY, maSize.Width, mpFont); in Format() 569 nY += (*iParagraph)->GetTotalTextHeight(); in Format() 754 const double nY, in Format() argument 773 mnVerticalOffset = nY; in Format() 1187 double nY (mnYOrigin + mnVerticalOffset + mnAscent); in GetCharacterBounds() local 1218 double nTop (nY + rCellBox.Y1); in GetCharacterBounds() 1219 double nBottom (nY + rCellBox.Y2); in GetCharacterBounds() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | ruler.cxx | 415 aRect.Bottom() = nY; in ImplInvertLines() 417 aRect.Right() = nY; in ImplInvertLines() 472 long nY; in ImplDrawTicks() local 1623 long nY; in ImplHitTest() local 1635 nY = rPos.Y(); in ImplHitTest() 1640 nY = rPos.X(); in ImplHitTest() 1662 (nY < 0) || (nY > nHitBottom) ) in ImplHitTest() 2039 long nY; in ImplDrag() local 2045 nY = rPos.Y(); in ImplDrag() 2051 nY = rPos.X(); in ImplDrag() [all …]
|
/aoo41x/main/svtools/source/graphic/ |
H A D | transformer.cxx | 71 for ( sal_Int32 nY = 0; nY < pReadAccess->Height(); nY++ ) in setAlpha() local 75 const sal_uInt8 cIndex = pReadAccess->GetPixelIndex( nY, nX ); in setAlpha() 77 pWriteAccess->SetPixelIndex( nY, nX, nAlphaTo ); in setAlpha()
|
/aoo41x/main/sc/source/ui/drawfunc/ |
H A D | fusel2.cxx | 57 long nY = rP1.Y() - rP2.Y(); in Diff() local 58 if (nY<0) nY = -nY; in Diff() 59 return nX+nY; in Diff()
|
/aoo41x/main/sw/source/core/layout/ |
H A D | flycnt.cxx | 1322 SwTwips nY; in SetAbsPos() local 1340 nY = rNew.X() - nTopForObjPos; in SetAbsPos() 1346 nY = rNew.Y() - nTopForObjPos; in SetAbsPos() 1354 nY = aDist.nMain + aDist.nSub; in SetAbsPos() 1388 nY += nDiff; in SetAbsPos() 1395 if ( nY == LONG_MAX ) in SetAbsPos() 1412 nY = rNew.X() - nTopForObjPos; in SetAbsPos() 1414 nY = nTopForObjPos - rNew.X(); in SetAbsPos() 1418 nY = rNew.Y() - nTopForObjPos; in SetAbsPos() 1485 nY = LONG_MAX; in SetAbsPos() [all …]
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdotext.cxx | 1077 long nY=(nWantHgt*100) /nIsHgt; // Y-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() 1090 if (nY<0) nY=-nY; in ImpSetCharStretching() 1091 if (nY<1) { nY=1; bNoMoreLoop=sal_True; } in ImpSetCharStretching() 1092 if (nY>65535) { nY=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() 1124 if (bNoStretching) nY=nX; in ImpSetCharStretching()
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | DrawHelper.cxx | 141 const sal_Int32 nY, in DrawHorizontalLine() argument 157 Point(nLeft,nY+nYOffset), in DrawHorizontalLine() 158 Point(nRight,nY+nYOffset)); in DrawHorizontalLine() 165 nY, in DrawHorizontalLine() 167 nY+nHeight-1), in DrawHorizontalLine()
|
H A D | TabBar.cxx | 195 sal_Int32 nY (aPadding.Left()); in Layout() local 204 Point(nX,nY), in Layout() 207 … nY += mpMenuButton->GetSizePixel().Height() + 1 + Theme::GetInteger(Theme::Int_TabMenuPadding); in Layout() 208 mnMenuSeparatorY = nY - Theme::GetInteger(Theme::Int_TabMenuPadding)/2 - 1; in Layout() 225 Point(nX,nY), in Layout() 229 nY += rButton.GetSizePixel().Height() + 1 + aPadding.Bottom(); in Layout()
|
/aoo41x/main/sw/source/core/text/ |
H A D | itrtxt.cxx | 92 nY = nFrameStart; in Init() 148 nY = nY - GetLineHeight(); in Prev() 168 nY += GetLineHeight(); in Next() 389 while( nY + GetLineHeight() <= y && Next() ) in TwipsToLine() 391 while( nY > y && Prev() ) in TwipsToLine()
|
/aoo41x/main/sfx2/source/appl/ |
H A D | shutdowniconunx.cxx | 114 int nX, nY; in ResIdToPixbuf() local 118 for( nY = 0; nY < pSalBitmap->Height(); nY++ ) in ResIdToPixbuf() 123 aPix = pSalBitmap->GetPixel( nY, nX ); in ResIdToPixbuf() 129 aPix = pSalAlpha->GetPixel( nY, nX ); in ResIdToPixbuf()
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fuediglu.cxx | 342 long nY = 0; in KeyInput() local 348 nY =-1; in KeyInput() 354 nY = 1; in KeyInput() 360 nY = 0; in KeyInput() 366 nY = 0; in KeyInput() 372 Point ePoint = aPoint + Point(nX,nY); in KeyInput()
|
/aoo41x/main/soldep/source/ |
H A D | graphwin.cxx | 49 long nY = aArea.Bottom(); in EndScroll() local 53 LogicToPixel( Size( nX, nY ))); in EndScroll() 63 long nY = aArea.Bottom(); in Resize() local 67 LogicToPixel( Size( nX, nY ))); in Resize()
|