[cairo] Conditions under which CAIRO_STATUS_WRITE_ERROR occurs?
psychon at znc.in
Sat Oct 21 10:47:53 UTC 2017
On 20.10.2017 16:20, Andy Meneely wrote:
> What other conditions might you get a CAIRO_STATUS_WRITE_ERROR on a
looking through src/cairo-png.c, I find:
- Trying to write a surface with width or height 0
- When opening the output file fails (fopen())
- When fwrite() to the output file fails, i.e. ferror() returns non-zero
- When closing the output file fails (fclose())
Happiness can't be found -- it finds you.
More information about the cairo