Lines Matching refs:hDC

1362     HDC hDC = 0;  in ImplCreateICW_WithCatch()  local
1364 hDC = CreateICW( pDriver, pDevice, 0, pDevMode ); in ImplCreateICW_WithCatch()
1366 return hDC; in ImplCreateICW_WithCatch()
1373 HDC hDC = 0; in ImplCreateICA_WithCatch() local
1375 hDC = CreateICA( pDriver, pDevice, 0, pDevMode ); in ImplCreateICA_WithCatch()
1377 return hDC; in ImplCreateICA_WithCatch()
1383 HDC hDC = 0; in ImplCreateSalPrnIC() local
1401 hDC = ImplCreateICW_WithCatch( reinterpret_cast< LPWSTR >(pDriverName), in ImplCreateSalPrnIC()
1434 hDC = ImplCreateICA_WithCatch( lpszDriverName, in ImplCreateSalPrnIC()
1438 return hDC; in ImplCreateSalPrnIC()
1443 static WinSalGraphics* ImplCreateSalPrnGraphics( HDC hDC ) in ImplCreateSalPrnGraphics() argument
1447 pGraphics->setHDC(hDC); in ImplCreateSalPrnGraphics()
1495 HDC hDC = ImplCreateSalPrnIC( pPrinter, pSetupData ); in CreateInfoPrinter() local
1496 if ( !hDC ) in CreateInfoPrinter()
1502 pPrinter->mpGraphics = ImplCreateSalPrnGraphics( hDC ); in CreateInfoPrinter()
1503 pPrinter->mhDC = hDC; in CreateInfoPrinter()
1752 HDC hDC = mhDC; in GetPageInfo() local
1754 rOutWidth = GetDeviceCaps( hDC, HORZRES ); in GetPageInfo()
1755 rOutHeight = GetDeviceCaps( hDC, VERTRES ); in GetPageInfo()
1757 rPageOffX = GetDeviceCaps( hDC, PHYSICALOFFSETX ); in GetPageInfo()
1758 rPageOffY = GetDeviceCaps( hDC, PHYSICALOFFSETY ); in GetPageInfo()
1759 rPageWidth = GetDeviceCaps( hDC, PHYSICALWIDTH ); in GetPageInfo()
1760 rPageHeight = GetDeviceCaps( hDC, PHYSICALHEIGHT ); in GetPageInfo()
1903 HDC hDC = mhDC; in ~WinSalPrinter() local
1904 if ( hDC ) in ~WinSalPrinter()
1912 DeleteDC( hDC ); in ~WinSalPrinter()
1941 static int lcl_StartDocW( HDC hDC, DOCINFOW* pInfo, WinSalPrinter* pPrt ) in lcl_StartDocW() argument
1945 nRet = ::StartDocW( hDC, pInfo ); in lcl_StartDocW()
1950 static int lcl_StartDocA( HDC hDC, DOCINFOA* pInfo, WinSalPrinter* pPrt ) in lcl_StartDocA() argument
1954 nRet = ::StartDocA( hDC, pInfo ); in lcl_StartDocA()
1976 HDC hDC = 0; in StartJob() local
1992 hDC = CreateDCW( reinterpret_cast<LPCWSTR>(aDrvBuf), in StartJob()
2019 hDC = CreateDCA( lpszDriverName, in StartJob()
2031 if ( !hDC ) in StartJob()
2038 mhDC = hDC; in StartJob()
2039 if ( SetAbortProc( hDC, SalPrintAbortProc ) <= 0 ) in StartJob()
2130 int nRet = lcl_StartDocW( hDC, &aInfo, this ); in StartJob()
2166 int nRet = lcl_StartDocA( hDC, &aInfo, this ); in StartJob()
2186 HDC hDC = mhDC; in EndJob() local
2187 if ( isValid() && hDC ) in EndJob()
2205 if( ::EndDoc( hDC ) <= 0 ) in EndJob()
2210 DeleteDC( hDC ); in EndJob()
2224 HDC hDC = mhDC; in AbortJob() local
2225 if ( hDC ) in AbortJob()
2229 SAL_MSG_PRINTABORTJOB, (WPARAM)hDC, 0 ); in AbortJob()
2254 HDC hDC = pPrinter->mhDC; in ImplSalPrinterAbortJobAsync() local
2255 if ( hDC ) in ImplSalPrinterAbortJobAsync()
2265 ::AbortDoc( hDC ); in ImplSalPrinterAbortJobAsync()
2268 DeleteDC( hDC ); in ImplSalPrinterAbortJobAsync()
2281 HDC hDC = mhDC; in StartPage() local
2290 ResetDCW( hDC, pDevModeW ); in StartPage()
2300 ResetDCA( hDC, pDevModeA ); in StartPage()
2307 nRet = ::StartPage( hDC ); in StartPage()
2319 HPEN hTempPen = SelectPen( hDC, GetStockPen( NULL_PEN ) ); in StartPage()
2320 HBRUSH hTempBrush = SelectBrush( hDC, GetStockBrush( NULL_BRUSH ) ); in StartPage()
2321 WIN_Rectangle( hDC, -8000, -8000, -7999, -7999 ); in StartPage()
2322 SelectPen( hDC, hTempPen ); in StartPage()
2323 SelectBrush( hDC, hTempBrush ); in StartPage()
2325 mpGraphics = ImplCreateSalPrnGraphics( hDC ); in StartPage()
2333 HDC hDC = mhDC; in EndPage() local
2334 if ( hDC && mpGraphics ) in EndPage()
2346 nRet = ::EndPage( hDC ); in EndPage()