summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-values.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-05 05:50:20 +0000
committermental <mental@users.sourceforge.net>2007-03-05 05:50:20 +0000
commitd4867888572ff1cf3d5bbeaed8c68431f6834941 (patch)
tree95fbc8812495b00ce09c6f7dc46610eeba9fc9ca /src/libnr/nr-values.cpp
parentclean up operators/constructors, and give reference-maybes a more compact (diff)
downloadinkscape-d4867888572ff1cf3d5bbeaed8c68431f6834941.tar.gz
inkscape-d4867888572ff1cf3d5bbeaed8c68431f6834941.zip
Separate NRRect and NR::Rect a bit further; the goal is to get to the point where there is no way to create an empty NR::Rect
(bzr r2551)
Diffstat (limited to 'src/libnr/nr-values.cpp')
-rw-r--r--src/libnr/nr-values.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libnr/nr-values.cpp b/src/libnr/nr-values.cpp
index bb310cc49..846a16bb8 100644
--- a/src/libnr/nr-values.cpp
+++ b/src/libnr/nr-values.cpp
@@ -9,8 +9,7 @@ and comparison.
*/
NRMatrix NR_MATRIX_IDENTITY =
{{1.0, 0.0, 0.0, 1.0, 0.0, 0.0}};
-NRRect NR_RECT_EMPTY =
- {NR_HUGE, NR_HUGE, -NR_HUGE, -NR_HUGE};
+NRRect NR_RECT_EMPTY(NR_HUGE, NR_HUGE, -NR_HUGE, -NR_HUGE);
NRRectL NR_RECT_L_EMPTY =
{NR_HUGE_L, NR_HUGE_L, -NR_HUGE_L, -NR_HUGE_L};
NRRectL NR_RECT_S_EMPTY =