From 840e7f172ce3b805dc5c3e4889e1166159942dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 9 Jul 2023 09:46:31 +0200 Subject: Colour-manage SVGs --- fiv-io.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fiv-io.h') diff --git a/fiv-io.h b/fiv-io.h index 224aec0..ea9c6c4 100644 --- a/fiv-io.h +++ b/fiv-io.h @@ -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 *); }; -- cgit v1.2.3