Lines Matching refs:lower
68 gdouble lower;
218 g_param_spec_double ("lower",
274 priv->lower = 0;
313 * @lower: the lower limit of the ruler
322 gdouble lower,
333 if (priv->lower != lower)
335 priv->lower = lower;
336 g_object_notify (G_OBJECT (ruler), "lower");
357 * @lower: (allow-none): location to store lower limit of the ruler, or %NULL
367 gdouble *lower,
377 if (lower)
378 *lower = priv->lower;
413 priv->lower,
424 priv->lower,
454 g_value_set_double (value, priv->lower);
825 gdouble lower;
829 sp_ruler_get_range (ruler, &lower, &upper, NULL);
834 lower +
835 (upper - lower) * x / allocation.width);
840 lower +
841 (upper - lower) * y / allocation.height);
1132 gdouble lower, upper; /* Upper and lower limits, in ruler units */
1236 sp_ruler_get_range (ruler, &lower, &upper, &max_size);
1238 if ((upper - lower) == 0)
1241 increment = (gdouble) width / (upper - lower);
1294 if (lower < upper)
1296 start = floor (lower / subd_incr) * subd_incr;
1302 end = ceil (lower / subd_incr) * subd_incr;
1309 // due to the typical values for cur, lower and increment, pos will often end up to
1313 pos = gint(Inkscape::round((cur - lower) * increment + 1e-12));
1417 gdouble upper, lower;
1459 sp_ruler_get_range (ruler, &lower, &upper, NULL);
1463 increment = (gdouble) width / (upper - lower);
1465 rect.x = ROUND ((position - lower) * increment) + (xthickness - rect.width) / 2 - 1;
1470 increment = (gdouble) height / (upper - lower);
1473 rect.y = ROUND ((position - lower) * increment) + (ythickness - rect.height) / 2 - 1;