Home
last modified time | relevance | path

Searched refs:nDX (Results 1 – 25 of 67) sorted by last modified time

123

/aoo41x/main/vcl/win/source/window/
H A Dsalframe.cxx3143 int nDX = aRect.right-aRect.left; in SnapShot() local
3146 HBITMAP hBmpBitmap = CreateCompatibleBitmap( hDC, nDX, nDY ); in SnapShot()
3150 bRet = BitBlt( hBmpDC, 0, 0, nDX, nDY, hDC, 0, 0, SRCCOPY ) ? TRUE : FALSE; in SnapShot()
4705 int nDX; in ImplHandleMinMax() local
4707 ImplSalCalcFullScreenSize( pFrame, nX, nY, nDX, nDY ); in ImplHandleMinMax()
4714 if ( pMinMax->ptMaxSize.x < nDX ) in ImplHandleMinMax()
4715 pMinMax->ptMaxSize.x = nDX; in ImplHandleMinMax()
4718 if ( pMinMax->ptMaxTrackSize.x < nDX ) in ImplHandleMinMax()
4719 pMinMax->ptMaxTrackSize.x = nDX; in ImplHandleMinMax()
4723 pMinMax->ptMinTrackSize.x = nDX; in ImplHandleMinMax()
/aoo41x/main/vcl/win/source/gdi/
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()
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()
/aoo41x/main/vcl/unx/headless/
H A Dsvpinst.cxx262 long nDX, long nDY, in CreateVirtualDevice() argument
266 pNew->SetSize( nDX, nDY ); in CreateVirtualDevice()
H A Dsvpinst.hxx144 long nDX, long nDY,
H A Dsvppspgraphics.cxx333 void PspGraphics::drawRect( long nX, long nY, long nDX, long nDY ) in drawRect() argument
335 m_pPrinterGfx->DrawRect (Rectangle(Point(nX, nY), Size(nDX, nDY))); in drawRect()
/aoo41x/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 …]
/aoo41x/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx399 void PspGraphics::drawRect( long nX, long nY, long nDX, long nDY ) in drawRect() argument
401 m_pPrinterGfx->DrawRect (Rectangle(Point(nX, nY), Size(nDX, nDY))); in drawRect()
H A Dsalgdi.cxx828 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()
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 …]
/aoo41x/main/vcl/source/window/
H A Dtoolbox.cxx671 long nDX = pWin->mnDX; in ImplDrawBorder() local
684 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
686 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
692 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder()
694 pWin->DrawLine( Point( 0, 1 ), Point( nDX-1, 1 ) ); in ImplDrawBorder()
703 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
706 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
712 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
715 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
726 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-1 ) ); in ImplDrawBorder()
[all …]
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()
/aoo41x/main/vcl/source/gdi/
H A Dprint3.cxx1015 long nDX = (aPaperSize.Width() - aPageSize.aSize.Width()) / 2; in getFilteredPageFile() local
1017 …o_rMtf.Move( nDX, nDY, mpImplData->mpPrinter->ImplGetDPIX(), mpImplData->mpPrinter->ImplGetDPIY() … in getFilteredPageFile()
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 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 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 Doutdev3.cxx5526 long nDX = nEndX - nStartX; in DrawWaveLine() local
5527 double nO = atan2( -nEndY + nStartY, ((nDX == 0L) ? 0.000000001 : nDX) ); in DrawWaveLine()
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()
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 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 Dalpha.cxx113 sal_Bool AlphaMask::Expand( sal_uLong nDX, sal_uLong nDY, sal_uInt8* pInitTransparency ) in Expand() argument
120 return Bitmap::Expand( nDX, nDY, pInitTransparency ? &aColor : NULL ); in Expand()
H A Dbitmap.cxx1128 sal_Bool Bitmap::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor ) in Expand() argument
1132 if( nDX || nDY ) in Expand()
1137 const Size aNewSize( nWidth + nDX, nHeight + nDY ); in Expand()
1163 if( pInitColor && nDX ) in Expand()
H A Dbitmapex.cxx560 sal_Bool BitmapEx::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor, sal_Bool bExpandT… in Expand() argument
566 bRet = aBitmap.Expand( nDX, nDY, pInitColor ); in Expand()
571 aMask.Expand( nDX, nDY, &aColor ); in Expand()

Completed in 232 milliseconds

123