summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 99751b3e..3275dc4e 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -795,6 +795,13 @@ fz_text *fz_clonetext(fz_text *old);
* The shading code uses gouraud shaded triangle meshes.
*/
+enum
+{
+ FZ_LINEAR,
+ FZ_RADIAL,
+ FZ_MESH,
+};
+
typedef struct fz_shade_s fz_shade;
struct fz_shade_s
@@ -811,6 +818,9 @@ struct fz_shade_s
int usefunction;
float function[256][FZ_MAXCOLORS];
+ int type; /* linear, radial, mesh */
+ int extend[2];
+
int meshlen;
int meshcap;
float *mesh; /* [x y t] or [x y c1 ... cn] */