diff options
Diffstat (limited to 'graphics/asymptote/path.cc')
-rw-r--r-- | graphics/asymptote/path.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/graphics/asymptote/path.cc b/graphics/asymptote/path.cc index 4fcf16114a..e96337ff50 100644 --- a/graphics/asymptote/path.cc +++ b/graphics/asymptote/path.cc @@ -552,18 +552,6 @@ bbox path::internalbounds(const bbox& padding) const // Check interior nodes. Int len=length(); - for (Int i = 1; i < len; i++) { - pair pre=point(i)-precontrol(i); - pair post=postcontrol(i)-point(i); - - // Check node x coordinate - if((pre.getx() >= 0.0) ^ (post.getx() >= 0)) - add(box,point(i),padding.left,padding.right); - - // Check node y coordinate - if((pre.gety() >= 0.0) ^ (post.gety() >= 0)) - add(box,point(i),pair(0,padding.bottom),pair(0,padding.top)); - } // Check interior segments. for (Int i = 0; i < len; i++) { |