diff options
author | lecoanet | 2002-11-05 09:21:02 +0000 |
---|---|---|
committer | lecoanet | 2002-11-05 09:21:02 +0000 |
commit | f0605f12f86b05b41df1ad0f5e912a9eb4e92f91 (patch) | |
tree | 67d76fdd5129b239688086d4ffd1983a622080d4 /generic/Icon.c | |
parent | b353c7791bc5b67d16393d331ea8352a0630dff0 (diff) | |
download | tkzinc-f0605f12f86b05b41df1ad0f5e912a9eb4e92f91.zip tkzinc-f0605f12f86b05b41df1ad0f5e912a9eb4e92f91.tar.gz tkzinc-f0605f12f86b05b41df1ad0f5e912a9eb4e92f91.tar.bz2 tkzinc-f0605f12f86b05b41df1ad0f5e912a9eb4e92f91.tar.xz |
Ajout de controls a la methode Coords et ajout du param fan a TRI_STRIP1
Diffstat (limited to 'generic/Icon.c')
-rw-r--r-- | generic/Icon.c | 5 |
1 files changed, 3 insertions, 2 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; |