diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-06-20 19:33:57 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-06-20 19:33:57 +0000 |
| commit | a39e3c37a508f9a389fc55270ae0336ad2f76f0e (patch) | |
| tree | 952db81c3238005e975f21845734444bba28ff40 /src/proj_pt.cpp | |
| parent | Measure Tool: support measuring of text elements (without having to manually ... (diff) | |
| parent | Fix outline view (diff) | |
| download | inkscape-a39e3c37a508f9a389fc55270ae0336ad2f76f0e.tar.gz inkscape-a39e3c37a508f9a389fc55270ae0336ad2f76f0e.zip | |
Merge Cairo rendering branch
(bzr r10326)
Diffstat (limited to 'src/proj_pt.cpp')
| -rw-r--r-- | src/proj_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_pt.cpp b/src/proj_pt.cpp index 1d308f847..d9d4e06f1 100644 --- a/src/proj_pt.cpp +++ b/src/proj_pt.cpp @@ -48,7 +48,7 @@ Pt2::normalize() { Geom::Point Pt2::affine() { if (fabs(pt[2]) < epsilon) { - return Geom::Point (NR_HUGE, NR_HUGE); + return Geom::Point (Geom::infinity(), Geom::infinity()); } return Geom::Point (pt[0]/pt[2], pt[1]/pt[2]); } |
