3 ms·
Any classic Windows, MacOS or GTK application does that. Check https://docs.microsoft.com/en-us/windows/win32/learnwin32/painting-the-window https://docs.micro
by c-smile 6y ago
Any classic Windows, MacOS or GTK application does that.
Check https://docs.microsoft.com/en-us/windows/win32/learnwin32/painting-the-window https://docs.microsoft.com/en-us/windows/win32/learnwin32/pa...
If your question is about unified wrapper for multiple platforms then wxWidgets will qualify : https://wiki.wxwidgets.org/Painting_your_custom_control https://wiki.wxwidgets.org/Painting_your_custom_control
As my Sciter where I wrapped Direct2D/DirectX, Skia/OpenGL, CoreGraphics, Cairo, GDI+ into class graphics abstraction so rest of code is isolated from particular paltform/backend used: https://github.com/c-smile/sciter-sdk/blob/master/include/behaviors/behavior_drawing.cpp https://github.com/c-smile/sciter-sdk/blob/master/include/be...