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

/inkscape/src/ui/tools/
H A Drect-tool.cpp410 double rdimy = r.dimensions()[Geom::Y]; local
413 Inkscape::Util::Quantity rdimy_q = Inkscape::Util::Quantity(rdimy, "px");
421 if (fabs (rdimx) > fabs (rdimy)) {
422 if (fabs(rdimx / rdimy - goldenratio) < 1e-6) {
426 ratio_x = (int) rint (rdimx / rdimy);
429 if (fabs(rdimy / rdimx - goldenratio) < 1e-6) {
434 ratio_y = (int) rint (rdimy / rdimx);
H A Darc-tool.cpp394 double rdimy = r.dimensions()[Geom::Y]; local
397 Inkscape::Util::Quantity rdimy_q = Inkscape::Util::Quantity(rdimy, "px");
404 if (fabs (rdimx) > fabs (rdimy)) {
405 ratio_x = (int) rint (rdimx / rdimy);
409 ratio_y = (int) rint (rdimy / rdimx);

Completed in 2228 milliseconds