]> granicus.if.org Git - graphviz/commitdiff
remove unused mkboxf
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 02:21:37 +0000 (19:21 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 04:05:43 +0000 (21:05 -0700)
lib/common/geom.c
lib/common/geomprocs.h
lib/gvc/gvc.def

index 65402a8acdd9c5cd508bddb615056406155db584..4bcf3a47aed54f0656e5c69403cb4a57d9c2ec1f 100644 (file)
 #include <common/geom.h>
 #include <common/geomprocs.h>
 
-boxf mkboxf(pointf p, pointf q)
-{
-    boxf r;
-
-    if (p.x < q.x) {
-       r.LL.x = p.x;
-       r.UR.x = q.x;
-    } else {
-       r.LL.x = q.x;
-       r.UR.x = p.x;
-    }
-    if (p.y < q.y) {
-       r.LL.y = p.y;
-       r.UR.y = q.y;
-    } else {
-       r.LL.y = q.y;
-       r.UR.y = p.y;
-    }
-    return r;
-}
-
 /*
  *--------------------------------------------------------------
  *
index b05b8620b9dde4321a51853cc247cf7d402a88d0..063cac1a5e41f2aa3303ecb4375099d4950d6dc5 100644 (file)
@@ -31,8 +31,6 @@ extern "C" {
 #endif
 #endif
 
-extern boxf mkboxf(pointf p, pointf q);
-
 extern box flip_rec_box(box b, point p);
 extern boxf flip_rec_boxf(boxf b, pointf p);
 
index 7b89d780e8668d8b6f62ce9020f09bf711319d2d..1dcc8f641209f992acb28207e4b5e15ef45fb404 100644 (file)
@@ -188,7 +188,6 @@ mapbool
 maptoken    
 MaxIter    
 MemTest    
-mkboxf    
 N_activefillcolor    
 N_activepencolor    
 N_color