/aoo4110/main/vcl/unx/generic/gdi/ |
H A D | salgdi2.cxx | 263 unsigned int &nDY, in Clip() argument 287 nDY -= aRect.y - nY; in Clip() 300 unsigned int &nDY, in Clip() argument 342 unsigned int &nDY, in SetMask() argument 379 nDX, nDY ); in SetMask() 1015 if ( nDY < 0 ) in getBitmap() 1017 nY += nDY; in getBitmap() 1018 nDY = -nDY; in getBitmap() 1040 nDY += nY; in getBitmap() 1053 nDY = nOrgDY; in getBitmap() [all …]
|
H A D | salvd.cxx | 44 long nDX, long nDY, in CreateVirtualDevice() argument 67 nDY = (long)h; 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 160 nDY_ = nDY; in Init() 217 sal_Bool X11SalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument 229 nDY < 0 || nDY > 65535 ) in SetSize() 233 if( !nDY ) nDY = 1; in SetSize() 237 nDX, nDY, nDepth_ ); in SetSize() [all …]
|
/aoo4110/main/vcl/aqua/source/gdi/ |
H A D | salvd.cxx | 39 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() 184 void* pRawData = rtl_allocateMemory( nBytesPerRow * nDY ); in SetSize() 185 mxBitmapContext = ::CGBitmapContextCreate( pRawData, nDX, nDY, in SetSize() 221 void* pRawData = rtl_allocateMemory( nBytesPerRow * nDY ); in SetSize() 222 mxBitmapContext = ::CGBitmapContextCreate( pRawData, nDX, nDY, in SetSize() [all …]
|
H A D | salmathutils.cxx | 113 long nDY = 0; in Euclidian2Norm() local 122 nDY = pVec[1].y - pVec[0].y; in Euclidian2Norm() 126 nMed = (unsigned long)abs( nDY ); in Euclidian2Norm()
|
/aoo4110/main/vcl/os2/source/gdi/ |
H A D | salvd.cxx | 52 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY, in ImplCreateVirDevBitmap() argument 71 aBitmapInfo.cy = nDY; in ImplCreateVirDevBitmap() 81 long nDX, long nDY, in CreateVirtualDevice() argument 97 size.cy = nDY; in CreateVirtualDevice() 106 HBITMAP hBmp = ImplCreateVirDevBitmap( hDC, hPS, nDX, nDY, nBitCount ); in CreateVirtualDevice() 121 pVirGraphics->mnHeight = nDY; in CreateVirtualDevice() 186 sal_Bool Os2SalVirtualDevice::SetSize( long nDX, long nDY ) in SetSize() argument 189 mhPS, nDX, nDY, in SetSize() 196 mpGraphics->mnHeight = nDY; in SetSize()
|
H A D | salgdi2.cxx | 607 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() 631 thePoints[ 1 ].y = nDY; in getBitmap() 635 thePoints[ 2 ].y = TY( nY + nDY - 1 ); in getBitmap()
|
/aoo4110/main/basegfx/source/tools/ |
H A D | liangbarsky.cxx | 78 const double nDY( io_rEnd.getY() - io_rStart.getY() ); in liangBarskyClip2D() local 81 ::basegfx::fTools::equalZero( nDY ) ) in liangBarskyClip2D() 95 if( liangBarskyClipT(nDY, rClipRect.getMinY() - io_rStart.getY(), in liangBarskyClip2D() 98 if( liangBarskyClipT(-nDY, io_rStart.getY() - rClipRect.getMaxY(), in liangBarskyClip2D() 106 io_rEnd.setY( io_rStart.getY() + nTL*nDY ); in liangBarskyClip2D() 114 io_rStart.setY( io_rStart.getY() + nTE*nDY ); in liangBarskyClip2D()
|
/aoo4110/main/vcl/win/source/gdi/ |
H A D | salvd.cxx | 39 static HBITMAP ImplCreateVirDevBitmap( HDC hDC, long nDX, long nDY, in ImplCreateVirDevBitmap() argument 46 hBitmap = CreateBitmap( (int)nDX, (int)nDY, 1, 1, NULL ); in ImplCreateVirDevBitmap() 56 aBitmapInfo.bmiHeader.biHeight = nDY; 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 D | salgdi2.cxx | 681 SalBitmap* WinSalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument 688 nDY = labs( nDY ); 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()
|
/aoo4110/main/vcl/source/window/ |
H A D | splitwin.cxx | 178 long nDY = pWin->mnDY; in ImplDrawBorder() local 184 Rectangle aRect( aTmpPoint, Size( nDX, nDY ) ); in ImplDrawBorder() 227 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder() 232 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder() 253 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder() 258 pWin->DrawLine( Point( 1, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder() 265 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-2, nDY-2 ) ); in ImplDrawBorder() 270 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder() 283 long nDY = pWin->mnDY; in ImplDrawBorderLine() local 302 …pWin->DrawLine( Point( 0, nDY-SPLITWIN_SPLITSIZEEXLN-1 ), Point( nDX-3, nDY-SPLITWIN_SPLITSIZEEXLN… in ImplDrawBorderLine() [all …]
|
H A D | toolbox.cxx | 672 long nDY = pWin->mnDY; 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() 702 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder() 703 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder() 705 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-3 ) ); in ImplDrawBorder() 706 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder() 713 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-2, nDY-2 ) ); in ImplDrawBorder() 716 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder() 726 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-1 ) ); in ImplDrawBorder() [all …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | bmpacc3.cxx | 180 const long nDY = labs( rEnd.Y() - rStart.Y() ); in DrawLine() local 186 if ( nDX >= nDY ) in DrawLine() 203 const long nDYX = ( nDY - nDX ) << 1; in DrawLine() 204 const long nDY2 = nDY << 1; in DrawLine() 242 const long nDYX = ( nDX - nDY ) << 1; in DrawLine() 244 long nD = nDY2 - nDY; in DrawLine()
|
H A D | virdev.cxx | 46 long nDX, long nDY, sal_uInt16 nBitCount, const SystemGraphicsData *pData ) in ImplInitVirDev() argument 54 if ( nDY < 1 ) in ImplInitVirDev() 55 nDY = 1; in ImplInitVirDev() 69 mpVirDev = pSVData->mpDefInst->CreateVirtualDevice( pGraphics, nDX, nDY, nBitCount, pData ); in ImplInitVirDev() 83 mnOutHeight = nDY; in ImplInitVirDev()
|
H A D | impvect.cxx | 68 struct ChainMove { long nDX; long nDY; }; member 445 nLastY += rMove.nDY; in ImplEndAdd() 524 aArr[ nPolyPos++ ].Y() = nLastY + rMoveInner.nDY; in ImplEndAdd() 552 nLastY += rMove.nDY; in ImplEndAdd() 631 aArr[ nPolyPos++ ].Y() = nLastY + rMoveOuter.nDY; in ImplEndAdd() 649 aArr[ ++i ] = Point( nLastX += rMove.nDX, nLastY += rMove.nDY ); in ImplEndAdd() 1152 nTryY = nActY + aImplMove[ nLastDir ].nDY; in ImplGetChain() 1169 nTryY = nActY + aImplMove[ nDir ].nDY; in ImplGetChain()
|
H A D | regionband.cxx | 490 const long nDY = labs( rEndPt.Y() - rStartPt.Y() ); in InsertLine() local 498 if ( nDX >= nDY ) in InsertLine() 500 const long nDYX = ( nDY - nDX ) << 1; in InsertLine() 501 const long nDY2 = nDY << 1; in InsertLine() 516 const long nDYX = ( nDX - nDY ) << 1; in InsertLine() 518 long nD = nDY2 - nDY; in InsertLine()
|
H A D | print.cxx | 1143 sal_Int64 nDY = pSetupData->mnPaperHeight - rPaperInfo.getHeight(); in ImplFindPaperFormatForUserSize() local 1144 sal_Int64 nMatch = nDX*nDX + nDY*nDY; in ImplFindPaperFormatForUserSize() 1154 nDY = pSetupData->mnPaperHeight - rPaperInfo.getWidth(); in ImplFindPaperFormatForUserSize() 1155 nMatch = nDX*nDX + nDY*nDY; in ImplFindPaperFormatForUserSize()
|
H A D | alpha.cxx | 113 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()
|
/aoo4110/main/tools/source/generic/ |
H A D | line.cxx | 309 const long nDY = labs( maEnd.Y() - maStart.Y() ); in Enum() local 317 if( nDX >= nDY ) in Enum() 319 const long nDYX = ( nDY - nDX ) << 1; in Enum() 320 const long nDY2 = nDY << 1; in Enum() 337 const long nDYX = ( nDX - nDY ) << 1; in Enum() 339 long nD = nDY2 - nDY; in Enum()
|
/aoo4110/main/svtools/source/contnr/ |
H A D | imivctl2.cxx | 635 long nDY = nY / _pView->nGridDY; in GetMinMapSize() local 639 if( !nDY ) in GetMinMapSize() 640 nDY++; in GetMinMapSize() 643 rDY = (sal_uInt16)nDY; in GetMinMapSize() 793 sal_uLong IcnGridMap_Impl::GetGridCount( const Size& rSizePixel, sal_uInt16 nDX, sal_uInt16 nDY) in GetGridCount() argument 797 long ndy = (rSizePixel.Height() - TBOFFS_WINBORDER) / nDY; in GetGridCount()
|
H A D | imivctl1.cxx | 746 for( long nDY = nGridDY; nDY <= aXSize.Height(); nDY += nGridDY ) in Paint() local 748 Point aStart( 0, nDY+TBOFFS_WINBORDER ); in Paint() 3079 long nDY = nGridDY; in SetDefaultTextSize() local 3080 nDY -= aImageSize.Height(); in SetDefaultTextSize() 3081 nDY -= VER_DIST_BMP_STRING; in SetDefaultTextSize() 3082 nDY -= 2*TBOFFS_BOUND; in SetDefaultTextSize() 3083 if( nDY <= 0 ) in SetDefaultTextSize() 3084 nDY = 2; in SetDefaultTextSize() 3094 if( nDY < nHeight ) in SetDefaultTextSize() 3095 nDY = nHeight; in SetDefaultTextSize() [all …]
|
H A D | svimpicn.cxx | 671 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() 1230 for( long nDY = nGridDY; nDY <= aXSize.Height(); nDY += nGridDY ) in Paint() local 1232 Point aStart( 0, nDY+TBOFFS_BOUND ); in Paint() 1233 Point aEnd( aXSize.Width(), nDY+TBOFFS_BOUND ); in Paint() 3662 void SvImpIconView::SetGrid( long nDX, long nDY ) in SetGrid() argument 3665 nGridDY = nDY; in SetGrid()
|
/aoo4110/main/vcl/unx/generic/printergfx/ |
H A D | common_gfx.cxx | 198 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 274 (double)nNewDY/(double)nNewDX == (double)nDY/(double)nDX ) in JoinVerticalClipRectangles() 283 nDY = 65536; in JoinVerticalClipRectangles() 297 (double)nNewDY/(double)nNewDX == (double)nDY/(double)nDX ) in JoinVerticalClipRectangles()
|
/aoo4110/main/vcl/inc/unx/ |
H A D | salgdi.h | 161 unsigned int &nDY, 167 unsigned int &nDY, 173 unsigned int &nDY,
|
/aoo4110/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 544 long nDY; in PreExecute() local 549 nDY = pLoadBtn->GetSizePixel().Height() * 2; in PreExecute() 555 nDY = pCancelBtn->GetPosPixel().Y() - pOkBtn->GetPosPixel().Y(); in PreExecute() 601 aPos.Y() += nDY; in PreExecute()
|
/aoo4110/main/vcl/unx/headless/ |
H A D | svpinst.cxx | 262 long nDX, long nDY, in CreateVirtualDevice() argument 266 pNew->SetSize( nDX, nDY ); in CreateVirtualDevice()
|