How to set css radial-gradient (drawing) on cairo surface and save it as png in gtk4?
I am trying to draw circle on Gtk4 GtkDrawingarea using CSS. And then clicking on it, it will save as a PNG file. But unable to get the drawing (gradient) from drawing area to cairo surface (cairo_surface_t).
Can the draw done through css be saved in any way? Here is my code,