summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/range
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2012-02-08 21:02:18 +0700
committerKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2012-02-08 21:06:51 +0700
commita330f38093e2643a26239557050561afae9ff23d (patch)
treee31e00f724c06eeeba35ea649e1dbab959fb5ec8 /basegfx/inc/basegfx/range
parent344ebc80330cc4f6ff9858ab6d06735568b87bf9 (diff)
Recover some methods needed by windows directx
Diffstat (limited to 'basegfx/inc/basegfx/range')
-rw-r--r--basegfx/inc/basegfx/range/b2drange.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/basegfx/inc/basegfx/range/b2drange.hxx b/basegfx/inc/basegfx/range/b2drange.hxx
index 7d7edb05c654..b8a51aeb8800 100644
--- a/basegfx/inc/basegfx/range/b2drange.hxx
+++ b/basegfx/inc/basegfx/range/b2drange.hxx
@@ -292,6 +292,12 @@ namespace basegfx
MyBasicRange maRangeY;
};
+ /** Round double to nearest integer for 2D range
+
+ @return the nearest integer for this range
+ */
+ BASEGFX_DLLPUBLIC B2IRange fround(const B2DRange& rRange);
+
/** Compute the set difference of the two given ranges
This method calculates the symmetric difference (aka XOR)