Code

Fix startup crash by reverting a one-line change in 2geom; but please investigate...
[inkscape.git] / src / 2geom / geom.h
index 207d609b09b8568c888d0966e6a16b9b722680a5..1a40c04e184d52ae73194c7f336e7d8350a6501c 100644 (file)
@@ -69,6 +69,10 @@ line_twopoint_intersect(Geom::Point const &p00, Geom::Point const &p01,
                        Geom::Point const &p10, Geom::Point const &p11,
                        Geom::Point &result);
 
+std::vector<Geom::Point>
+rect_line_intersect(Geom::Point const &E, Geom::Point const &F,
+                    Geom::Point const &p0, Geom::Point const &p1);
+
 int centroid(std::vector<Geom::Point> p, Geom::Point& centroid, double &area);
 
 }