From: Andrew C <jx...@gm...> - 2025-04-21 12:03:20
|
Hello everyone! I'm modifying Tkhtml and am trying to use Cairo to add border-radius support but am hitting some roadblocks. On Linux, it is easy; I simply give Cairo the Xlib Pixmap to draw on. However, on Windows, I need to give Cairo a Win32 HDC. Is there any way to get a Pixmap's corresponding HDC on Windows? Something like TkWinGetDrawableDC might be exactly what I need, but using it gives me a slew of errors, including "error: 'TkIntPlatStubs' has no member named 'tkWinGetDrawableDC'". Any thoughts would be greatly appreciated. Thank you! Andrew |