Searched defs:ruler_metric (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/widgets/
H A Druler.cpp1144 SPRulerMetric ruler_metric = ruler_metric_general; /* The metric to use for this unit system */ local
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
[all...]

Completed in 17 milliseconds