/aoo42x/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 …]
|
H A D | svpgdi.hxx | 59 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 119 virtual void drawPixel( long nX, long nY ); 120 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 122 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 166 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 167 virtual SalColor getPixel( long nX, long nY ); 168 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 171 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSi…
|
H A D | svppspgraphics.hxx | 60 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 138 virtual void drawPixel( long nX, long nY ); 139 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 141 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 185 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 186 virtual SalColor getPixel( long nX, long nY ); 187 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 190 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSi…
|
/aoo42x/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 124 if( nX < mnClipX ) in UnionClipRegion() 126 mnClipWidth += mnClipX - nX; in UnionClipRegion() 127 mnClipX = nX; in UnionClipRegion() 129 if( nX + nWidth > mnClipX + mnClipWidth ) in UnionClipRegion() 130 mnClipWidth = nX + nWidth - mnClipX; in UnionClipRegion() 141 mnClipX = nX; in UnionClipRegion() 158 void AquaSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 160 mnX = nX; in SetPosSize()
|
/aoo42x/main/svx/source/dialog/ |
H A D | charmap.cxx | 235 int x = ((nIndex - nBase) % COLUMN_COUNT) * nX; in MapIndexToPixel() 244 return (nBase + (point.X()/nX) + (point.Y()/nY) * COLUMN_COUNT); in PixelToMapIndex() 340 DrawLine( Point( nX * i, 0 ), Point( nX * i, aOutputSize.Height() ) ); in DrawChars_Impl() 364 int tx = x + (nX - nTextWidth + 1) / 2; in DrawChars_Impl() 375 + (nX - aBoundRect.GetWidth() + 1) / 2; in DrawChars_Impl() 390 int nXHDelta = (x + nX) - aBoundRect.Right(); in DrawChars_Impl() 412 DrawRect( Rectangle( aPointUL, Size(nX-1,nY-1) ) ); in DrawChars_Impl() 420 DrawRect( Rectangle( aPointUL, Size( nX-1, nY-1) ) ); in DrawChars_Impl() 423 DrawLine( aPointUL, Point( x+nX-1, y+1) ); in DrawChars_Impl() 428 DrawLine( Point( x+nX-1, y+nY-1), Point( x+nX-1, y+1) ); in DrawChars_Impl() [all …]
|
H A D | graphctl.cxx | 512 long nX = 0; in KeyInput() local 518 nX = 0; in KeyInput() 524 nX = 0; in KeyInput() 530 nX =-1; in KeyInput() 536 nX = 1; in KeyInput() 546 nX *= aLogicSizeOnePixel.Width(); in KeyInput() 552 nX *= 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 …]
|
H A D | dialcontrol.cxx | 92 long nX = static_cast< long >( mnCenterX - fWidth * fCos - fHeight * fSin ); in DrawElements() local 94 Rectangle aRect( nX, nY, 2 * mnCenterX - nX, 2 * mnCenterY - nY ); in DrawElements() 103 nX = mnCenterX - static_cast< long >( (DIAL_OUTER_WIDTH / 2 - mnCenterX) * fCos ); in DrawElements() 106 DrawEllipse( Rectangle( nX - nSize, nY - nSize, nX + nSize, nY + nSize ) ); in DrawElements() 198 long nX = static_cast< long >( -mnCenterX * cos( fAngle ) ); in DrawBackground() local 200 DrawLine( aStartPos, Point( mnCenterX - nX, mnCenterY - nY ) ); in DrawBackground() 463 long nX = rPos.X() - mpImpl->mnCenterX; in HandleMouseEvent() local 465 double fH = sqrt( static_cast< double >( nX ) * nX + static_cast< double >( nY ) * nY ); in HandleMouseEvent() 468 double fAngle = acos( nX / fH ); in HandleMouseEvent()
|
/aoo42x/main/svx/source/table/ |
H A D | viewcontactoftableobj.cxx | 500 …void impGetLine(SvxBorderLine& aLine, const sdr::table::TableLayouter& rLayouter, sal_Int32 nX, sa… in impGetLine() argument 502 if(nX >= 0 && nX <= nColCount && nY >= 0 && nY <= nRowCount) in impGetLine() 504 const SvxBorderLine* pLine = rLayouter.getBorderLine(nX, nY, bHorizontal); in impGetLine() 525 bMirror = (bIsRTL ? 0 != nX : nX != nColCount); in impGetLine() 639 const sal_Int32 nX(bIsRTL ? nColCount - aCellPos.mnCol : aCellPos.mnCol); in createViewIndependentPrimitive2DSequence() local 645 const sal_Int32 nXRight(bIsRTL ? nX - nXSpan : nX + nXSpan); in createViewIndependentPrimitive2DSequence() 649 impGetLine(aLeftLine, rTableLayouter, nX, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 650 impGetLine(aBottomLine, rTableLayouter, nX, nYBottom, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 652 impGetLine(aTopLine, rTableLayouter, nX, nY, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 662 bIsRTL ? nX == nColCount : 0 == nX, in createViewIndependentPrimitive2DSequence()
|
/aoo42x/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() 402 nBlockStart = nX ; in impl_paint() 427 rGraphics->drawRect (nX+FREESPACE, nBlockStart, m_aBlockSize.Width, m_aBlockSize.Height) ; 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() 440 rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, nX , impl_getHeight()-1 ) ; in impl_paint()
|
/aoo42x/main/vcl/unx/generic/window/ |
H A D | salframe.cxx | 245 x = maGeometry.nX; in Init() 509 maGeometry.nX = x; in Init() 1534 nX = nScreenX + 40; in Center() 1550 nX = nX < 0 ? 0 : nX; in Center() 1556 nX -= mpParent->maGeometry.nX; in Center() 1560 Point aPoint(nX, nY); in Center() 1597 nX = aPosSize.Left(); in SetPosSize() 1599 nX -= mpParent->maGeometry.nX; in SetPosSize() 2082 maGeometry.nX += mpParent->maGeometry.nX; in SetPosSize() 2172 maGeometry.nX = aNewScreenRect.Left() + (maGeometry.nX - aOldScreenRect.Left()); in SetScreenNumber() [all …]
|
/aoo42x/main/sw/source/ui/utlui/ |
H A D | textcontrolcombo.cxx | 73 long nX = aBasePos.X(); in Arrange() local 77 mrFTbefore.SetPosSizePixel( nX, nYFT, nWidth, nTextHeight ); in Arrange() 79 nX += nWidth; in Arrange() 80 nX += aMetricVals.Width(); in Arrange() 81 mrCtrl.SetPosPixel( Point( nX, nYCtrl ) ); in Arrange() 83 nX += mrCtrl.GetSizePixel().Width(); in Arrange() 84 nX += aMetricVals.Width(); in Arrange() 86 mrFTafter.SetPosSizePixel( nX, nYFT, GetTextWidth( aTxtAfter ), nTextHeight ); in Arrange()
|
/aoo42x/main/stoc/source/typeconv/ |
H A D | convert.cxx | 155 sal_Int32 nX = trim.indexOf( 'x' ); in getNumericValue() local 156 if (nX < 0) in getNumericValue() 157 nX = trim.indexOf( 'X' ); in getNumericValue() 159 if (nX > 0 && trim[nX-1] == '0') // 0x in getNumericValue() 162 switch (nX) in getNumericValue() 233 sal_Int32 nX = trim.indexOf( 'x' ); in getHyperValue() local 234 if (nX < 0) in getHyperValue() 235 nX = trim.indexOf( 'X' ); in getHyperValue() 237 if (nX >= 0) in getHyperValue() 239 if (nX > 0 && trim[nX-1] == '0') // 0x in getHyperValue() [all …]
|
/aoo42x/main/forms/source/component/ |
H A D | imgprod.cxx | 526 for( long nX = nStartX; nX <= nEndX; nX++ ) in ImplUpdateConsumer() local 528 if( pMskAcc->GetPixel( nY, nX ) == aWhite ) in ImplUpdateConsumer() 532 *pTmp++ = pBmpAcc->GetPixel( nY, nX ).GetIndex(); in ImplUpdateConsumer() 548 for( long nX = nStartX; nX <= nEndX; nX++ ) in ImplUpdateConsumer() local 550 if( pMskAcc->GetPixel( nY, nX ) == aWhite ) in ImplUpdateConsumer() 553 *pTmp++ = pBmpAcc->GetPixel( nY, nX ).GetIndex(); in ImplUpdateConsumer() 571 for( long nX = nStartX; nX <= nEndX; nX++, pTmp++ ) in ImplUpdateConsumer() local 573 const BitmapColor aCol( pBmpAcc->GetPixel( nY, nX ) ); in ImplUpdateConsumer() 579 if( pMskAcc->GetPixel( nY, nX ) != aWhite ) in ImplUpdateConsumer()
|
/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterScrollBar.hxx | 204 virtual double GetDragDistance (const sal_Int32 nX, const sal_Int32 nY) const = 0; 207 virtual double GetMajor (const double nX, const double nY) const = 0; 208 virtual double GetMinor (const double nX, const double nY) const = 0; 255 Area GetArea (const double nX, const double nY) const; 275 virtual double GetDragDistance (const sal_Int32 nX, const sal_Int32 nY) const; 278 virtual double GetMinor (const double nX, const double nY) const; 279 virtual double GetMajor (const double nX, const double nY) const; 310 virtual double GetDragDistance (const sal_Int32 nX, const sal_Int32 nY) const; 313 virtual double GetMinor (const double nX, const double nY) const; 314 virtual double GetMajor (const double nX, const double nY) const;
|
H A D | PresenterPaneBorderPainter.cxx | 623 nX = rInnerBox.X; in PaintTitle() 632 nX += rpStyle->mnFontXOffset; in PaintTitle() 635 if (rUpdateBox.X >= nX+nTextWidth in PaintTitle() 637 || rUpdateBox.X+rUpdateBox.Width <= nX in PaintTitle() 644 geometry::AffineMatrix2D(1,0,nX, 0,1,nY), in PaintTitle() 749 sal_Int32 nX = 0; in PaintBitmap() local 759 nX = rBox.X + rBox.Width + rpBitmap->mnXOffset; in PaintBitmap() 763 nX = rBox.X + nStartOffset; in PaintBitmap() 784 if (nX >= rUpdateBox.X + rUpdateBox.Width in PaintBitmap() 785 || nX+nW <= rUpdateBox.X in PaintBitmap() [all …]
|
/aoo42x/main/i18npool/source/search/ |
H A D | levdis.cxx | 365 int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed ) in CalcLPQR() argument 368 if ( nX < 0 ) nX = 0; // nur positive Werte in CalcLPQR() 371 if ( 0 == (nMin = Min3( nX, nY, nZ )) ) // mindestens einer 0 in CalcLPQR() 373 nMax = Max3( nX, nY, nZ ); // entweder 0 bei drei 0 oder Max in CalcLPQR() 374 if ( 0 == (nMid = Mid3( nX, nY, nZ )) ) // sogar zwei 0 in CalcLPQR() 380 nLimit = KGV( KGV( nX, nY ), nZ ); in CalcLPQR() 381 nRepP0 = ( nX ? nLimit / nX : nLimit + 1 ); in CalcLPQR() 627 int nLim, nP0, nQ0, nR0, nX, nY, nZ; in main() local 686 nX = atoi(argv[args+2]); in main() 692 nX = LEVDISDEFAULT_XOTHER; in main() [all …]
|
/aoo42x/main/vcl/inc/unx/ |
H A D | salgdi.h | 158 int &nX, 164 int Clip ( int &nX, 170 GC SetMask ( int &nX, 276 virtual void drawPixel( long nX, long nY ); 277 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 279 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 328 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 329 virtual SalColor getPixel( long nX, long nY ); 330 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 333 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr n… [all …]
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdotxat.cxx | 347 long nX=long(xFact*n100); in NbcResizeTextAttributes() local 349 if (nX<0) nX=-nX; in NbcResizeTextAttributes() 350 if (nX<1) nX=1; in NbcResizeTextAttributes() 351 if (nX>0xFFFF) nX=0xFFFF; in NbcResizeTextAttributes() 355 if (nX!=100 || nY!=100) in NbcResizeTextAttributes() 368 nRelWdt*=nX; in NbcResizeTextAttributes() 388 rOutliner.DoStretchChars((sal_uInt16)nX,(sal_uInt16)nY); in NbcResizeTextAttributes()
|
/aoo42x/main/vcl/workben/ |
H A D | svptest.cxx | 105 for( int nX = 0; nX < 256; nX++ ) in MyWin() local 109 double fRed = 255.0-1.5*sqrt((double)(nX*nX+nY*nY)); in MyWin() 112 double fGreen = 255.0-1.5*sqrt((double)(((255-nX)*(255-nX)+nY*nY))); in MyWin() 115 double fBlue = 255.0-1.5*sqrt((double)((128-nX)*(128-nX)+(255-nY)*(255-nY))); in MyWin() 118 … pAcc->SetPixel( nX, nY, BitmapColor( sal_uInt8(fRed), sal_uInt8(fGreen), sal_uInt8(fBlue) ) ); in MyWin()
|
/aoo42x/main/vcl/source/window/ |
H A D | toolbox.cxx | 2393 long nX; in ImplFormat() local 2735 nX = nLeft; in ImplFormat() 3081 pBox->DrawRect( Rectangle( nX+n, nY+n, nX+n, nY+nSize-n ) ); in ImplDrawToolArrow() 3090 pBox->DrawRect( Rectangle( nX+n, nY+1+n, nX+n, nY+nSize-1-n ) ); in ImplDrawToolArrow() 3100 pBox->DrawRect( Rectangle( nX+n, nY+n, nX+nSize-n, nY+n ) ); in ImplDrawToolArrow() 3109 pBox->DrawRect( Rectangle( nX+1+n, nY+n, nX+nSize-1-n, nY+n ) ); in ImplDrawToolArrow() 3119 pBox->DrawRect( Rectangle( nX+nHalfSize-n, nY+n, nX+nHalfSize-n, nY+nSize-n ) ); in ImplDrawToolArrow() 3128 … pBox->DrawRect( Rectangle( nX+nHalfSize-n, nY+1+n, nX+nHalfSize-n, nY+nSize-1-n ) ); in ImplDrawToolArrow() 3138 pBox->DrawRect( Rectangle( nX+n, nY+nHalfSize-n, nX+nSize-n, nY+nHalfSize-n ) ); in ImplDrawToolArrow() 3147 … pBox->DrawRect( Rectangle( nX+1+n, nY+nHalfSize-n, nX+nSize-1-n, nY+nHalfSize-n ) ); in ImplDrawToolArrow() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | guess.cxx | 221 xub_StrLen nX = nBreakPos; in Guess() local 228 while( nX && nBreakPos > rInf.GetTxt().Len() && in Guess() 229 ( CH_BLANK == ( cCutChar = rInf.GetChar( --nX ) ) || in Guess() 235 while( nX && nBreakPos > rInf.GetLineStart() + 1 && in Guess() 236 ( CH_BLANK == ( cCutChar = rInf.GetChar( --nX ) ) || in Guess() 450 xub_StrLen nX = nBreakPos; in Guess() local 451 while( nX > rInf.GetLineStart() && in Guess() 452 ( CH_TXTATR_BREAKWORD != cFldChr || nX > rInf.GetIdx() ) && in Guess() 453 ( CH_BLANK == rInf.GetChar( --nX ) || in Guess() 454 CH_FULL_BLANK == rInf.GetChar( nX ) ) ) in Guess() [all …]
|
/aoo42x/main/vcl/win/source/gdi/ |
H A D | salbmp.cxx | 51 BYTE& rByte = pScanline[ nX >> 1 ]; in ImplSetPixel4() 992 sal_uLong nX = 0; in ImplDecodeRLEBuffer() local 1014 ImplSetPixel4( pDIB, nX++, cTmp >> 4 ); in ImplDecodeRLEBuffer() 1026 memcpy( &pDIB[ nX ], pRLE, nRunByte ); in ImplDecodeRLEBuffer() 1028 nX += nRunByte; in ImplDecodeRLEBuffer() 1037 nX = 0UL; in ImplDecodeRLEBuffer() 1043 nX += *pRLE++; in ImplDecodeRLEBuffer() 1057 ImplSetPixel4( pDIB, nX++, cTmp >> 4 ); in ImplDecodeRLEBuffer() 1058 ImplSetPixel4( pDIB, nX++, cTmp & 0x0f ); in ImplDecodeRLEBuffer() 1062 ImplSetPixel4( pDIB, nX++, cTmp >> 4 ); in ImplDecodeRLEBuffer() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | calendar.cxx | 614 long nX; in ImplHitTest() local 628 nX = 0; in ImplHitTest() 724 nX += mnMonthWidth; in ImplHitTest() 818 Rectangle aDateRect( nX, nY, nX+mnDayWidth-1, nY+mnDayHeight-1 ); in ImplDrawDate() 972 long nX; in ImplDraw() local 1038 nX = 0; in ImplDraw() 1045 nDeltaX = nX; in ImplDraw() 1194 nX += mnMonthWidth; in ImplDraw() 2253 long nX; in GetDateRect() local 2264 aRect.Left() -= nX; in GetDateRect() [all …]
|
/aoo42x/main/vcl/inc/ |
H A D | glyphcache.hxx | 118 void SetOffset( int nX, int nY ) { maOffset = Point( nX, nY); } in SetOffset() argument 119 void SetDelta( int nX, int nY ) { maDelta = Point( nX, nY); } in SetDelta() argument 151 void SetOffset( int nX, int nY ) { maMetric.SetOffset( nX, nY ); } in SetOffset() argument 152 void SetDelta( int nX, int nY ) { maMetric.SetDelta( nX, nY ); } in SetDelta() argument
|
/aoo42x/main/sdext/source/minimizer/ |
H A D | informationdialog.cxx | 228 sal_Int32 nX( OUString( aVal.getStr() ).indexOf( '.', 0 ) ); in ImpValueOfInMB() local 229 if ( nX > 0 ) in ImpValueOfInMB() 230 aVal.setLength( nX + 2 ); in ImpValueOfInMB() 344 sal_Int32 nX, nY, nDlgWidth; in InitDialog() local 348 nX = nY = aSize3.Width; in InitDialog() 362 xImage->setPosSize( nX, nY, in InitDialog() 367 nX += aSizePixel.Width + aSize3.Width; in InitDialog() 371 xLabel->setPosSize( nX, nY, in InitDialog() 376 nDlgWidth = nX + aPosSizePixel.Width + aSize3.Width; in InitDialog() 384 xCheckBox->setPosSize( nX, nY, in InitDialog()
|