Home
last modified time | relevance | path

Searched refs:nDX (Results 1 – 25 of 67) sorted by relevance

123

/trunk/main/vcl/unx/generic/gdi/
H A Dsalgdi2.cxx262 unsigned int &nDX, in Clip() argument
278 nDX -= aRect.x - nX; in Clip()
299 unsigned int &nDX, in Clip() argument
341 unsigned int &nDX, in SetMask() argument
379 nDX, nDY ); in SetMask()
1010 if( nDX < 0 ) in getBitmap()
1012 nX += nDX; in getBitmap()
1013 nDX = -nDX; in getBitmap()
1035 nDX += nX; in getBitmap()
1052 nDX = nOrgDX; in getBitmap()
[all …]
H A Dsalvd.cxx44 long nDX, long nDY, in CreateVirtualDevice() argument
66 nDX = (long)w; in CreateVirtualDevice()
68 …if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, nScreen, pData->hDrawable, p… in CreateVirtualDevice()
74 else if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, in CreateVirtualDevice()
132 long nDX, long nDY, in Init() argument
159 nDX_ = nDX; in Init()
217 sal_Bool X11SalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument
228 if( nDX < 0 || nDX > 65535 || in SetSize()
232 if( !nDX ) nDX = 1; in SetSize()
237 nDX, nDY, nDepth_ ); in SetSize()
[all …]
/trunk/main/vcl/aqua/source/gdi/
H A Dsalvd.cxx39 long nDX, long nDY, sal_uInt16 nBitCount, const SystemGraphicsData *pData ) in CreateVirtualDevice() argument
44 …return new AquaSalVirtualDevice( static_cast< AquaSalGraphics* >( pGraphics ), nDX, nDY, nBitCount… in CreateVirtualDevice()
88 if( nDX && nDY ) in AquaSalVirtualDevice()
89 SetSize( nDX, nDY ); in AquaSalVirtualDevice()
155 sal_Bool AquaSalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument
166 if( (nDX == aSize.width) && (nDY == aSize.height) ) in SetSize()
182 const int nBytesPerRow = (mnBitmapDepth * nDX + 7) / 8; in SetSize()
185 mxBitmapContext = ::CGBitmapContextCreate( pRawData, nDX, nDY, in SetSize()
219 const int nBytesPerRow = (mnBitmapDepth * nDX) / 8; in SetSize()
222 mxBitmapContext = ::CGBitmapContextCreate( pRawData, nDX, nDY, in SetSize()
[all …]
H A Dsalmathutils.cxx112 long nDX = 0; in Euclidian2Norm() local
121 nDX = pVec[1].x - pVec[0].x; in Euclidian2Norm()
125 nMax = (unsigned long)abs( nDX ); in Euclidian2Norm()
/trunk/main/vcl/os2/source/gdi/
H A Dsalvd.cxx52 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY, in ImplCreateVirDevBitmap() argument
70 aBitmapInfo.cx = nDX; in ImplCreateVirDevBitmap()
81 long nDX, long nDY, in CreateVirtualDevice() argument
96 size.cx = nDX; in CreateVirtualDevice()
106 HBITMAP hBmp = ImplCreateVirDevBitmap( hDC, hPS, nDX, nDY, nBitCount ); in CreateVirtualDevice()
186 sal_Bool Os2SalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument
189 mhPS, nDX, nDY, in SetSize()
H A Dsalgdi2.cxx607 SalBitmap* Os2SalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument
610 SIZEL size = { nDX, nDY }; in getBitmap()
617 HBITMAP hMemBmp = ImplCreateVirDevBitmap( hMemDC, hMemPS, nDX, nDY, 0 ); in getBitmap()
630 thePoints[ 1 ].x = nDX; in getBitmap()
/trunk/main/vcl/win/source/gdi/
H A Dsalvd.cxx39 static HBITMAP ImplCreateVirDevBitmap( HDC hDC, long nDX, long nDY, in ImplCreateVirDevBitmap() argument
46 hBitmap = CreateBitmap( (int)nDX, (int)nDY, 1, 1, NULL ); in ImplCreateVirDevBitmap()
55 aBitmapInfo.bmiHeader.biWidth = nDX; in ImplCreateVirDevBitmap()
79 long nDX, long nDY, in CreateVirtualDevice() argument
102 nDX, nDY, nBitCount ); in CreateVirtualDevice()
228 sal_Bool WinSalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument
234 HBITMAP hNewBmp = ImplCreateVirDevBitmap( getHDC(), nDX, nDY, in SetSize()
H A Dsalgdi2.cxx681 SalBitmap* WinSalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument
687 nDX = labs( nDX ); in getBitmap()
691 HBITMAP hBmpBitmap = CreateCompatibleBitmap( hDC, nDX, nDY ); in getBitmap()
696 …bRet = BitBlt( hBmpDC, 0, 0, (int) nDX, (int) nDY, hDC, (int) nX, (int) nY, SRCCOPY ) ? TRUE : FAL… in getBitmap()
/trunk/main/basegfx/source/tools/
H A Dliangbarsky.cxx77 const double nDX( io_rEnd.getX() - io_rStart.getX() ); in liangBarskyClip2D() local
80 if( ::basegfx::fTools::equalZero( nDX ) && in liangBarskyClip2D()
89 if( liangBarskyClipT(nDX, rClipRect.getMinX() - io_rStart.getX(), in liangBarskyClip2D()
92 if( liangBarskyClipT(-nDX, io_rStart.getX() - rClipRect.getMaxX(), in liangBarskyClip2D()
105 io_rEnd.setX( io_rStart.getX() + nTL*nDX ); in liangBarskyClip2D()
113 io_rStart.setX( io_rStart.getX() + nTE*nDX ); in liangBarskyClip2D()
/trunk/main/vcl/source/window/
H A Dsplitwin.cxx177 long nDX = pWin->mnDX; in ImplDrawBorder() local
184 Rectangle aRect( aTmpPoint, Size( nDX, nDY ) ); in ImplDrawBorder()
229 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
234 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
241 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-1 ) ); in ImplDrawBorder()
246 pWin->DrawLine( Point( nDX-1, 1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
264 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
269 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
282 long nDX = pWin->mnDX; in ImplDrawBorderLine() local
288 …pWin->DrawLine( Point( nDX-SPLITWIN_SPLITSIZEEXLN-1, 0 ), Point( nDX-SPLITWIN_SPLITSIZEEXLN-1, nDY… in ImplDrawBorderLine()
[all …]
H A Dstatus.cxx591 long nDX = nPrgsWidth + nOffset; in DrawProgress() local
592 long nLeft = rPos.X()+((nPerc1-1)*nDX); in DrawProgress()
598 aRect.Left() -= nDX; in DrawProgress()
599 aRect.Right() -= nDX; in DrawProgress()
618 long nDX = nPrgsWidth + nOffset; in DrawProgress() local
619 long nLeft = rPos.X()+(nPerc1*nDX); in DrawProgress()
625 aRect.Left() += nDX; in DrawProgress()
626 aRect.Right() += nDX; in DrawProgress()
637 aRect.Left() -= nDX; in DrawProgress()
638 aRect.Right() -= nDX; in DrawProgress()
H A Dtoolbox.cxx663 long nDX = pWin->mnDX; in ImplDrawBorder() local
676 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
678 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
684 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder()
686 pWin->DrawLine( Point( 0, 1 ), Point( nDX-1, 1 ) ); in ImplDrawBorder()
695 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
698 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
704 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
707 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
718 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-1 ) ); in ImplDrawBorder()
[all …]
/trunk/main/vcl/source/gdi/
H A Dbmpacc3.cxx179 const long nDX = labs( rEnd.X() - rStart.X() ); in DrawLine() local
186 if ( nDX >= nDY ) in DrawLine()
203 const long nDYX = ( nDY - nDX ) << 1; in DrawLine()
205 long nD = nDY2 - nDX; in DrawLine()
242 const long nDYX = ( nDX - nDY ) << 1; in DrawLine()
243 const long nDY2 = nDX << 1; in DrawLine()
H A Dvirdev.cxx46 long nDX, long nDY, sal_uInt16 nBitCount, const SystemGraphicsData *pData ) in ImplInitVirDev() argument
51 if ( nDX < 1 ) in ImplInitVirDev()
52 nDX = 1; in ImplInitVirDev()
69 mpVirDev = pSVData->mpDefInst->CreateVirtualDevice( pGraphics, nDX, nDY, nBitCount, pData ); in ImplInitVirDev()
82 mnOutWidth = nDX; in ImplInitVirDev()
H A Dimpvect.cxx68 struct ChainMove { long nDX; long nDY; }; member
444 nLastX += rMove.nDX; in ImplEndAdd()
523 aArr[ nPolyPos ].X() = nLastX + rMoveInner.nDX; in ImplEndAdd()
551 nLastX += rMove.nDX; in ImplEndAdd()
630 aArr[ nPolyPos ].X() = nLastX + rMoveOuter.nDX; in ImplEndAdd()
649 aArr[ ++i ] = Point( nLastX += rMove.nDX, nLastY += rMove.nDY ); in ImplEndAdd()
1151 nTryX = nActX + aImplMove[ nLastDir ].nDX; in ImplGetChain()
1168 nTryX = nActX + aImplMove[ nDir ].nDX; in ImplGetChain()
H A Dregionband.cxx489 const long nDX = labs( rEndPt.X() - rStartPt.X() ); in InsertLine() local
498 if ( nDX >= nDY ) in InsertLine()
500 const long nDYX = ( nDY - nDX ) << 1; in InsertLine()
502 long nD = nDY2 - nDX; in InsertLine()
516 const long nDYX = ( nDX - nDY ) << 1; in InsertLine()
517 const long nDY2 = nDX << 1; in InsertLine()
H A Dprint.cxx1142 sal_Int64 nDX = pSetupData->mnPaperWidth - rPaperInfo.getWidth(); in ImplFindPaperFormatForUserSize() local
1144 sal_Int64 nMatch = nDX*nDX + nDY*nDY; in ImplFindPaperFormatForUserSize()
1153 nDX = pSetupData->mnPaperWidth - rPaperInfo.getHeight(); in ImplFindPaperFormatForUserSize()
1155 nMatch = nDX*nDX + nDY*nDY; in ImplFindPaperFormatForUserSize()
H A Dimpimage.cxx254 const sal_uLong nDX = nGrowSize * maSize.Width(); in Expand() local
258 maBmpEx.Expand( nDX, 0UL ); in Expand()
261 maDisabledBmpEx.Expand( nDX, 0UL ); in Expand()
/trunk/main/tools/source/generic/
H A Dline.cxx308 const long nDX = labs( maEnd.X() - maStart.X() ); in Enum() local
317 if( nDX >= nDY ) in Enum()
319 const long nDYX = ( nDY - nDX ) << 1; in Enum()
321 long nD = nDY2 - nDX; in Enum()
337 const long nDYX = ( nDX - nDY ) << 1; in Enum()
338 const long nDY2 = nDX << 1; in Enum()
/trunk/main/vcl/unx/generic/printergfx/
H A Dcommon_gfx.cxx198 PrinterGfx::UnionClipRegion (sal_Int32 nX,sal_Int32 nY,sal_Int32 nDX,sal_Int32 nDY) in UnionClipRegion() argument
200 if( nDX && nDY ) in UnionClipRegion()
201 maClipRegion.push_back (Rectangle(Point(nX,nY ), Size(nDX,nDY))); in UnionClipRegion()
256 int nDX = -65536, nDY = 65536; in JoinVerticalClipRectangles() local
271 if( nNewDX == 0 && nDX == 0 ) in JoinVerticalClipRectangles()
273 if( nDX != 0 && nNewDX != 0 && in JoinVerticalClipRectangles()
274 (double)nNewDY/(double)nNewDX == (double)nDY/(double)nDX ) in JoinVerticalClipRectangles()
282 nDX = -65536; in JoinVerticalClipRectangles()
294 if( nNewDX == 0 && nDX == 0 ) in JoinVerticalClipRectangles()
296 if( nDX != 0 && nNewDX != 0 && in JoinVerticalClipRectangles()
[all …]
/trunk/main/svtools/source/contnr/
H A Dimivctl2.cxx634 long nDX = nX / _pView->nGridDX; in GetMinMapSize() local
637 if( !nDX ) in GetMinMapSize()
638 nDX++; in GetMinMapSize()
642 rDX = (sal_uInt16)nDX; in GetMinMapSize()
793 sal_uLong IcnGridMap_Impl::GetGridCount( const Size& rSizePixel, sal_uInt16 nDX, sal_uInt16 nDY) in GetGridCount() argument
795 long ndx = (rSizePixel.Width() - LROFFS_WINBORDER) / nDX; in GetGridCount()
H A Dsvimpicn.cxx671 void SetGridUsed( sal_uInt16 nDX, sal_uInt16 nDY, sal_Bool bUsed ) in SetGridUsed() argument
673 pGridMap[ (nDY * nGridCols) + nDX ] = bUsed; in SetGridUsed()
675 sal_Bool IsGridUsed( sal_uInt16 nDX, sal_uInt16 nDY ) in IsGridUsed() argument
677 return pGridMap[ (nDY * nGridCols) + nDX ]; in IsGridUsed()
1222 for( long nDX = nGridDX; nDX <= aXSize.Width(); nDX += nGridDX ) in Paint() local
1224 Point aStart( nDX+LROFFS_BOUND, 0 ); in Paint()
1225 Point aEnd( nDX+LROFFS_BOUND, aXSize.Height()); in Paint()
3662 void SvImpIconView::SetGrid( long nDX, long nDY ) in SetGrid() argument
3664 nGridDX = nDX; in SetGrid()
/trunk/main/sc/source/ui/view/
H A Dtabview3.cxx1301 SCsCOL nDX = 0; in MoveCursorKeyInput() local
1305 case KEY_LEFT: nDX = -1; break; in MoveCursorKeyInput()
1306 case KEY_RIGHT: nDX = 1; break; in MoveCursorKeyInput()
1310 if( nDX != 0 || nDY != 0 ) in MoveCursorKeyInput()
1314 case MOD_NONE: MoveCursorRel( nDX, nDY, SC_FOLLOW_LINE, bSel ); break; in MoveCursorKeyInput()
1328 nDX = (nCode == KEY_PAGEUP) ? -1 : 1; in MoveCursorKeyInput()
1332 case MOD_ALT: MoveCursorPage( nDX, 0, SC_FOLLOW_FIX, bSel ); break; in MoveCursorKeyInput()
1333 case MOD_CTRL: SelectNextTab( nDX ); break; in MoveCursorKeyInput()
1345 nDX = (nCode == KEY_HOME) ? -1 : 1; in MoveCursorKeyInput()
1349 case MOD_NONE: MoveCursorEnd( nDX, 0, eMode, bSel ); break; in MoveCursorKeyInput()
[all …]
/trunk/main/vcl/inc/unx/
H A Dsalgdi.h160 unsigned int &nDX,
166 unsigned int &nDX,
172 unsigned int &nDX,
/trunk/main/vcl/source/control/
H A Dbutton.cxx3750 long nDX = 0; in Draw() local
3755 aTempPos11.X() = aPos11.X()+nDX; in Draw()
3756 aTempPos12.X() = aPos12.X()+nDX; in Draw()
3757 aTempPos21.X() = aPos21.X()+nDX; in Draw()
3758 aTempPos22.X() = aPos22.X()+nDX; in Draw()
3762 nDX++; in Draw()
3763 aTempPos11.X() = aPos11.X()-nDX; in Draw()
3764 aTempPos12.X() = aPos12.X()-nDX; in Draw()
3765 aTempPos21.X() = aPos21.X()-nDX; in Draw()
3766 aTempPos22.X() = aPos22.X()-nDX; in Draw()

Completed in 194 milliseconds

123