diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Draw.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/generic/Draw.h b/generic/Draw.h index f0166ef..16dcf0f 100644 --- a/generic/Draw.h +++ b/generic/Draw.h @@ -81,7 +81,7 @@ void ZnSetLineStyle(struct _ZnWInfo *wi, ZnLineStyle line_style); void ZnLineShapePoints(ZnPoint *p1, ZnPoint *p2, ZnDim line_width, ZnLineShape shape, ZnBBox *bbox, ZnList to_points); void ZnDrawLineShape(struct _ZnWInfo *wi, ZnPoint *points, unsigned int num_points, - ZnLineStyle line_style, XColor *line_foreground, + ZnLineStyle line_style, int foreground_pixel, ZnDim line_width, ZnLineShape shape); void ZnGetLineEnd(ZnPoint *p1, ZnPoint *p2, ZnDim line_width, @@ -107,12 +107,8 @@ void ZnRenderPolyline(struct _ZnWInfo *wi, ZnPoint *points, unsigned int num_poi ZnDim line_width, ZnLineStyle line_style, int cap_style, int join_style, ZnLineEnd first_end, ZnLineEnd last_end, ZnGradient *gradient); -void ZnComputeAxialGradient(struct _ZnWInfo *wi, ZnPoly *shape, ZnReal angle, - ZnPoint *grad_geo); -void ZnComputeRadialGradient(struct _ZnWInfo *wi, ZnPoly *shape, ZnBool oval, - ZnPoint *center, ZnPoint *grad_geo); -void ZnComputePathGradient(struct _ZnWInfo *wi, ZnPoly *shape, ZnPoint *center, - ZnPoint *grad_geo); +void ZnComputeGradient(ZnGradient *grad, struct _ZnWInfo *wi, ZnPoly *shape, + ZnPoint *grad_geo); void ZnRenderGradient(struct _ZnWInfo *wi, ZnGradient *gradient, void (*cb)(void *), void *closure, ZnPoint *quad, ZnPoly *poly); |