I knew the original dev of cairo. It’s amazing to see how it is being used in many different projects: a testament to his work all those years ago.
This GUI looks great, too. It’d be interesting to have python bindings to it.
Hi I'm Joel, the the author of Photon. The "canvas" part is encapsulated and can re-target another vector engine. I'm considering Skia, but it was too unstable when I first tried. Maybe I'll try again.
I'm curious if you have come across (and recommend) any framework which lie in between Photon (Cairo) and Dear ImGui.
I'm trying to follow all thr efforts in native desktop GUI tools and am currently using Dear ImGui for something which will only be used internally.
For me, nothing is as nice looking as Photon (resolution independent) and GPU friendly to allow 60 FPS cross-platform GUI.
It looks like you still need to roll your own.
I am currently working with Dear ImGui and found a pipeline where I put SVG icons in a true type front and can then render them resolution independent with Dear ImGui.
You might try Scenic. It’s more embedded oriented but does run on desktops using OpenGL. Also it’s new so the component library is pretty small still.
Yes, have been excitedly following Scenic since Boyd Multerer's talk about his experiments a couple of years back. Haven't tried it yet as I somehow kept putting off wrapping my head around Elixir and FP
Anyone using Skia?
Re:Photon Micro GUI
by badsectoracula on Monday July 08, 2019 @02:56PM
(#20385642)
Doesn't Skia have a very fragile API? I remember reading that they were breaking their API/ABI all the time. If nothing else, Cairo's API is always backwards compatible.
It is at very least a pain to set up, specially on Windows.
I’ve always been curious why Google didn’t spin out Skia. Maybe because it lacks the UI primitives you really need to make it useful?
What do you mean with "spin out"?
(sorry English is not my first language)
Take Skia and promote it as a toolkit independent from Android, Chrome, etc.
That means it should render nicely at any resolution, the author says, "resolution independent and allows for HDPI displays".
But using Cairo means it should not have a good performance at high resolutions. I have yet to find a fork of Cairo GPU accelerated that supports all the API. So it may fit the bill if you are coding a simple interface, but it will be too slow to render at 60FPS and at high resolution.
What comes closest for me is Dear ImGui, but I never saw an interface with those nicely rendered buttons in real-time done with Dear ImGui.