aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Draw.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/Draw.h b/generic/Draw.h
index 39bc1e8..81ddc95 100644
--- a/generic/Draw.h
+++ b/generic/Draw.h
@@ -54,11 +54,11 @@ void GetLineShape(ZnPoint *p1, ZnPoint *p2, unsigned int line_width,
void DrawLineShape(struct _WidgetInfo *wi, ZnPoint *points, int num_points,
LineStyle line_style, ZnColor line_foreground,
unsigned int line_width, LineShape shape);
-int PolygonReliefInBBox(ZnList points, unsigned int line_width,
+int PolygonReliefInBBox(ZnPoint *points, int num_points, int line_width,
ZnBBox *bbox);
-void GetPolygonReliefBBox(ZnList points, unsigned int line_width,
+void GetPolygonReliefBBox(ZnPoint *points, int num_points, int line_width,
ZnBBox *bbox);
-double PolygonReliefToPointDist(ZnList points, unsigned int line_width,
+double PolygonReliefToPointDist(ZnPoint *points, int num_points, int line_width,
ZnPoint *pp);
void DrawRectangleRelief(struct _WidgetInfo *wi,
ReliefStyle relief, ZnColorGradient gradient,
@@ -69,8 +69,7 @@ void DrawPolygonRelief(struct _WidgetInfo *wi, ReliefStyle relief,
void DrawRectangleGradient(struct _WidgetInfo *wi, ZnGradientGeom grad_geom,
ZnColorGradient grad_color, XRectangle *bbox);
void DrawPolygonGradient(struct _WidgetInfo *wi, ZnGradientGeom grad_geom,
- ZnColorGradient grad_color, ZnPoint *pts, int num_pts,
- ZnBBox *bbox);
+ ZnColorGradient grad_color, ZnPoly *poly, ZnBBox *bbox);
#endif /* _Draw_h */