about summary refs log tree commit diff
path: root/converter/other/pamtosvg/curve.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-02-23 03:07:54 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-02-23 03:07:54 +0000
commit4f182f1c2fe7adec1f733955dcff0dbafc9d73ba (patch)
tree71b1d6abc6f50b2b77022b141f63ea64010e296a /converter/other/pamtosvg/curve.c
parentd807fc8d15c9378c726fd6bfc1576734fb5b32c3 (diff)
downloadnetpbm-mirror-4f182f1c2fe7adec1f733955dcff0dbafc9d73ba.tar.gz
netpbm-mirror-4f182f1c2fe7adec1f733955dcff0dbafc9d73ba.tar.xz
netpbm-mirror-4f182f1c2fe7adec1f733955dcff0dbafc9d73ba.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@588 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtosvg/curve.c')
-rw-r--r--converter/other/pamtosvg/curve.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/converter/other/pamtosvg/curve.c b/converter/other/pamtosvg/curve.c
index 6cfe8ead..369a0cd3 100644
--- a/converter/other/pamtosvg/curve.c
+++ b/converter/other/pamtosvg/curve.c
@@ -51,8 +51,6 @@ new_curve(void) {
   curveP->point_list = NULL;
   CURVE_LENGTH(curveP) = 0;
   CURVE_CYCLIC(curveP) = false;
-  CURVE_BEG_SLOPE(curveP) = curve_slope_none();
-  CURVE_END_SLOPE(curveP) = curve_slope_none();
   PREVIOUS_CURVE(curveP)  = NULL;
   NEXT_CURVE(curveP)      = NULL;
 
@@ -156,14 +154,6 @@ log_curve(curve * const curveP,
     if (CURVE_CYCLIC(curveP))
         LOG("  cyclic.\n");
 
-    /* It should suffice to check just one of the tangents for being present
-       -- either they both should be, or neither should be.
-    */
-    if (curve_slope_is_present(CURVE_BEG_SLOPE(curveP)))
-        LOG4("  tangents = (%.3f,%.3f) & (%.3f,%.3f).\n",
-             CURVE_BEG_SLOPE(curveP).dx, CURVE_BEG_SLOPE(curveP).dy,
-             CURVE_END_SLOPE(curveP).dx, CURVE_END_SLOPE(curveP).dy);
-
     LOG("  ");
 
     /* If the curve is short enough, don't use ellipses.  */
@@ -215,13 +205,6 @@ log_entire_curve(curve * const curveP) {
     if (CURVE_CYCLIC(curveP))
         LOG("  cyclic.\n");
 
-    /* It should suffice to check just one of the tangents for being present
-       -- either they both should be, or neither should be.  */
-    if (curve_slope_is_present(CURVE_BEG_SLOPE(curveP)))
-        LOG4("  tangents = (%.3f,%.3f) & (%.3f,%.3f).\n",
-             CURVE_BEG_SLOPE(curveP).dx, CURVE_BEG_SLOPE(curveP).dy,
-             CURVE_END_SLOPE(curveP).dx, CURVE_END_SLOPE(curveP).dy);
-    
     LOG(" ");
 
     for (thisPoint = 0; thisPoint < CURVE_LENGTH(curveP); ++thisPoint) {