diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-24 06:42:52 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-24 06:42:52 +0100 |
commit | 4b2218b903da6de40e8a82b9e2a69157d415637c (patch) | |
tree | ca489110e7ee0dad118a8c13244ec3f8ab31492a /include/fitz/shade.h | |
parent | b48de7618e25bc2cef9d9db4f9b49e1d546e438a (diff) | |
download | mupdf-4b2218b903da6de40e8a82b9e2a69157d415637c.tar.xz |
added shade code skeleton
Diffstat (limited to 'include/fitz/shade.h')
-rw-r--r-- | include/fitz/shade.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/fitz/shade.h b/include/fitz/shade.h new file mode 100644 index 00000000..7641f609 --- /dev/null +++ b/include/fitz/shade.h @@ -0,0 +1,15 @@ +typedef struct fz_shade_s fz_shade; + +struct fz_shade_s +{ + int refs; + fz_colorspace *cs; + // ... +}; + +fz_shade *fz_keepshade(fz_shade *shade); +void fz_dropshade(fz_shade *shade); + +fz_rect fz_boundshade(fz_shade *shade, fz_matrix ctm); +fz_error *fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_colorspace *dsts, fz_pixmap *dstp, int over); + |