decibels
decibels copied to clipboard
Port Drawing from Cairo to GtkSnapshot API
While the current code works, Cairo is drawn on the CPU rather than the GPU which might be less performant. On a more important note, Cairo uses physical pixels rather than logical pixels for its sizing. This can make drawing blurry while using GDK_SCALE=2 (e.g. for HIDPI screens).
You're right. This is something I'm looking forward to, using Gtk4 paths et, all. Will keep you posted!
By the way, for this usecase you dont need gskpaths, rectangles would be fine
Hmm... I need to familiarize myself with the API