ebassi,
@ebassi@mastodon.social avatar

@chriswood SVG are rasterised on upload, and GtkImage does not change the size of its contents, so the content get stretched.

If you want to render an SVG at different sizes you will need to load it with librsvg directly and implement a GdkPaintable object; there’s a demo in gtk4-demo.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • GNOME
  • DreamBathrooms
  • ethstaker
  • thenastyranch
  • magazineikmin
  • normalnudes
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • everett
  • ngwrru68w68
  • provamag3
  • tacticalgear
  • InstantRegret
  • anitta
  • GTA5RPClips
  • mdbf
  • tester
  • cubers
  • cisconetworking
  • megavids
  • modclub
  • Leos
  • JUstTest
  • lostlight
  • All magazines