Lines Matching refs:hDC
39 static HBITMAP ImplCreateVirDevBitmap( HDC hDC, long nDX, long nDY, in ImplCreateVirDevBitmap() argument
58 aBitmapInfo.bmiHeader.biBitCount = (WORD)GetDeviceCaps( hDC, in ImplCreateVirDevBitmap()
68 hBitmap = CreateDIBSection( hDC, &aBitmapInfo, in ImplCreateVirDevBitmap()
85 HDC hDC = NULL; in CreateVirtualDevice() local
91 hDC = pData->hDC; in CreateVirtualDevice()
93 bOk = (hDC != NULL); in CreateVirtualDevice()
97 hDC = CreateCompatibleDC( pGraphics->getHDC() ); in CreateVirtualDevice()
98 if( !hDC ) in CreateVirtualDevice()
111 bOk = (hDC != NULL); in CreateVirtualDevice()
120 pVirGraphics->setHDC(hDC); in CreateVirtualDevice()
128 pVirGraphics->mhDefPal = SelectPalette( hDC, pSalData->mhDitherPal, TRUE ); in CreateVirtualDevice()
129 RealizePalette( hDC ); in CreateVirtualDevice()
133 pVDev->setHDC(hDC); in CreateVirtualDevice()
136 pVDev->mhDefBmp = SelectBitmap( hDC, hBmp ); in CreateVirtualDevice()
152 if ( hDC && !pData ) in CreateVirtualDevice()
153 DeleteDC( hDC ); in CreateVirtualDevice()