/dports/games/lincity/lincity-1.13.1/ |
H A D | lcwin32.c | 238 FillRect (display.hdcMem, &rect, hbr); in Fgl_setpixel() 287 SetROP2 (display.hdcMem, oldrop2); in Fgl_hline() 298 oldrop2 = SetROP2 (display.hdcMem, R2_NOT); in Fgl_hline() 299 FillRect (display.hdcMem, &rect, hbr); in Fgl_hline() 301 SetROP2 (display.hdcMem, oldrop2); in Fgl_hline() 310 oldrop2 = SetROP2 (display.hdcMem, R2_NOT); in Fgl_hline() 313 SetROP2 (display.hdcMem, oldrop2); in Fgl_hline() 354 FillRect (display.hdcMem, &rect, hbr); in Fgl_line() 499 FillRect (display.hdcMem, &rect, hbr); in Fgl_fillbox() 510 FillRect (display.hdcMem, &rect, hbr); in Fgl_fillbox() [all …]
|
H A D | winmain.c | 913 display.hdcMem = CreateCompatibleDC (hdc); in CreateDDB() 916 RealizePalette (display.hdcMem); in CreateDDB() 958 SelectObject (display.hdcMem, display.hBitmap); in ResizeDDB() 982 RealizePalette (display.hdcMem); in CopyBackingStoreToScreen() 989 if (SetDIBits (display.hdcMem, display.hBitmap, 0, in CopyBackingStoreToScreen() 1002 display.hdcMem, ps->rcPaint.left, in CopyBackingStoreToScreen() 1068 hbr = (HBRUSH) SelectObject (display.hdcMem, hbrOld); in DoSquareMouse() 1092 hdcPixmap = CreateCompatibleDC (display.hdcMem); in CopyPixmapToScreen() 1102 hdcPixmap = CreateCompatibleDC (display.hdcMem); in CopyPixmapToScreen() 1386 SelectPalette (display.hdcMem, hPalNew, FALSE); in UpdatePalette() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/win/ |
H A D | tkWinImage.c | 296 HDC hdc, hdcMem; in XGetImageZPixmap() local 321 hdcMem = CreateCompatibleDC(hdc); in XGetImageZPixmap() 322 hbmpPrev = (HBITMAP)SelectObject(hdcMem, hbmp); in XGetImageZPixmap() 325 hPalPrev1 = SelectPalette(hdcMem, hPal, FALSE); in XGetImageZPixmap() 326 n = RealizePalette(hdcMem); in XGetImageZPixmap() 328 UpdateColors(hdcMem); in XGetImageZPixmap() 341 SelectObject(hdcMem, hbmpPrev); in XGetImageZPixmap() 392 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 428 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 554 SelectPalette(hdcMem, hPalPrev1, FALSE); in XGetImageZPixmap() [all …]
|
/dports/x11-toolkits/tk86/tk8.6.12/win/ |
H A D | tkWinImage.c | 293 HDC hdc, hdcMem; in XGetImageZPixmap() local 317 hdcMem = CreateCompatibleDC(hdc); in XGetImageZPixmap() 318 hbmpPrev = SelectObject(hdcMem, hbmp); in XGetImageZPixmap() 321 hPalPrev1 = SelectPalette(hdcMem, hPal, FALSE); in XGetImageZPixmap() 322 n = RealizePalette(hdcMem); in XGetImageZPixmap() 324 UpdateColors(hdcMem); in XGetImageZPixmap() 337 SelectObject(hdcMem, hbmpPrev); in XGetImageZPixmap() 388 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 424 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 550 SelectPalette(hdcMem, hPalPrev1, FALSE); in XGetImageZPixmap() [all …]
|
/dports/x11-toolkits/tk85/tk8.5.19/win/ |
H A D | tkWinImage.c | 292 HDC hdc, hdcMem; in XGetImageZPixmap() local 317 hdcMem = CreateCompatibleDC(hdc); in XGetImageZPixmap() 318 hbmpPrev = SelectObject(hdcMem, hbmp); in XGetImageZPixmap() 321 hPalPrev1 = SelectPalette(hdcMem, hPal, FALSE); in XGetImageZPixmap() 322 n = RealizePalette(hdcMem); in XGetImageZPixmap() 324 UpdateColors(hdcMem); in XGetImageZPixmap() 337 SelectObject(hdcMem, hbmpPrev); in XGetImageZPixmap() 388 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 424 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, in XGetImageZPixmap() 550 SelectPalette(hdcMem, hPalPrev1, FALSE); in XGetImageZPixmap() [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/win/ |
H A D | tkWinImage.c | 308 HDC hdc, hdcMem; local 330 hdcMem = CreateCompatibleDC(hdc); 331 hbmpPrev = SelectObject(hdcMem, hbmp); 334 hPalPrev1 = SelectPalette(hdcMem, hPal, FALSE); 335 n = RealizePalette(hdcMem); 337 UpdateColors (hdcMem); 350 SelectObject(hdcMem, hbmpPrev); 396 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, 429 if (GetDIBits(hdcMem, hbmp, 0, height, data, bmInfo, 537 SelectPalette(hdcMem, hPalPrev1, FALSE); [all …]
|
/dports/security/beid/eid-mw-5.0.8/cardcomm/pkcs11/src/dialogs/dialogswin32/ |
H A D | dlgwndaskpin.cpp | 265 HDC hdcMem = CreateCompatibleDC( lpDrawItem->hDC ); in ProcecEvent() local 266 SelectObject( hdcMem , ImageKP_BTN[11] ); in ProcecEvent() 268 KP_BTN_SIZE, KP_BTN_SIZE, hdcMem, 0, 0, in ProcecEvent() 282 SelectObject( hdcMem , ImageKP_BTN[iNum] ); in ProcecEvent() 285 DeleteDC(hdcMem); in ProcecEvent() 322 HDC hdcMem; in ProcecEvent() local 324 hdcMem = CreateCompatibleDC( m_hDC ); in ProcecEvent() 326 HGDIOBJ oldObj = SelectObject( hdcMem , ImagePIN ); in ProcecEvent() 330 IMG_SIZE, IMG_SIZE, hdcMem, 0, 0, in ProcecEvent() 334 SelectObject( hdcMem, oldObj ); in ProcecEvent() [all …]
|
H A D | dlgwndpinpadinfo.cpp | 99 HDC hdcMem; in ProcecEvent() local 105 hdcMem = CreateCompatibleDC( m_hDC ); in ProcecEvent() 106 SelectObject( hdcMem , ImagePIN ); in ProcecEvent() 107 BitBlt( m_hDC, 4, 4, IMG_SIZE, IMG_SIZE, hdcMem, in ProcecEvent() 110 DeleteDC(hdcMem); in ProcecEvent()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 151 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 162 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 167 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 168 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 173 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 218 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 234 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 236 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 239 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 151 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 162 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 167 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 168 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 173 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 218 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 234 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 236 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 239 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 151 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 162 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 167 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 168 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 173 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 218 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 234 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 236 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 239 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 151 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 162 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 167 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 168 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 173 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 218 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 234 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 236 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 239 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 151 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 162 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 167 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 168 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 173 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 218 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 234 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 236 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 239 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/games/xnethack/xNetHack-xnh6.1/win/win32/ |
H A D | NetHackW.c | 354 HDC hdcMem, hdcBack, hdcObject, hdcSave; in _nhapply_image_transparent() local 362 hdcMem = CreateCompatibleDC(hDC); in _nhapply_image_transparent() 378 bmMemOld = SelectObject(hdcMem, bmAndMem); in _nhapply_image_transparent() 401 BitBlt(hdcMem, 0, 0, width, height, hDC, x, y, SRCCOPY); in _nhapply_image_transparent() 404 BitBlt(hdcMem, 0, 0, width, height, hdcObject, 0, 0, SRCAND); in _nhapply_image_transparent() 410 BitBlt(hdcMem, 0, 0, width, height, hdcSave, 0, 0, SRCPAINT); in _nhapply_image_transparent() 413 BitBlt(hDC, x, y, width, height, hdcMem, 0, 0, SRCCOPY); in _nhapply_image_transparent() 418 DeleteObject(SelectObject(hdcMem, bmMemOld)); in _nhapply_image_transparent() 421 DeleteDC(hdcMem); in _nhapply_image_transparent()
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/win/win32/ |
H A D | NetHackW.c | 354 HDC hdcMem, hdcBack, hdcObject, hdcSave; in _nhapply_image_transparent() local 362 hdcMem = CreateCompatibleDC(hDC); in _nhapply_image_transparent() 378 bmMemOld = SelectObject(hdcMem, bmAndMem); in _nhapply_image_transparent() 401 BitBlt(hdcMem, 0, 0, width, height, hDC, x, y, SRCCOPY); in _nhapply_image_transparent() 404 BitBlt(hdcMem, 0, 0, width, height, hdcObject, 0, 0, SRCAND); in _nhapply_image_transparent() 410 BitBlt(hdcMem, 0, 0, width, height, hdcSave, 0, 0, SRCPAINT); in _nhapply_image_transparent() 413 BitBlt(hDC, x, y, width, height, hdcMem, 0, 0, SRCCOPY); in _nhapply_image_transparent() 418 DeleteObject(SelectObject(hdcMem, bmMemOld)); in _nhapply_image_transparent() 421 DeleteDC(hdcMem); in _nhapply_image_transparent()
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/win/win32/ |
H A D | NetHackW.c | 354 HDC hdcMem, hdcBack, hdcObject, hdcSave; in _nhapply_image_transparent() local 362 hdcMem = CreateCompatibleDC(hDC); in _nhapply_image_transparent() 378 bmMemOld = SelectObject(hdcMem, bmAndMem); in _nhapply_image_transparent() 401 BitBlt(hdcMem, 0, 0, width, height, hDC, x, y, SRCCOPY); in _nhapply_image_transparent() 404 BitBlt(hdcMem, 0, 0, width, height, hdcObject, 0, 0, SRCAND); in _nhapply_image_transparent() 410 BitBlt(hdcMem, 0, 0, width, height, hdcSave, 0, 0, SRCPAINT); in _nhapply_image_transparent() 413 BitBlt(hDC, x, y, width, height, hdcMem, 0, 0, SRCCOPY); in _nhapply_image_transparent() 418 DeleteObject(SelectObject(hdcMem, bmMemOld)); in _nhapply_image_transparent() 421 DeleteDC(hdcMem); in _nhapply_image_transparent()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/msw/ |
H A D | clipbrd.cpp | 182 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 192 DeleteDC(hdcMem); in wxSetClipboardData() 197 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 202 SelectObject(hdcMem, old1); in wxSetClipboardData() 210 DeleteDC(hdcMem); in wxSetClipboardData() 393 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 404 DeleteDC(hdcMem); in wxGetClipboardData() 409 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 410 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 414 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/msw/ |
H A D | clipbrd.cpp | 178 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 188 DeleteDC(hdcMem); in wxSetClipboardData() 193 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 198 SelectObject(hdcMem, old1); in wxSetClipboardData() 206 DeleteDC(hdcMem); in wxSetClipboardData() 395 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 406 DeleteDC(hdcMem); in wxGetClipboardData() 411 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 412 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 416 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/msw/ |
H A D | clipbrd.cpp | 178 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 188 DeleteDC(hdcMem); in wxSetClipboardData() 193 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 198 SelectObject(hdcMem, old1); in wxSetClipboardData() 206 DeleteDC(hdcMem); in wxSetClipboardData() 395 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 406 DeleteDC(hdcMem); in wxGetClipboardData() 411 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 412 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 416 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/msw/ |
H A D | clipbrd.cpp | 178 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 188 DeleteDC(hdcMem); in wxSetClipboardData() 193 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 198 SelectObject(hdcMem, old1); in wxSetClipboardData() 206 DeleteDC(hdcMem); in wxSetClipboardData() 395 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 406 DeleteDC(hdcMem); in wxGetClipboardData() 411 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 412 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 416 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/msw/ |
H A D | clipbrd.cpp | 178 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 188 DeleteDC(hdcMem); in wxSetClipboardData() 193 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 198 SelectObject(hdcMem, old1); in wxSetClipboardData() 206 DeleteDC(hdcMem); in wxSetClipboardData() 395 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 406 DeleteDC(hdcMem); in wxGetClipboardData() 411 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 412 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 416 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/msw/ |
H A D | clipbrd.cpp | 182 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxSetClipboardData() local 192 DeleteDC(hdcMem); in wxSetClipboardData() 197 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hBitmap); in wxSetClipboardData() 202 SelectObject(hdcMem, old1); in wxSetClipboardData() 210 DeleteDC(hdcMem); in wxSetClipboardData() 393 HDC hdcMem = CreateCompatibleDC((HDC) NULL); in wxGetClipboardData() local 404 DeleteDC(hdcMem); in wxGetClipboardData() 409 HBITMAP old1 = (HBITMAP) SelectObject(hdcMem, hNewBitmap); in wxGetClipboardData() 410 BitBlt(hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, in wxGetClipboardData() 414 SelectObject(hdcMem, old1); in wxGetClipboardData() [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/post/src/glaux_mingw/src/ |
H A D | tkdib.c | 181 HDC hdcMem = (HDC) NULL; // 24BPP mem DC in tkDIBImageLoadAW() local 358 hdcMem = CreateCompatibleDC(NULL); in tkDIBImageLoadAW() 359 if (!hdcMem) { in tkDIBImageLoadAW() 383 hbmRGB = CreateDIBSection(hdcMem, pbmiRGB, DIB_RGB_COLORS, in tkDIBImageLoadAW() 392 if (!SelectObject(hdcMem, hbmRGB)) in tkDIBImageLoadAW() 401 if (!SetDIBits(hdcMem, hbmRGB, 0, pbmiSource->bmiHeader.biHeight, in tkDIBImageLoadAW() 455 if (hdcMem) in tkDIBImageLoadAW() 456 DeleteDC(hdcMem); in tkDIBImageLoadAW()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 166 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 177 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 182 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 183 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 188 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 233 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 249 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 251 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 254 ::DeleteDC(hdcMem); in GetRGBPixels()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Robot.cpp | 166 HDC hdcMem = ::CreateCompatibleDC(hdcScreen); in GetRGBPixels() local 177 hOldBitmap = (HBITMAP)::SelectObject(hdcMem, hbitmap); in GetRGBPixels() 182 AwtWin32GraphicsDevice::SelectPalette(hdcMem, primaryIndex); in GetRGBPixels() 183 AwtWin32GraphicsDevice::RealizePalette(hdcMem, primaryIndex); in GetRGBPixels() 188 VERIFY(::BitBlt(hdcMem, 0, 0, width, height, hdcScreen, x, y, in GetRGBPixels() 233 ::GetDIBits(hdcMem, hbitmap, 0, height, pixelData, pinfo, DIB_RGB_COLORS); in GetRGBPixels() 249 ::SelectObject(hdcMem, hOldBitmap); in GetRGBPixels() 251 ::SelectPalette(hdcMem, hOldPalette, FALSE); in GetRGBPixels() 254 ::DeleteDC(hdcMem); in GetRGBPixels()
|