diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-05-08 15:37:07 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-05-08 15:37:07 +0000 |
| commit | 9d9699dd9cc0e86ac34a97f051ddf975bd004b8e (patch) | |
| tree | 1da1538a5e0b22640d0733ee578e0fcd14ac3ba3 /src/helper/geom.cpp | |
| parent | Adjust CMakeLists for 2geom directory (diff) | |
| download | inkscape-9d9699dd9cc0e86ac34a97f051ddf975bd004b8e.tar.gz inkscape-9d9699dd9cc0e86ac34a97f051ddf975bd004b8e.zip | |
Remove round_rectangle_outwards from helper/geom.h
(bzr r14059.2.9)
Diffstat (limited to 'src/helper/geom.cpp')
| -rw-r--r-- | src/helper/geom.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index daaf90ff2..0e97265d1 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -856,18 +856,6 @@ recursive_bezier4(const double x1, const double y1, } -/** - * rounds all corners of the rectangle 'outwards', i.e. x0 and y0 are floored, x1 and y1 are ceiled. - */ -void round_rectangle_outwards(Geom::Rect & rect) { - Geom::Interval ints[2]; - for (int i=0; i < 2; i++) { - ints[i] = Geom::Interval(std::floor(rect[i][0]), std::ceil(rect[i][1])); - } - rect = Geom::Rect(ints[0], ints[1]); -} - - namespace Geom { bool transform_equalp(Geom::Affine const &m0, Geom::Affine const &m1, Geom::Coord const epsilon) { |
