mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-13 06:10:26 +01:00
Propagate status errors from pattern->status to cr->status. Originally 2005-05-08 Owen Taylor <otaylor@redhat.com>: src/cairo-pattern.c src/cairoint.h: If allocation of pattern objects fails, return special static nil pattern objects. If adding a color stop fails to allocate memory, set pattern->status. (And fix a memory leak.) Make public functions return when pattern->status is set, (and no longer return a cairo_status_t). src/cairo-pattern.c src/cairo.h doc/public/cairo-sections.txt: Add cairo_pattern_status() Check the status of gstate->source and of mask patterns passed in. |
||
|---|---|---|
| .. | ||
| public | ||
| .cvsignore | ||
| Makefile.am | ||