1c5cc50939
Add very basic SVG support
...
We need to refactor, so that SVGs are pre-rendered on each change
of scaling by librsvg directly, because some elements may be rasterized.
It would be best to also support building against resvg.
2021-11-10 00:23:19 +01:00
ed39a9b434
Add elementary scrolling support to the view
2021-11-09 06:57:02 +01:00
a135d6f332
Enable opening images from the browser
...
Also, make it possible to go back, in a roughly implemented manner.
2021-11-09 06:03:02 +01:00
45df774cc9
Fix scaling in the view, as in the browser
...
The source pattern needs to be padded.
2021-11-04 19:42:22 +01:00
6eecee6b91
Incorporate most clang-format changes
2021-11-01 05:17:26 +01:00
ab283d3988
Split out fastiv-io.h, move media types list
2021-11-01 05:17:26 +01:00
a6972e4c6e
Don't hardcode the background colour
...
It can be now overriden in the user's gtk.css.
2021-10-17 12:48:15 +02:00
fa7b1631f0
Round coordinates for image centring
2021-10-16 10:07:32 +02:00
70a4729f36
Use bilinear filtering
...
It could be both faster and more accurate,
though currently it's a good compromise.
2021-10-16 10:04:50 +02:00
cc29f80bb2
Zoom with the scroll wheel
2021-10-12 08:10:57 +02:00
e4d1e50c4a
Split out image loaders into fastiv-io.c
2021-09-20 00:32:25 +02:00
c8d408b428
Check the status of new Cairo surfaces properly
2021-09-18 13:52:52 +02:00
aae6fd4d8b
Add internal support for image scaling
2021-09-17 20:40:11 +02:00
ddcc878424
Make the background black, center the image
...
It might be a good idea to make the colour adjustable, at least being
able to switch to white, for certain partly-transparent pictures.
2021-09-16 20:14:06 +02:00
913267724a
Add RAW support using LibRaw
2021-09-16 15:51:01 +02:00
97781f6af4
Initial commit
2021-09-15 17:30:16 +02:00