summaryrefslogtreecommitdiffstats
path: root/src/2geom/d2.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-12-23 21:17:42 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-12-23 21:17:42 +0000
commitb5b3e63ac4f274288247555f6caaa3ee91327568 (patch)
treeb7411a27ca946ac2124bce3bff677ac1801ca939 /src/2geom/d2.h
parentupdate to latest 2geom (fixed 2 bugs :)) (diff)
downloadinkscape-b5b3e63ac4f274288247555f6caaa3ee91327568.tar.gz
inkscape-b5b3e63ac4f274288247555f6caaa3ee91327568.zip
update to latest 2geom, bugs be gone!
(bzr r4285)
Diffstat (limited to 'src/2geom/d2.h')
-rw-r--r--src/2geom/d2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/2geom/d2.h b/src/2geom/d2.h
index 47355eb60..3becc813d 100644
--- a/src/2geom/d2.h
+++ b/src/2geom/d2.h
@@ -68,6 +68,10 @@ class D2{
boost::function_requires<FragmentConcept<T> >();
return f[X].isZero() && f[Y].isZero();
}
+ bool isConstant() const {
+ boost::function_requires<FragmentConcept<T> >();
+ return f[X].isConstant() && f[Y].isConstant();
+ }
bool isFinite() const {
boost::function_requires<FragmentConcept<T> >();
return f[X].isFinite() && f[Y].isFinite();