Home | History | Annotate | Download | only in win32

Lines Matching defs:hDC

104                                     HDC hDC) {
106 return CreateDIBitmap(hDC, (BITMAPINFOHEADER*)info.c_str(), CBM_INIT,
132 HDC hDC = CreateCompatibleDC(nullptr);
138 DeleteDC(hDC);
142 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(),
144 DeleteDC(hDC);
168 HDC hDC = CreateCompatibleDC(nullptr);
173 DeleteDC(hDC);
177 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(),
179 DeleteDC(hDC);
185 CFX_WindowsDIB::CFX_WindowsDIB(HDC hDC, int width, int height) {
195 m_hBitmap = CreateDIBSection(hDC, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, &pData,
198 m_hMemDC = CreateCompatibleDC(hDC);
208 void CFX_WindowsDIB::LoadFromDevice(HDC hDC, int left, int top) {
209 ::BitBlt(m_hMemDC, 0, 0, m_Width, m_Height, hDC, left, top, SRCCOPY);
212 void CFX_WindowsDIB::SetToDevice(HDC hDC, int left, int top) {
213 ::BitBlt(hDC, left, top, m_Width, m_Height, m_hMemDC, 0, 0, SRCCOPY);