From 6b36f92065f054abd810d956169a87180677d4f7 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 18 Feb 2002 16:03:54 +0000 Subject: Passage des couleurs en gradients pour uniformiser --- generic/Draw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic/Draw.h') diff --git a/generic/Draw.h b/generic/Draw.h index 4524c05..e4632ee 100644 --- a/generic/Draw.h +++ b/generic/Draw.h @@ -108,7 +108,7 @@ void RenderPolygonRelief(struct _WidgetInfo *wi, ReliefStyle relief, void RenderPolyline(struct _WidgetInfo *wi, ZnPoint *points, int num_points, int line_width, ZnBool closed, LineStyle line_style, int cap_style, int join_style, ZnLineEnd first_end, - ZnLineEnd last_end, XColor *color, int alpha); + ZnLineEnd last_end, ZnGradient *gradient); void ComputeAxialGradient(struct _WidgetInfo *wi, ZnPoly *shape, int angle, ZnPoint *grad_geo); void ComputeRadialGradient(struct _WidgetInfo *wi, ZnPoly *shape, ZnBBox *bbox, @@ -120,7 +120,7 @@ void RenderTile(struct _WidgetInfo *wi, struct _ImageBits *tile, ZnGradient *gradient, void cb(void *), void *closure, ZnPoint *quad); void RenderImage(struct _WidgetInfo *wi, struct _ImageBits *image, - XColor *color, int alpha, ZnPoint *origin); + ZnGradient *gradient, ZnPoint *origin, ZnBool modulate); void RenderHollowDot(struct _WidgetInfo *wi, ZnPoint *p, ZnReal size); #endif -- cgit v1.1