Home
last modified time | relevance | path

Searched refs:nX (Results 76 – 100 of 459) sorted by relevance

12345678910>>...19

/trunk/main/oox/inc/oox/helper/
H A Dcontainerhelper.hxx119 …inline bool has( size_type nX, size_type nY ) const { return (nX < this->width()) && (nY <… in has() argument
126 …inline iterator at( size_type nX, size_type nY ) { return maData.begin() + mnWidth * nY + nX; } in at() argument
127 …inline const_iterator at( size_type nX, size_type nY ) const { return maData.begin() + mnWidth * n… in at() argument
129 inline reference operator()( size_type nX, size_type nY ) { return *this->at( nX, nY ); } in operator ()() argument
130 …inline const_reference operator()( size_type nX, size_type nY ) const { return *this->at( nX, nY )… in operator ()() argument
/trunk/main/vcl/inc/unx/
H A Dpspgraphics.h129 virtual void drawPixel( long nX, long nY );
130 virtual void drawPixel( long nX, long nY, SalColor nSalColor );
132 virtual void drawRect( long nX, long nY, long nWidth, long nHeight );
175 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight );
176 virtual SalColor getPixel( long nX, long nY );
177 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags );
180 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr n…
192 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTra…
/trunk/main/drawinglayer/source/texture/
H A Dtexture3d.cxx186 sal_Int32 nX, nY; in modifyBColor() local
188 if(impIsValid(rUV, nX, nY)) in modifyBColor()
191 const BitmapColor aBMCol(mpReadBitmap->GetColor(nY, nX)); in modifyBColor()
202 const sal_uInt8 aLuminance(impGetTransparence(nX, nY)); in modifyBColor()
219 sal_Int32 nX, nY; in modifyOpacity() local
221 if(impIsValid(rUV, nX, nY)) in modifyOpacity()
226 const sal_uInt8 aLuminance(impGetTransparence(nX, nY)); in modifyOpacity()
234 const BitmapColor aBMCol(mpReadBitmap->GetColor(nY, nX)); in modifyOpacity()
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi2.cxx617 bool WinSalGraphics::drawAlphaRect( long nX, long nY, long nWidth, in drawAlphaRect() argument
635 bool bRet = AlphaBlend( getHDC(), nX, nY, nWidth, nHeight, in drawAlphaRect()
681 SalBitmap* WinSalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument
696 …bRet = BitBlt( hBmpDC, 0, 0, (int) nDX, (int) nDY, hDC, (int) nX, (int) nY, SRCCOPY ) ? TRUE : FAL… in getBitmap()
721 SalColor WinSalGraphics::getPixel( long nX, long nY ) in getPixel() argument
723 COLORREF aWinCol = ::GetPixel( getHDC(), (int) nX, (int) nY ); in getPixel()
735 void WinSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ) in invert() argument
744 WIN_Rectangle( getHDC(), (int)nX, (int)nY, (int)(nX+nWidth), (int)(nY+nHeight) ); in invert()
763 PatBlt( getHDC(), nX, nY, nWidth, nHeight, PATINVERT ); in invert()
770 aRect.left = (int)nX; in invert()
[all …]
/trunk/main/vcl/source/gdi/
H A Doctree.cxx131 for( long nX = 0; nX < nWidth; nX++ ) in ImplCreateOctree() local
133 pColor = &(BitmapColor&) pAcc->GetPaletteColor( pAcc->GetPixelIndex( nY, nX ) ); in ImplCreateOctree()
150 for( long nX = 0; nX < nWidth; nX++ ) in ImplCreateOctree() local
152 aColor = pAcc->GetPixel( nY, nX ); in ImplCreateOctree()
H A Doutdev3.cxx3185 nX = -nX; in ImplDrawTextRect()
3214 nX += nBaseX; in ImplDrawTextRect()
4224 nX += 2; in ImplDrawMnemonicLine()
4226 nX = nBaseX - nWidth - (nX - nBaseX - 1); in ImplDrawMnemonicLine()
4398 nX = nBaseX - nWidth - (nX - nBaseX - 1); in ImplDrawEmphasisMark()
4400 nX -= mnOutOffX; in ImplDrawEmphasisMark()
7659 nLeft = nX; in GetTextBoundRect()
7665 long nX; in GetTextBoundRect() local
7666 for( nX = 0; nX < nLeft; ++nX ) in GetTextBoundRect()
7669 nLeft = nX; in GetTextBoundRect()
[all …]
H A Dregionband.cxx448 long nX, nY; in InsertLine() local
463 nX = rStartPt.X(); in InsertLine()
470 Point aNewPoint( nX, nY ); in InsertLine()
480 Point aNewPoint( nX, nY ); in InsertLine()
504 for ( nX = nStartX, nY = nStartY; nX != nEndX; nX += nXInc ) in InsertLine()
506 InsertPoint( Point( nX, nY ), nLineId, nStartX == nX, eLineType ); in InsertLine()
520 for ( nX = nStartX, nY = nStartY; nY != nEndY; nY += nYInc ) in InsertLine()
522 InsertPoint( Point( nX, nY ), nLineId, nStartY == nY, eLineType ); in InsertLine()
527 nD += nDYX, nX += nXInc; in InsertLine()
H A Dregband.cxx211 bool ImplRegionBand::InsertPoint( long nX, long nLineId, in InsertPoint() argument
217 mpFirstBandPoint->mnX = nX; in InsertPoint()
240 pRegionBandPoint->mnX = nX; in InsertPoint()
282 if ( nX <= pRegionBandPoint->mnX ) in InsertPoint()
285 pNewRegionBandPoint->mnX = nX; in InsertPoint()
307 pNewRegionBandPoint->mnX = nX; in InsertPoint()
841 bool ImplRegionBand::IsInside( long nX ) in IsInside() argument
846 if ( (pSep->mnXLeft <= nX) && (pSep->mnXRight >= nX) ) in IsInside()
/trunk/main/vcl/unx/headless/
H A Dsvpframe.cxx213 void SvpSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) in SetPosSize() argument
216 maGeometry.nX = nX; in SetPosSize()
289 long nX = maGeometry.nX; in SetWindowState() local
296 nX = pState->mnX; in SetWindowState()
304 SetPosSize( nX, nY, nWidth, nHeight, in SetWindowState()
313 pState->mnX = maGeometry.nX; in GetWindowState()
/trunk/main/sd/source/ui/dlg/
H A Dtpoption.cxx398 sal_Int32 nX, nY; in DeactivatePage() local
399 if( SetScale( aCbScale.GetText(), nX, nY ) ) in DeactivatePage()
476 sal_Int32 nX, nY; in FillItemSet() local
477 if( SetScale( aCbScale.GetText(), nX, nY ) ) in FillItemSet()
549 sal_Int32 nX = ( (const SfxInt32Item&) rAttrs. in Reset() local
558 aCbScale.SetText( GetScale( nX, nY ) ); in Reset()
705 sal_Int32 nX, nY; in IMPL_LINK() local
706 if( SetScale( aCbScale.GetText(), nX, nY ) ) in IMPL_LINK()
708 sal_Int32 nW = nWidth * nY / nX; in IMPL_LINK()
709 sal_Int32 nH = nHeight * nY / nX; in IMPL_LINK()
[all …]
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi2.cxx372 for( long nX = 0UL; nX < nWidth; nX++ ) in ImplDrawBitmap() local
558 bool Os2SalGraphics::drawAlphaRect( long nX, long nY, long nWidth, in drawAlphaRect() argument
607 SalBitmap* Os2SalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument
634 thePoints[ 2 ].x = nX; in getBitmap()
670 SalColor Os2SalGraphics::getPixel( long nX, long nY ) in getPixel() argument
672 POINTL aPt = { nX, TY( nY ) }; in getPixel()
680 void Os2SalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ) in invert() argument
698 aPt.x = nX; in invert()
703 aPt.x = nX + nWidth - 1; in invert()
729 aPt.x = nX; in invert()
[all …]
/trunk/main/vcl/os2/source/window/
H A Dsalframe.cxx176 LONG nX = 0, nY = 0; in _WinSetWindowPos() local
185 nX = aSWP.x; in _WinSetWindowPos()
511 LONG nX; in ImplSalFrameFullScreenPos() local
1128 if ( nX < 0 ) in SetPosSize()
1129 nX = 0; in SetPosSize()
1222 LONG nX; in SetWindowState() local
1257 nX = aSWP.x; in SetWindowState()
1289 if ( nX < 0 ) in SetWindowState()
1290 nX = 0; in SetWindowState()
1359 aPlacement.x = nX; in SetWindowState()
[all …]
/trunk/main/vcl/win/source/window/
H A Dsalframe.cxx946 int nX; in ImplSalFrameFullScreenPos() local
1495 nX = (aParentRect.right - aParentRect.left) - nWidth-1 - nX; in SetPosSize()
1501 aPt.x = nX; in SetPosSize()
1517 nX = aPt.x; in SetPosSize()
1625 nX = nScreenX; in SetPosSize()
1845 int nX; in SetWindowState() local
1909 if ( nX < nScreenX ) in SetWindowState()
1910 nX = nScreenX; in SetWindowState()
2407 aPt.x = (int)nX; in SetPointerPos()
3262 pBoundRect->left = nX; in UnionClipRegion()
[all …]
/trunk/main/sdext/source/presenter/
H A DPresenterScrollBar.cxx704 const geometry::RealPoint2D aPoint(nX, nY); in GetArea()
807 (void)nX; in GetDragDistance()
857 double PresenterVerticalScrollBar::GetMajor (const double nX, const double nY) const in GetMajor() argument
859 (void)nX; in GetMajor()
866 double PresenterVerticalScrollBar::GetMinor (const double nX, const double nY) const in GetMinor() argument
869 return nX; in GetMinor()
1029 const double nDistance (nX - maDragAnchor.X); in GetDragDistance()
1079 double PresenterHorizontalScrollBar::GetMajor (const double nX, const double nY) const in GetMajor() argument
1082 return nX; in GetMajor()
1088 double PresenterHorizontalScrollBar::GetMinor (const double nX, const double nY) const in GetMinor() argument
[all …]
/trunk/main/vcl/inc/aqua/
H A Dsalgdi.h213 …void ImplDrawPixel( long nX, long nY, const RGBAColor& ); // helper to draw single …
231 virtual void drawPixel( long nX, long nY );
232 virtual void drawPixel( long nX, long nY, SalColor nSalColor );
234 virtual void drawRect( long nX, long nY, long nWidth, long nHeight );
267 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight );
268 virtual SalColor getPixel( long nX, long nY );
271 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags);
274 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSiz…
286 virtual bool drawAlphaRect( long nX, long nY, long nWidth,
/trunk/main/vcl/source/window/
H A Dtabdlg.cxx154 long nX; in ImplPosControls() local
159 nX = IMPL_DIALOG_OFFSET; in ImplPosControls()
162 nX = (aTabSize.Width()+nBtnEx) - nCtrlBarWidth + IMPL_DIALOG_OFFSET; in ImplPosControls()
176 if ( nX+aCtrlSize.Width()-IMPL_DIALOG_OFFSET > (aTabSize.Width()+nBtnEx) ) in ImplPosControls()
179 nX = IMPL_DIALOG_OFFSET; in ImplPosControls()
183 pChild2->SetPosSizePixel( Point( nX, nY ), aCtrlSize ); in ImplPosControls()
184 nX += aCtrlSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
H A Dbtndlg.cxx205 long nX; in ImplPosControls() local
212 nX = IMPL_DIALOG_OFFSET; in ImplPosControls()
214 nX = aDlgSize.Width()-mnButtonSize-IMPL_DIALOG_OFFSET; in ImplPosControls()
216 nX = (aDlgSize.Width()-mnButtonSize)/2; in ImplPosControls()
233 nX = aDlgSize.Width()-maCtrlSize.Width()-IMPL_DIALOG_OFFSET; in ImplPosControls()
241 nX += pItem->mnSepSize; in ImplPosControls()
244 pItem->mpPushButton->SetPosSizePixel( Point( nX, nY ), maCtrlSize ); in ImplPosControls()
247 nX += maCtrlSize.Width()+IMPL_SEP_BUTTON_X; in ImplPosControls()
/trunk/main/sw/source/core/text/
H A Dtxtdrop.cxx86 long nX; member in SwDropSave
96 nLen( rInf.GetLen() ), nX( rInf.X() ), nY( rInf.Y() ) in SwDropSave()
104 pInf->X( nX ); in ~SwDropSave()
133 nX(0) in SwDropPortion()
335 const Point aOutPos( nOldPosX + nX, nOldPosY - pPara->GetAscent() in PaintDrop()
344 ((SwDropPortion*)this)->Width( Width() - nX ); in PaintDrop()
675 KSHORT nX = 0; in PaintDropPortion() local
678 nX = nX + pPor->Width(); in PaintDropPortion()
685 if( nX ) in PaintDropPortion()
688 const Size aSize( nX - 1, GetDropHeight()+GetDropDescent() ); in PaintDropPortion()
[all …]
/trunk/main/vcl/inc/os2/
H A Dsalgdi.h161 virtual void drawPixel( long nX, long nY );
162 virtual void drawPixel( long nX, long nY, SalColor nSalColor );
164 virtual void drawRect( long nX, long nY, long nWidth, long nHeight );
197 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight );
198 virtual SalColor getPixel( long nX, long nY );
201 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags);
204 … virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nSize );
230 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
/trunk/main/vcl/inc/win/
H A Dsalgdi.h189 virtual void drawPixel( long nX, long nY );
190 virtual void drawPixel( long nX, long nY, SalColor nSalColor );
192 virtual void drawRect( long nX, long nY, long nWidth, long nHeight );
225 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight );
226 virtual SalColor getPixel( long nX, long nY );
229 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags);
232 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr nS…
256 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
/trunk/main/sd/source/ui/table/
H A DTableDesignPane.cxx826 sal_Int32 nX = 0; in CreateDesignPreview() local
827 for( sal_Int32 nCol = 0; nCol < nPreviewColumns; ++nCol, nX += nCellWidth-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()
851 const Point aPnt2( nX + nCellWidth - 3, aPnt1.Y() ); in CreateDesignPreview()
860 sal_Int32 nX = 0; in CreateDesignPreview() local
861 for( sal_Int32 nCol = 0; nCol < nPreviewColumns; ++nCol, nX += nCellWidth-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()
[all …]
/trunk/main/svtools/source/brwbox/
H A Dbrwbox2.cxx707 long nX = 0; in Paint() local
726 ButtonFrame aButtonFrame( Point( nX, 0 ), in Paint()
744 nX += pCol->Width(); in Paint()
757 Point( nX, 0 ), in Paint()
1503 long nX = 0; in MouseButtonDown() local
1512 long nR = nX + pCol->Width() - 1; in MouseButtonDown()
1525 nMinResizeX = nX + MIN_COLUMNWIDTH; in MouseButtonDown()
1534 nX = nR + 1; in MouseButtonDown()
1559 sal_uInt16 nX = 0; in MouseMove() local
1598 nX = nR + 1; in MouseMove()
[all …]
/trunk/main/editeng/source/editeng/
H A Dimpedit2.cxx1342 long nX; in CursorUp() local
1385 long nX; in CursorDown() local
4170 nX = GetPaperSize().Width() - nX; in GetPortionXOffset()
4174 return nX; in GetPortionXOffset()
4222 nX += nPortionTextWidth; in GetXPos()
4227 nX += nPortionTextWidth; in GetXPos()
4232 nX += nPortionTextWidth; in GetXPos()
4254 nX += nPosInPortion; in GetXPos()
4302 nX += nPortionTextWidth; in GetXPos()
4306 return nX; in GetXPos()
[all …]
/trunk/main/vcl/aqua/source/window/
H A Dsalframe.cxx154 maGeometry.nX = static_cast<int>(aVisibleRect.origin.x + aVisibleRect.size.width / 10); in initWindowAndView()
170 maGeometry.nX = static_cast<int>(aVisibleRect.origin.x); in initWindowAndView()
386 SetPosSize( nNewX - mpParent->maGeometry.nX, in initShow()
954 void AquaSalFrame::SetPointerPos( long nX, long nY ) in SetPointerPos() argument
959 const CGPoint aPoint = CGPointMake( nX + maGeometry.nX, nY + maGeometry.nY); in SetPointerPos()
1391 nX = mpParent->maGeometry.nWidth - nWidth-1 - nX; in SetPosSize()
1393nX = mpParent->maGeometry.nWidth - static_cast<long int>( aContentRect.size.width-1) - nX; in SetPosSize()
1413 aContentRect.origin.x = nX + aParentContentRect.origin.x; in SetPosSize()
1658 maGeometry.nX = static_cast<int>(aContentRect.origin.x); in UpdateFrameGeometry()
1751 void AquaSalFrame::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdotext.cxx1076 long nX=(nWantWdt*100) /nIsWdt; // X-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()
1086 if (nX<0) nX=-nX; in ImpSetCharStretching()
1087 if (nX<1) { nX=1; bNoMoreLoop=sal_True; } in ImpSetCharStretching()
1088 if (nX>65535) { nX=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()
1123 nX=nX*nMul/nDiv; in ImpSetCharStretching()
[all …]

Completed in 245 milliseconds

12345678910>>...19