aboutsummaryrefslogtreecommitdiff
path: root/generic/Draw.h
diff options
context:
space:
mode:
authorlecoanet2002-02-18 16:03:54 +0000
committerlecoanet2002-02-18 16:03:54 +0000
commit6b36f92065f054abd810d956169a87180677d4f7 (patch)
treed2d16c8be93c67d15670eccce326dba5276acda1 /generic/Draw.h
parent67dd05047282a179b5fac88564bb3494a69ecd23 (diff)
downloadtkzinc-6b36f92065f054abd810d956169a87180677d4f7.zip
tkzinc-6b36f92065f054abd810d956169a87180677d4f7.tar.gz
tkzinc-6b36f92065f054abd810d956169a87180677d4f7.tar.bz2
tkzinc-6b36f92065f054abd810d956169a87180677d4f7.tar.xz
Passage des couleurs en gradients pour uniformiser
Diffstat (limited to 'generic/Draw.h')
-rw-r--r--generic/Draw.h4
1 files changed, 2 insertions, 2 deletions
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