]> granicus.if.org Git - graphviz/commitdiff
Add addPt to geom.h interface; fix conflicting names in neatogen
authorerg <devnull@localhost>
Wed, 18 Jun 2008 19:28:39 +0000 (19:28 +0000)
committererg <devnull@localhost>
Wed, 18 Jun 2008 19:28:39 +0000 (19:28 +0000)
lib/neatogen/poly.c

index 3d3c215469b5914f2be4c0f32703aa9f6d392c6d..177a72fa74b902f7faa0e18eac906325f9046078 100644 (file)
@@ -502,10 +502,10 @@ int polyOverlap(Point p, Poly * pp, Point q, Poly * qp)
     Point oq, cq;
 
     /* translate bounding boxes */
-    addPt(&op, p, pp->origin);
-    addPt(&cp, p, pp->corner);
-    addPt(&oq, q, qp->origin);
-    addPt(&cq, q, qp->corner);
+    addpt(&op, p, pp->origin);
+    addpt(&cp, p, pp->corner);
+    addpt(&oq, q, qp->origin);
+    addpt(&cq, q, qp->corner);
 
     /* If bounding boxes don't overlap, done */
     if (!pintersect(op, cp, oq, cq))