diff options
author | lecoanet | 2001-11-29 10:26:43 +0000 |
---|---|---|
committer | lecoanet | 2001-11-29 10:26:43 +0000 |
commit | bb161f6e263cdedb5cb298e03160c23e0b21d38d (patch) | |
tree | 14af6e6ebdc5eddf2c8d0e19660141fa600e4036 /generic | |
parent | 168da20e4c3a6f298cba04b06759eb1a29ce2058 (diff) | |
download | tkzinc-bb161f6e263cdedb5cb298e03160c23e0b21d38d.zip tkzinc-bb161f6e263cdedb5cb298e03160c23e0b21d38d.tar.gz tkzinc-bb161f6e263cdedb5cb298e03160c23e0b21d38d.tar.bz2 tkzinc-bb161f6e263cdedb5cb298e03160c23e0b21d38d.tar.xz |
Correction d'un bug de clipping non rectangulaire: le tristrip
ne pr�cisait pas l'attribut fan.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Curve.c | 2 | ||||
-rw-r--r-- | generic/Rectangle.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/generic/Curve.c b/generic/Curve.c index ee48f7a..e0444bd 100644 --- a/generic/Curve.c +++ b/generic/Curve.c @@ -1657,6 +1657,8 @@ GetClipVertices(Item item, tristrip->num_strips = cv->tristrip.num_strips; tristrip->strips = cv->tristrip.strips; } + + tristrip->fan = False; return False; #else diff --git a/generic/Rectangle.c b/generic/Rectangle.c index 536303a..0b09e72 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -869,6 +869,7 @@ GetClipVertices(Item item, ZnListAssertSize(item->wi->work_pts, 2); points = (ZnPoint *) ZnListArray(item->wi->work_pts); TRI_STRIP1(tristrip, points, 2); + tristrip->fan = False; if (rect->dev[0].x < rect->dev[2].x) { points[0].x = rect->dev[0].x; |