diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-02-08 21:02:18 +0700 |
---|---|---|
committer | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-02-08 21:06:51 +0700 |
commit | a330f38093e2643a26239557050561afae9ff23d (patch) | |
tree | e31e00f724c06eeeba35ea649e1dbab959fb5ec8 /basegfx/source/range | |
parent | 344ebc80330cc4f6ff9858ab6d06735568b87bf9 (diff) |
Recover some methods needed by windows directx
This partially reverts b3c3e116ff0eb9b550b73d3901395c042e31d192
Diffstat (limited to 'basegfx/source/range')
-rw-r--r-- | basegfx/source/range/b2drange.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/basegfx/source/range/b2drange.cxx b/basegfx/source/range/b2drange.cxx index 5884b7e564f4..2da38ce2dbc3 100644 --- a/basegfx/source/range/b2drange.cxx +++ b/basegfx/source/range/b2drange.cxx @@ -60,6 +60,13 @@ namespace basegfx } } + B2IRange fround(const B2DRange& rRange) + { + return rRange.isEmpty() ? + B2IRange() : + B2IRange(fround(rRange.getMinimum()), + fround(rRange.getMaximum())); + } } // end of namespace basegfx // eof |