Colour-manage SVGs

This commit is contained in:
2023-07-09 09:46:31 +02:00
parent 9b99de99bb
commit 840e7f172c
4 changed files with 17 additions and 9 deletions

View File

@@ -56,9 +56,11 @@ enum _FivIoOrientation {
FivIoOrientation270 = 8
};
// TODO(p): Maybe make FivIoProfile a referencable type,
// then loaders could store it in their closures.
struct _FivIoRenderClosure {
/// The rendering is allowed to fail, returning NULL.
FivIoImage *(*render)(FivIoRenderClosure *, double scale);
FivIoImage *(*render)(FivIoRenderClosure *, FivIoProfile, double scale);
void (*destroy)(FivIoRenderClosure *);
};