From f0605f12f86b05b41df1ad0f5e912a9eb4e92f91 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 5 Nov 2002 09:21:02 +0000 Subject: Ajout de controls a la methode Coords et ajout du param fan a TRI_STRIP1 --- generic/Icon.c | 5 +++-- generic/Tabular.c | 3 ++- generic/Text.c | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/generic/Icon.c b/generic/Icon.c index b8d003d..0e4abee 100644 --- a/generic/Icon.c +++ b/generic/Icon.c @@ -660,7 +660,7 @@ GetClipVertices(Item item, ZnPoint *points; if (item->wi->render) { - TRI_STRIP1(tristrip, icon->dev, 4); + TRI_STRIP1(tristrip, icon->dev, 4, False); return False; } @@ -670,7 +670,7 @@ GetClipVertices(Item item, ZnSizeOfImage(icon->image, &w, &h); } points = ZnListArray(item->wi->work_pts); - TRI_STRIP1(tristrip, points, 2); + TRI_STRIP1(tristrip, points, 2, False); points[0] = *icon->dev; points[1].x = points[0].x + w; points[1].y = points[0].y + h; @@ -696,6 +696,7 @@ Coords(Item item, int index, int cmd, ZnPoint **pts, + char **controls, int *num_pts) { IconItem icon = (IconItem) item; diff --git a/generic/Tabular.c b/generic/Tabular.c index fa04be7..6e77fa9 100644 --- a/generic/Tabular.c +++ b/generic/Tabular.c @@ -465,7 +465,7 @@ GetClipVertices(Item item, FIELD.GetLabelBBox(field_set, &width, &height); ZnListAssertSize(item->wi->work_pts, 2); points = (ZnPoint *) ZnListArray(item->wi->work_pts); - TRI_STRIP1(tristrip, points, 2); + TRI_STRIP1(tristrip, points, 2, False); points[0] = field_set->label_pos; points[1].x = points[0].x + width; points[1].y = points[0].y + height; @@ -491,6 +491,7 @@ Coords(Item item, int index, int cmd, ZnPoint **pts, + char **controls, int *num_pts) { TabularItem tabular = (TabularItem) item; diff --git a/generic/Text.c b/generic/Text.c index 73579ae..e7e1c47 100644 --- a/generic/Text.c +++ b/generic/Text.c @@ -1128,7 +1128,7 @@ GetClipVertices(Item item, ZnListAssertSize(item->wi->work_pts, 2); points = (ZnPoint *) ZnListArray(item->wi->work_pts); - TRI_STRIP1(tristrip, points, 2); + TRI_STRIP1(tristrip, points, 2, False); points[0] = item->item_bounding_box.orig; points[1] = item->item_bounding_box.corner; @@ -1152,6 +1152,7 @@ Coords(Item item, int index, int cmd, ZnPoint **pts, + char **controls, int *num_pts) { TextItem text = (TextItem) item; -- cgit v1.1