diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-09 09:46:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-09 10:40:32 +0200 |
commit | 840e7f172ce3b805dc5c3e4889e1166159942dc3 (patch) | |
tree | 8f99f8ae164b8039621d287ac7de7726ab9dd141 /fiv-io.h | |
parent | 9b99de99bbe2d87ee62bb72931a22f2551fa470e (diff) | |
download | fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.gz fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.xz fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.zip |
Colour-manage SVGs
Diffstat (limited to 'fiv-io.h')
-rw-r--r-- | fiv-io.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 *); }; |