1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-09 21:52:10 -05:00
Ben Harris 01043ce4fc GTK: simpler text scaling under Cairo
Rather than constructing a transformation matrix piece by piece (with
very branchy code), draw_stretch_before now just calls cairo_translate()
and cairo_scale() with values that are almost-obviously correct.

Also, rather than stashing and restoring the transformation matrix
ourselves, it seems simpler to use cairo_save() and cairo_restore().
That requires that draw_stretch_before() and draw_stretch_after() be
called strictly in pairs, but they are so that's OK.
2025-04-28 23:10:29 +01:00
..
2022-05-05 19:04:34 +01:00
2023-12-18 14:47:48 +00:00
2025-04-28 23:10:29 +01:00