summaryrefslogtreecommitdiff
path: root/gfx/cro.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 03:53:25 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 03:55:27 -0300
commitfe2d12a590aa637881c7f3fc53d3cca9e246c195 (patch)
tree4e416fb6381a1cf5912cb35cb2796ee0424b714d /gfx/cro.h
parentb710a5cbfa013f72c91b877f3ba9e613dba92fd6 (diff)
downloadeeshow-fe2d12a590aa637881c7f3fc53d3cca9e246c195.tar.gz
eeshow-fe2d12a590aa637881c7f3fc53d3cca9e246c195.tar.bz2
eeshow-fe2d12a590aa637881c7f3fc53d3cca9e246c195.zip
gfx/cro.c (cro_img): add alpha mode; get rid of paint_yellow
This didn't work before because we didn't use CAIRO_OPERATOR_SOURCE.
Diffstat (limited to 'gfx/cro.h')
-rw-r--r--gfx/cro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/cro.h b/gfx/cro.h
index fb9f32a..5b22a1b 100644
--- a/gfx/cro.h
+++ b/gfx/cro.h
@@ -49,7 +49,7 @@ void cro_canvas_draw(struct cro_ctx *cc, cairo_t *cr,
uint32_t *cro_img(struct cro_ctx *cc, struct cro_ctx *cc_extra,
int x0, int yo, int w, int h,
- float scale, cairo_t **res_cr, int *res_stride);
+ float scale, double alpha, cairo_t **res_cr, int *res_stride);
cairo_surface_t *cro_img_surface(struct cro_ctx *cc);
#endif /* !GFX_CRO_H */