bezierclip.cxx (85f16e68) | bezierclip.cxx (32698fcc) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 579 unchanged lines hidden (view full) --- 588 // and P3 as the extremal points 589 590 if( Impl_doBBoxIntersect(c1_part, c2_part) ) 591 { 592 // Calculate fat lines around c1 593 FatLine bounds_c2; 594 595 // must use the subdivided version of c2, since the fat line | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 579 unchanged lines hidden (view full) --- 588 // and P3 as the extremal points 589 590 if( Impl_doBBoxIntersect(c1_part, c2_part) ) 591 { 592 // Calculate fat lines around c1 593 FatLine bounds_c2; 594 595 // must use the subdivided version of c2, since the fat line |
596 // algorithm works implicitely with the convex hull bounding | 596 // algorithm works implicitly with the convex hull bounding |
597 // box. 598 Impl_calcFatLine(bounds_c2, c2_part); 599 600 // determine clip positions on c2. Can use original c1 (which 601 // is necessary anyway, to get the t's on the original curve), 602 // since the distance calculations work directly in the 603 // Bernstein polynom parameter domain. 604 if( Impl_calcSafeParams_clip( t1, t2, bounds_c2, --- 1449 unchanged lines hidden --- | 597 // box. 598 Impl_calcFatLine(bounds_c2, c2_part); 599 600 // determine clip positions on c2. Can use original c1 (which 601 // is necessary anyway, to get the t's on the original curve), 602 // since the distance calculations work directly in the 603 // Bernstein polynom parameter domain. 604 if( Impl_calcSafeParams_clip( t1, t2, bounds_c2, --- 1449 unchanged lines hidden --- |