/trunk/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 847 if( nY < 0 || nY >= nMax ) // aOutputSize.Height() ) in MakePointVisible() 849 if( nY < 0 ) in MakePointVisible() 857 if( nY < 0 ) in MakePointVisible() 1042 long nY = 0; in RepaintSelectionItems() local 1089 long nY = 0; in DrawNet() local 1117 aPos1.Y() = nY; in DrawNet() 1517 if( nY < 0 ) in IsEntryInView() 1520 if( nY >= nMax ) in IsEntryInView() 2003 long nY; in MouseMoveCheckCtrl() local 3087 long nY; in PaintDDCursor() local [all …]
|
/trunk/main/tools/source/generic/ |
H A D | line.cxx | 252 long nY; in Enum() local 259 nY = maStart.Y(); in Enum() 261 if( nEndY > nY ) in Enum() 263 while( nY <= nEndY ) in Enum() 285 nY = maStart.Y(); in Enum() 292 aEnum.Y() = nY; in Enum() 301 aEnum.Y() = nY; in Enum() 326 aEnum.Y() = nY; in Enum() 332 nD += nDYX, nY += nYInc; in Enum() 341 for( nX = nStartX, nY = nStartY; nY != nEndY; nY += nYInc ) in Enum() [all …]
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 72 extern "C" void* GetScanline( void* pJPEGWriter, long nY ) in GetScanline() argument 74 return ( (JPEGWriter*) pJPEGWriter )->GetScanline( nY ); in GetScanline() 461 for( long nY = 0L; nY < nHeight; nY++ ) in FillBitmap() local 463 pTmp = (sal_uInt8*) pBuffer + nY * nAlignedWidth; in FillBitmap() 466 pAcc->SetPixel( nY, nX, pCols[ *pTmp++ ] ); in FillBitmap() 475 for( long nY = 0L; nY < nHeight; nY++ ) in FillBitmap() local 669 void* JPEGWriter::GetScanline( long nY ) in GetScanline() argument 676 pScanline = pAcc->GetScanline( nY ); in GetScanline() 699 aColor = pAcc->GetPixel( nY, nX ); in GetScanline() 743 for ( long nY = 0; bIsGrey && ( nY < pAcc->Height() ); nY++ ) in Write() local [all …]
|
/trunk/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 606 long nY = rPos.Y(); in ShowPosition() local 612 if( nY < 0L ) in ShowPosition() 613 nY= 0L; in ShowPosition() 614 else if( nY >= aSize.Height() ) in ShowPosition() 615 nY = aSize.Height() - 1L; in ShowPosition() 619 maPosition.Y() = nY - 5; in ShowPosition() 938 if( nY < 0L ) in ChangePosition() 939 nY = 0; in ChangePosition() 940 else if( nY > nHeight ) in ChangePosition() 941 nY = nHeight; in ChangePosition() [all …]
|
H A D | about.cxx | 442 Point aPos( nCol1 + a6Size.Width(), nY ); in LayoutControls() 446 nY += aSize.Height() + a6Size.Height(); in LayoutControls() 449 aPos.Y() = nY; in LayoutControls() 451 nY += aSize.Height() + a6Size.Height(); in LayoutControls() 454 aPos.Y() = nY; in LayoutControls() 456 nY += aSize.Height() + a6Size.Height(); in LayoutControls() 459 aPos.Y() = nY; in LayoutControls() 461 nY += aSize.Height(); in LayoutControls() 463 nY = std::max( nY, aMainLogoSz.Height() ); in LayoutControls() 464 nY += nCtrlMargin; in LayoutControls() [all …]
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 459 nX - m_pParent->maGeometry.nX, nY - m_pParent->maGeometry.nY ); in moveWindow() 1066 int nX, nY; in bitmapToPixbuf() local 1070 for( nY = 0; nY < pBitmap->mnHeight; nY++ ) in bitmapToPixbuf() 1198 long nX, nY; in Center() local 1533 nY += m_pParent->maGeometry.nY; in SetPosSize() 1562 if( nX != maGeometry.nX || nY != maGeometry.nY ) in SetPosSize() 1565 maGeometry.nY = nY; in SetPosSize() 1642 long nY = pState->mnY - (m_pParent ? m_pParent->maGeometry.nY : 0); in SetWindowState() local 1652 nY = maGeometry.nY - (m_pParent ? m_pParent->maGeometry.nY : 0); in SetWindowState() 2212 unsigned int nWindowTop = maGeometry.nY + nY; in SetPointerPos() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | shadwhdl.cxx | 81 sal_Int32 nX = 0, nY = 0; in importXML() local 85 bRet = rUnitConverter.convertMeasure( nY, aToken ); in importXML() 91 if( nY < 0 ) in importXML() 98 if( nY < 0 ) in importXML() 105 if( nY < 0 ) nY *= -1; in importXML() 108 (nX + nY) >> 1); in importXML() 133 sal_Int32 nX = 1, nY = 1; in exportXML() local 139 nY = -1; in exportXML() 142 nY = -1; in exportXML() 156 nY *= aShadow.ShadowWidth; in exportXML() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 80 if( nY < 0 ) in Create() 81 nHeight += nY, nY = 0; in Create() 85 if( nHeight >= (int)aLayerSize.height - nY ) in Create() 86 nHeight = (int)aLayerSize.height - nY; in Create() 99 const CGPoint aSrcPoint = CGPointMake( -nX, -nY); in Create() 534 sal_uInt32 nY = nHeight; in ConvertBitmapData() local 535 while( nY-- ) in ConvertBitmapData() 733 nY = mnHeight - (nY + nNewHeight); // adjust for y-mirrored context in CreateCroppedImage() 749 int nX, int nY, int nWidth, int nHeight ) const in CreateWithMask() argument 814 if( nY ) in CreateColorMask() [all …]
|
H A D | salgdi.cxx | 679 ImplDrawPixel( nX, nY, maLineColor ); in drawPixel() 685 ImplDrawPixel( nX, nY, aPixelColor ); in drawPixel() 732 RefreshRect( nX, nY, nWidth, nHeight ); in drawRect() 862 if( nY < topY ) in drawPolyPolygon() 864 maxHeight += topY - nY; in drawPolyPolygon() 865 topY = nY; in drawPolyPolygon() 869 if( nY + nH > topY + maxHeight ) in drawPolyPolygon() 870 maxHeight = nY + nH - topY; in drawPolyPolygon() 1318 || (nY < 0) || (nY >= mnHeight)) in getPixel() 1340 nY = mnHeight - nY; in getPixel() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | taskmisc.cxx | 89 long nX, long nY, long nWidth, long nHeight ) in ImplPosSizeWindow() argument 95 pWindow->SetPosSizePixel( nX, nY, nWidth, nHeight ); in ImplPosSizeWindow() 119 long nY = rRect.Top(); in ImplTile() local 122 long nRectY = nY; in ImplTile() 172 nY += nTempHeight; in ImplTile() 180 nY = nRectY; in ImplTile() 193 long nY = rRect.Top(); in ImplHorz() local 215 nY += nTempHeight; in ImplHorz() 227 long nY = rRect.Top(); in ImplVert() local 260 long nY = rRect.Top(); in ImplCascade() local [all …]
|
/trunk/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 184 if (nY < 0) in LayoutPanels() 185 nY = 0; in LayoutPanels() 188 -nY, in LayoutPanels() 212 sal_Int32 nY (0); in PlacePanels() local 223 aSeparators.push_back(nY); in PlacePanels() 224 nY += nDeckSeparatorHeight; in PlacePanels() 234 nY += nPanelTitleBarHeight; in PlacePanels() 269 nY += nPanelHeight; in PlacePanels() 280 aSeparators.push_back(nY); in PlacePanels() 281 nY += nDeckSeparatorHeight; in PlacePanels() [all …]
|
/trunk/main/filter/source/graphicfilter/icgm/ |
H A D | bitmap.cxx | 166 rDesc.mndy = sqrt( nX * nX + nY * nY ); in ImplGetBitmap() 169 nY = rDesc.mnR.Y - rDesc.mnP.Y; in ImplGetBitmap() 171 rDesc.mndx = sqrt( nX * nX + nY * nY ); in ImplGetBitmap() 174 nY = rDesc.mnR.Y - rDesc.mnP.Y; in ImplGetBitmap() 176 rDesc.mnOrientation = acos( nX / sqrt( nX * nX + nY * nY ) ) * 57.29577951308; in ImplGetBitmap() 177 if ( nY > 0 ) in ImplGetBitmap() 181 nY = rDesc.mnQ.Y - rDesc.mnR.Y; in ImplGetBitmap() 186 nX = fCos * nX + fSin * nY; in ImplGetBitmap() 187 nY = -( fSin * nX - fCos * nY ); in ImplGetBitmap() 189 fAngle = acos( nX / sqrt( nX * nX + nY * nY ) ) * 57.29577951308; in ImplGetBitmap() [all …]
|
/trunk/main/vcl/inc/ |
H A D | salgdi.hxx | 116 virtual void drawPixel( long nX, long nY ) = 0; 117 virtual void drawPixel( long nX, long nY, SalColor nSalColor ) = 0; 119 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ) = 0; 152 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ) = 0; 153 virtual SalColor getPixel( long nX, long nY ) = 0; 156 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags) = 0; 204 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency … 369 void DrawPixel( long nX, long nY, const OutputDevice *pOutDev ); 370 …void DrawPixel( long nX, long nY, SalColor nSalColor, const OutputDevice *pOutD… 437 SalColor GetPixel( long nX, long nY, const OutputDevice *pOutDev ); [all …]
|
/trunk/main/basctl/source/dlged/ |
H A D | dlgedfunc.cxx | 205 long nY = 0; in KeyInput() local 211 nY = -1; in KeyInput() 217 nY = 1; in KeyInput() 223 nY = 0; in KeyInput() 229 nY = 0; in KeyInput() 239 nY *= aPixelSize.Height(); in KeyInput() 245 nY *= 100; in KeyInput() 262 aMarkRect.Move( nX, nY ); in KeyInput() 280 if ( nX != 0 || nY != 0 ) in KeyInput() 282 pView->MoveAllMarked( Size( nX, nY ) ); in KeyInput() [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsFramePainter.cxx | 197 const sal_Int32 nY (rAnchor1.Y() + maOffset.Y()); in PaintSide() local 209 Point(nX,nY), in PaintSide() 226 for (sal_Int32 nY=nTop; nY<=nBottom; nY+=aBitmapSize.Height()) in PaintSide() local 229 Point(nX,nY), in PaintSide() 230 Size(aBitmapSize.Width(), std::min(aBitmapSize.Height(), static_cast<long>(nBottom-nY+1))), in PaintSide() 249 for (sal_Int32 nY=rBox.Top(); nY<=rBox.Bottom(); nY+=aBitmapSize.Height()) in PaintCenter() local 252 Point(nX,nY), in PaintCenter() 255 std::min(aBitmapSize.Height(), rBox.Bottom()-nY+1)), in PaintCenter()
|
/trunk/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 706 if ( nY + pImpl->nAscent > aLogSize.Height() ) in Paint() 707 nY = aLogSize.Height() - pImpl->nAscent; in Paint() 722 Rectangle aRect( Point( nX, nY ), aTxtSize ); in Paint() 733 nY += nStdAscent; in Paint() 761 DrawLine( Point( 0, nY ), Point( _nX, nY ) ); in Paint() 762 DrawLine( Point( _nX + nResultWidth, nY ), Point( aLogSize.Width(), nY ) ); in Paint() 774 Point aTmpPoint1( _nX, nY - nSmallAscent - 2 ); in Paint() 775 Point aTmpPoint2( _nX, nY ); in Paint() 793 DrawLine( Point( 0, nY ), Point( nX, nY ) ); in Paint() 794 DrawLine( Point( nX + aTxtSize.Width(), nY ), Point( aLogSize.Width(), nY ) ); in Paint() [all …]
|
H A D | graphctl.cxx | 513 long nY = 0; in KeyInput() local 519 nY =-1; in KeyInput() 525 nY = 1; in KeyInput() 531 nY = 0; in KeyInput() 537 nY = 0; in KeyInput() 547 nY *= aLogicSizeOnePixel.Height(); in KeyInput() 553 nY *= 100; in KeyInput() 568 aMarkRect.Move(nX, nY); in KeyInput() 595 if(0 != nX || 0 != nY) in KeyInput() 597 pView->MoveAllMarked(Size(nX, nY)); in KeyInput() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fupoor.cxx | 654 long nY = 0; in IMPL_LINK_INLINE_END() local 660 nY =-1; in IMPL_LINK_INLINE_END() 666 nY = 1; in IMPL_LINK_INLINE_END() 672 nY = 0; in IMPL_LINK_INLINE_END() 678 nY = 0; in IMPL_LINK_INLINE_END() 736 nY *= 100; in IMPL_LINK_INLINE_END() 748 nY *= 1000; in IMPL_LINK_INLINE_END() 754 nY *= 100; in IMPL_LINK_INLINE_END() 768 aMarkRect.Move(nX, nY); in IMPL_LINK_INLINE_END() 795 if(0 != nX || 0 != nY) in IMPL_LINK_INLINE_END() [all …]
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fudraw.cxx | 472 long nY = 0; in KeyInput() local 479 nY =-1; in KeyInput() 485 nY = 1; in KeyInput() 491 nY = 0; in KeyInput() 497 nY = 0; in KeyInput() 509 nY *= aLogicSizeOnePixel.Height(); in KeyInput() 514 nY *= 1000; in KeyInput() 520 nY *= 100; in KeyInput() 524 if(0 != nX || 0 != nY) in KeyInput() 541 aMarkRect.Move(nX, nY); in KeyInput() [all …]
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi.cxx | 195 for( int nY = 0; ( nY < 8 ) && bDither16; nY++ ) in ImplInitSalGDI() local 197 if( ::GetPixel( hMemDC, nX, nY ) != aCol ) in ImplInitSalGDI() 1229 for( long nY = 0L; nY < 8L; nY++ ) in SetFillColor() local 1256 for ( long nY = 0L; nY < 8L; nY++ ) in SetFillColor() local 1260 const long nThres = aOrdDither8Bit[ nY ][ nX ]; in SetFillColor() 1316 void WinSalGraphics::drawPixel( long nX, long nY ) in drawPixel() argument 1327 SetPixel( getHDC(), (int)nX, (int)nY, mnPenColor ); in drawPixel() 1352 ::SetPixel( getHDC(), (int)nX, (int)nY, nCol ); in drawPixel() 1412 aWinRect.top = nY; in drawRect() 1414 aWinRect.bottom = nY+nHeight; in drawRect() [all …]
|
/trunk/main/vcl/unx/headless/ |
H A D | svpgdi.cxx | 295 void SvpSalGraphics::drawPixel( long nX, long nY ) in drawPixel() argument 298 m_aDevice->setPixel( B2IPoint( nX, nY ), in drawPixel() 306 void SvpSalGraphics::drawPixel( long nX, long nY, SalColor nSalColor ) in drawPixel() argument 309 m_aDevice->setPixel( B2IPoint( nX, nY ), in drawPixel() 328 void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 332 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in drawRect() 548 SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeight ) in getBitmap() argument 553 B2IRange aSrcRect( nX, nY, nX+nWidth, nY+nHeight ); in getBitmap() 562 SalColor SvpSalGraphics::getPixel( long nX, long nY ) in getPixel() argument 564 basebmp::Color aColor( m_aDevice->getPixel( B2IPoint( nX, nY ) ) ); in getPixel() [all …]
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salobj.cxx | 120 void AquaSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 131 if( nY < mnClipY ) in UnionClipRegion() 133 mnClipHeight += mnClipY - nY; in UnionClipRegion() 134 mnClipY = nY; in UnionClipRegion() 136 if( nY + nHeight > mnClipY + mnClipHeight ) in UnionClipRegion() 137 mnClipHeight = nY + nHeight - mnClipY; in UnionClipRegion() 142 mnClipY = nY; in UnionClipRegion() 158 void AquaSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 161 mnY = nY; in SetPosSize()
|
/trunk/main/sc/source/ui/view/ |
H A D | output.cxx | 297 SCROW nY; in DrawGrid() local 474 nY = pRowInfo[nArrY].nRowNo; in DrawGrid() 475 SCROW nYplus1 = nY+1; in DrawGrid() 516 if ( nY == MAXROW ) in DrawGrid() 1898 if ( nY==nRefStartY || (nY>nRefStartY && bNoStartY) ) in DrawRefMark() 1903 if ( nY==nRefEndY ) in DrawRefMark() 2004 if ( nY==nRefStartY || (nY>nRefStartY && bNoStartY) ) in DrawOneChange() 2009 if ( nY==nRefEndY ) in DrawOneChange() 2179 SCROW nMergeY = nY; in DrawNoteMarks() 2351 SCROW nOverY = nY; in DrawClipMarks() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotxat.cxx | 348 long nY=long(yFact*n100); in NbcResizeTextAttributes() local 352 if (nY<0) nY=-nY; in NbcResizeTextAttributes() 353 if (nY<1) nY=1; in NbcResizeTextAttributes() 354 if (nY>0xFFFF) nY=0xFFFF; in NbcResizeTextAttributes() 355 if (nX!=100 || nY!=100) in NbcResizeTextAttributes() 369 nRelWdt/=nY; in NbcResizeTextAttributes() 375 nAbsHgt*=nY; in NbcResizeTextAttributes() 388 rOutliner.DoStretchChars((sal_uInt16)nX,(sal_uInt16)nY); in NbcResizeTextAttributes()
|
/trunk/main/UnoControls/source/controls/ |
H A D | progressbar.cxx | 310 void SAL_CALL ProgressBar::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHe… in setPosSize() argument 315 BaseControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; in setPosSize() 373 void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGraphics > & rGraphics… in impl_paint() argument 388 rGraphics->drawRect ( nX, nY, impl_getWidth(), impl_getHeight() ) ; in impl_paint() 409 rGraphics->drawRect (nBlockStart, nY+FREESPACE, m_aBlockSize.Width, m_aBlockSize.Height) ; in impl_paint() 419 nBlockStart = nY+impl_getHeight() ; in impl_paint() 435 rGraphics->drawLine ( nX, nY, impl_getWidth(), nY ) ; in impl_paint() 436 rGraphics->drawLine ( nX, nY, nX , impl_getHeight() ) ; in impl_paint() 439 rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, impl_getWidth()-1, nY ) ; in impl_paint()
|