decibels icon indicating copy to clipboard operation
decibels copied to clipboard

Port Drawing from Cairo to GtkSnapshot API

Open A6GibKm opened this issue 1 year ago • 3 comments

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).

A6GibKm avatar Jan 31 '24 22:01 A6GibKm

You're right. This is something I'm looking forward to, using Gtk4 paths et, all. Will keep you posted!

vixalien avatar Jan 31 '24 23:01 vixalien

By the way, for this usecase you dont need gskpaths, rectangles would be fine

A6GibKm avatar Feb 01 '24 21:02 A6GibKm

Hmm... I need to familiarize myself with the API

vixalien avatar Feb 12 '24 23:02 vixalien