/*
Create ICC profile from PDF calGray and calRGB definitions
*/
-fz_buffer *fz_new_icc_data_from_cal(fz_context *ctx, float wp[3], float bp[3], float gamma[3], float matrix[9], int n);
+fz_buffer *fz_new_icc_data_from_cal(fz_context *ctx, float wp[3], float bp[3], float *gamma, float matrix[9], int n);
/*
Opaque type for a link (transform) generated between ICC
static void
write_variable_text(fz_context *ctx, pdf_annot *annot, fz_buffer *buf, pdf_obj **res,
fz_text_language lang, const char *text,
- const char *fontname, float size, int n, float color[4], int q,
+ const char *fontname, float size, int n, float *color, int q,
float w, float h, float padding, float baseline, float lineheight,
int multiline, int comb, int adjust_baseline)
{
}
static pdf_obj *draw_push_button(fz_context *ctx, pdf_annot *annot, fz_rect bbox, fz_matrix matrix, float w, float h,
- const char *caption, const char *font, float size, int n, float color[4],
+ const char *caption, const char *font, float size, int n, float *color,
int down)
{
pdf_obj *ap, *res = NULL;