Code

Enable item-selection by cycling through them (using Alt+mouse wheel scroll).
[inkscape.git] / src / sp-metrics.cpp
index 5f05c9fad6b8ac9db3bb46541f776a9a4122792d..5e34d9ab95d60a5b900700c31fc3b73b00529c91 100644 (file)
@@ -25,9 +25,15 @@ sp_absolute_metric_to_metric (gdouble length_src, const SPMetric metric_src, con
   case SP_IN:
     src = IN_PER_IN;
     break;
+  case SP_FT:
+    src = FT_PER_IN;
+    break;
   case SP_PT:
     src = PT_PER_IN;
     break;
+  case SP_PC:
+    src = PC_PER_IN;
+    break;
   case SP_PX:
     src = PX_PER_IN;
     break;
@@ -49,9 +55,15 @@ sp_absolute_metric_to_metric (gdouble length_src, const SPMetric metric_src, con
   case SP_IN:
     dst = IN_PER_IN;
     break;
+  case SP_FT:
+    dst = FT_PER_IN;
+    break;
   case SP_PT:
     dst = PT_PER_IN;
     break;
+  case SP_PC:
+    dst = PC_PER_IN;
+    break;
   case SP_PX:
     dst = PX_PER_IN;
     break;
@@ -105,4 +117,4 @@ sp_metric_to_metric_string(gdouble const length,
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :