aboutsummaryrefslogtreecommitdiff
path: root/generic/Rectangle.c
diff options
context:
space:
mode:
authorlecoanet2002-11-05 09:38:01 +0000
committerlecoanet2002-11-05 09:38:01 +0000
commit85c85c19a3b44586c5f2da0c2196bd19584ebaf3 (patch)
tree2bb75854518ba113033b4668cdf6f4cfc7afccef /generic/Rectangle.c
parentefcc9d337d14d351e3dd635fafef40c5135ddde7 (diff)
downloadtkzinc-85c85c19a3b44586c5f2da0c2196bd19584ebaf3.zip
tkzinc-85c85c19a3b44586c5f2da0c2196bd19584ebaf3.tar.gz
tkzinc-85c85c19a3b44586c5f2da0c2196bd19584ebaf3.tar.bz2
tkzinc-85c85c19a3b44586c5f2da0c2196bd19584ebaf3.tar.xz
Ajout d'un param�tre fan � la fonction TRI_STRIP1.
Ajout d'un param�tre controls � la m�thode Coords.
Diffstat (limited to 'generic/Rectangle.c')
-rw-r--r--generic/Rectangle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c
index 5418411..bc7a814 100644
--- a/generic/Rectangle.c
+++ b/generic/Rectangle.c
@@ -776,8 +776,8 @@ GetClipVertices(Item item,
if (ISSET(rect->flags, ALIGNED_BIT)) {
ZnListAssertSize(item->wi->work_pts, 2);
points = (ZnPoint *) ZnListArray(item->wi->work_pts);
- TRI_STRIP1(tristrip, points, 2);
- tristrip->fan = False;
+ TRI_STRIP1(tristrip, points, 2, False);
+ tristrip->strips[0].fan = False;
if (rect->dev[0].x < rect->dev[2].x) {
points[0].x = rect->dev[0].x;
@@ -797,7 +797,7 @@ GetClipVertices(Item item,
}
}
else {
- TRI_STRIP1(tristrip, rect->dev, 4);
+ TRI_STRIP1(tristrip, rect->dev, 4, False);
}
return ISSET(rect->flags, ALIGNED_BIT);
@@ -818,6 +818,7 @@ Coords(Item item,
int index,
int cmd,
ZnPoint **pts,
+ char **controls,
int *num_pts)
{
RectangleItem rect = (RectangleItem) item;