Searched refs:h_orig (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/ui/
H A Dobject-edit.cpp274 gdouble const h_orig = (origin[Geom::Y] - rect->y.computed); local
277 gdouble ratio = (w_orig / h_orig);
293 rect->height = MAX(h_orig + minx / ratio, 0);
295 // closer to the horizontal, change only width, height is h_orig
300 rect->height = MAX(h_orig, 0);
321 rect->height = MAX(h_orig + miny, 0);
365 gdouble h_orig = opposite_y - origin[Geom::Y]; local
376 gdouble ratio = (w_orig / h_orig);
387 rect->height = MAX(h_orig - minx / ratio, 0);
389 // closer to the horizontal, change only width, height is h_orig
[all...]
/inkscape/src/display/
H A Dnr-filter-gaussian.cpp608 int h_orig = ink_cairo_surface_get_height(in); local
610 int h_downsampled = resampling ? static_cast<int>(ceil(static_cast<double>(h_orig)/y_step))+1 : h_orig;
639 cairo_scale(ct, static_cast<double>(w_downsampled)/w_orig, static_cast<double>(h_downsampled)/h_orig);
674 w_orig, h_orig);
676 cairo_scale(ct, static_cast<double>(w_orig)/w_downsampled, static_cast<double>(h_orig)/h_downsampled);

Completed in 19 milliseconds