aboutsummaryrefslogtreecommitdiff
path: root/generic/Geo.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Geo.h')
-rw-r--r--generic/Geo.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/generic/Geo.h b/generic/Geo.h
index e1be69b..74d462c 100644
--- a/generic/Geo.h
+++ b/generic/Geo.h
@@ -85,7 +85,8 @@ POLY_FREE(ZnPoly *poly);
void
TRI_STRIP1(ZnTriStrip *tristrip,
ZnPoint *pts,
- int num_pts);
+ int num_pts,
+ ZnBool fan);
void
TRI_FREE(ZnTriStrip *tristrip);
@@ -270,16 +271,18 @@ InsetPolygon(ZnPoint *p,
ZnDim inset);
void
-BezierSubdivide(ZnPoint *controls,
- ZnReal t,
- ZnBool first);
-
-void
SmoothPathWithBezier(ZnPoint *from_points,
int num_points,
ZnList to_points);
void
+GetBezierPoints(ZnPoint *p1,
+ ZnPoint *c1,
+ ZnPoint *c2,
+ ZnPoint *p2,
+ ZnList to_points,
+ double eps);
+void
GetBezierPath(ZnList from_points,
ZnList to_points);
@@ -312,5 +315,9 @@ GetLineEnd(ZnPoint *p1,
ZnLineEnd end_style,
ZnPoint *points);
+ZnBool
+TestCCW(ZnPoint *p,
+ int num_points);
+
#endif /* _Geo_h */