Lines Matching defs:ruler_metric
1144 SPRulerMetric ruler_metric = ruler_metric_general; /* The metric to use for this unit system */
1260 ruler_metric = ruler_metric_inches;
1262 for (scale = 0; scale < G_N_ELEMENTS (ruler_metric.ruler_scale); scale++)
1263 if (ruler_metric.ruler_scale[scale] * fabs (increment) > 2 * text_size)
1266 if (scale == G_N_ELEMENTS (ruler_metric.ruler_scale))
1267 scale = G_N_ELEMENTS (ruler_metric.ruler_scale) - 1;
1273 for (i = G_N_ELEMENTS (ruler_metric.subdivide) - 1; i >= 0; i--)
1281 subd_incr = ((gdouble) ruler_metric.ruler_scale[scale] /
1282 (gdouble) ruler_metric.subdivide[i]);
1344 double label_spacing_px = fabs(increment*(double)ruler_metric.ruler_scale[scale]/ruler_metric.subdivide[i]);