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

/inkscape/src/ui/widget/
H A Dcolor-wheel-selector.cpp197 gdouble upper = _alpha_adjustment->get_upper(); local
199 _alpha_adjustment->set_value(floor(value * upper + 0.5));
H A Dspin-scale.cpp21 SpinScale::SpinScale(const char* label, double value, double lower, double upper, double step_inc, argument
26 _adjustment = Gtk::Adjustment::create(value, lower, upper, step_inc);
29 _adjustment = new Gtk::Adjustment(value, lower, upper, step_inc);
132 DualSpinScale::DualSpinScale(const char* label1, const char* label2, double value, double lower, double upper, double step_inc, argument
135 _s1(label1, value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text1),
136 _s2(label2, value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text2),
H A Dspin-slider.cpp20 SpinSlider::SpinSlider(double value, double lower, double upper, double step_inc, argument
24 _adjustment(Gtk::Adjustment::create(value, lower, upper, step_inc)),
26 _adjustment(value, lower, upper, step_inc),
150 DualSpinSlider::DualSpinSlider(double value, double lower, double upper, double step_inc, argument
153 _s1(value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text1),
154 _s2(value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text2),
H A Dcolor-scales.cpp270 void ColorScales::_setRangeLimit(gdouble upper) argument
272 _rangeLimit = upper;
274 gtk_adjustment_set_upper(_a[i], upper);
H A Dgimpspinscale.c747 gdouble *upper)
754 *upper = private->scale_upper;
762 *upper = gtk_adjustment_get_upper (adjustment);
774 gdouble upper; local
782 gimp_spin_scale_get_limits (GIMP_SPIN_SCALE (widget), &lower, &upper); local
787 gimp_spin_scale_get_limits (GIMP_SPIN_SCALE (widget), &lower, &upper); local
808 step = (upper - lower) / text_area.width / 10.0;
810 step = (upper - lower) / width / 10.0;
837 value = fraction * (upper - lower) + lower;
1072 gdouble upper; local
745 gimp_spin_scale_get_limits(GimpSpinScale *scale, gdouble *lower, gdouble *upper) argument
1075 gimp_spin_scale_get_limits (GIMP_SPIN_SCALE (spin_button), &lower, &upper); local
1143 gimp_spin_scale_set_scale_limits(GimpSpinScale *scale, gdouble lower, gdouble upper) argument
1185 gimp_spin_scale_get_scale_limits(GimpSpinScale *scale, gdouble *lower, gdouble *upper) argument
[all...]
H A Dpreferences-widget.cpp271 double lower, double upper, double step_increment, double /*page_increment*/,
281 value = 100 * prefs->getDoubleLimited(prefs_path, default_value, lower/100.0, upper/100.0);
283 value = (double) prefs->getIntLimited(prefs_path, (int) default_value, (int) lower, (int) upper);
286 value = prefs->getDoubleLimited(prefs_path, default_value, lower, upper);
289 this->set_range (lower, upper);
320 double lower, double upper, double step_increment,
328 setRange (lower, upper); /// @fixme this disregards changes of units
337 double value = prefs->getDoubleLimited(prefs_path, default_value, lower, upper);
541 ZoomCorrRulerSlider::init(int ruler_width, int ruler_height, double lower, double upper, argument
545 double value = prefs->getDoubleLimited("/options/zoomcorrection/value", default_value, lower, upper) * 100.
270 init(Glib::ustring const &prefs_path, double lower, double upper, double step_increment, double , double default_value, bool is_int, bool is_percent) argument
319 init(Glib::ustring const &prefs_path, double lower, double upper, double step_increment, double default_value, UnitType unit_type, Glib::ustring const &default_unit) argument
633 init(Glib::ustring const &prefs_path, double lower, double upper, double step_increment, double page_increment, double default_value, int digits) argument
[all...]
/inkscape/src/2geom/
H A Dbezier-curve.cpp375 Coord upper = 0.0; local
377 upper += distance(v1[i], v1[i+1]);
379 if (upper - lower <= 2*tolerance || level >= 8) {
380 return (lower + upper) / 2;
453 Coord upper = distance(a0, a1) + distance(a1, a2); local
455 if (upper - lower <= 2*tolerance || level >= 8) {
456 return (lower + upper) / 2;
479 Coord upper = distance(a0, a1) + distance(a1, a2) + distance(a2, a3); local
481 if (upper - lower <= 2*tolerance || level >= 8) {
482 return (lower + upper) /
[all...]
/inkscape/src/ui/dialog/
H A Dglyphs.cpp751 gunichar upper = 0xFFFD; local
755 upper = getRanges()[active].first.second;
758 for (gunichar ch = lower; ch <= upper; ch++) {
H A Dclonetiler.cpp2725 GtkWidget * CloneTiler::clonetiler_spinbox(const char *tip, const char *attr, double lower, double upper, const gchar *suffix, bool exponent/* = false*/) argument
2738 a = Gtk::Adjustment::create(1.0, lower, upper, 0.01, 0.05, 0);
2740 a = Gtk::Adjustment::create(0.0, lower, upper, 0.1, 0.5, 0);
2745 a = new Gtk::Adjustment (1.0, lower, upper, 0.01, 0.05, 0);
2747 a = new Gtk::Adjustment (0.0, lower, upper, 0.1, 0.5, 0);
2772 double value = prefs->getDoubleLimited(prefs_path + attr, exponent? 1.0 : 0.0, lower, upper);
H A Dfilter-effects-dialog.cpp154 SpinButtonAttr(double lower, double upper, double step_inc, argument
162 set_range(lower, upper);
219 MultiSpinButton(double lower, double upper, double step_inc, argument
225 _spins.push_back(new SpinButtonAttr(lower, upper, step_inc, climb_rate, digits, attrs[i], default_values[i], tip_text[i]));
248 DualSpinButton(char* def, double lower, double upper, double step_inc, argument
259 _s1.set_range(lower, upper);
260 _s2.set_range(lower, upper);
2875 _filter_general_settings->add_multispinbutton(/*default x:*/ (double) -0.1, /*default y:*/ (double) -0.1, SP_ATTR_X, SP_ATTR_Y, _("Coordinates:"), -100, 100, 0.01, 0.1, 2, _("X coordinate of the left corners of filter effects region"), _("Y coordinate of the upper corners of filter effects region"));
/inkscape/src/widgets/
H A Dege-adjustment-action.cpp575 gdouble upper = 0.0; local
580 "upper", &upper,
587 gtk_adjustment_set_value( act->private_data->adj, upper );
703 gdouble upper = 0.0; local
708 "upper", &upper,
714 if ( base < upper ) {
715 addOns = flush_explicit_items( addOns, G_CALLBACK(process_menu_action), BUMP_CUSTOM, menu, act, &single, &group, upper );
716 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_TOP, menu, act, &single, &group, upper, FALS local
[all...]
H A Druler.cpp69 gdouble upper; member in struct:__anon175
228 g_param_spec_double ("upper",
275 priv->upper = 0;
314 * @upper: the upper limit of the ruler
323 gdouble upper,
338 if (priv->upper != upper)
340 priv->upper = upper;
321 sp_ruler_set_range(SPRuler *ruler, gdouble lower, gdouble upper, gdouble max_size) argument
366 sp_ruler_get_range(SPRuler *ruler, gdouble *lower, gdouble *upper, gdouble *max_size) argument
826 gdouble upper; local
1132 gdouble lower, upper; /* Upper and lower limits, in ruler units */ local
1417 gdouble upper, lower; local
[all...]
H A Dtoolbox.cpp1087 gdouble lower, gdouble upper, gdouble step, gdouble page,
1101 lower, upper, step, page, 0 ) );
1081 create_adjustment_action( gchar const *name, gchar const *label, gchar const *shortLabel, gchar const *tooltip, Glib::ustring const &path, gdouble def, GtkWidget *focusTarget, GObject *dataKludge, gboolean altx, gchar const *altx_mark, gdouble lower, gdouble upper, gdouble step, gdouble page, gchar const** descrLabels, gdouble const* descrValues, guint descrCount, void (*callback)(GtkAdjustment *, GObject *), Inkscape::UI::Widget::UnitTracker *unit_tracker, gdouble climb , guint digits , double factor ) argument

Completed in 76 milliseconds