summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06e3549)
raw | patch | inline | side by side (parent: 06e3549)
author | mental <mental@users.sourceforge.net> | |
Tue, 5 Sep 2006 01:58:32 +0000 (01:58 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Tue, 5 Sep 2006 01:58:32 +0000 (01:58 +0000) |
src/dyna-draw-context.cpp | patch | blob | history |
index 34f84bb88de900adac1837c06a63dc958a8191dd..5b6b75fa541a14cc27b9ad3d8ab10b227f2e8457 100644 (file)
for (NR::Point *bp2 = b2 + BEZIER_SIZE * ( nb2 - 1 ); bp2 >= b2; bp2 -= BEZIER_SIZE) {
sp_curve_curveto(dc->currentcurve, bp2[2], bp2[1], bp2[0]);
}
- if (!dc->segments) {
+ // FIXME: dc->segments is always NULL at this point??
+ if (!dc->segments) { // first segment
add_cap(dc->currentcurve, b2[1], b2[0], b1[0], b1[1], dc->cap_rounding);
}
sp_curve_closepath(dc->currentcurve);