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

/inkscape/src/ui/tools/
H A Drect-tool.cpp409 double rdimx = r.dimensions()[Geom::X]; local
412 Inkscape::Util::Quantity rdimx_q = Inkscape::Util::Quantity(rdimx, "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.cpp393 double rdimx = r.dimensions()[Geom::X]; local
396 Inkscape::Util::Quantity rdimx_q = Inkscape::Util::Quantity(rdimx, "px");
404 if (fabs (rdimx) > fabs (rdimy)) {
405 ratio_x = (int) rint (rdimx / rdimy);
409 ratio_y = (int) rint (rdimy / rdimx);

Completed in 567 milliseconds