Lines Matching defs:ydpi
300 * There's no way to set ydpi currently, so we use the defaultxdpi value here, too...
302 ydpi_adj = createSpinbutton ( "ydpi", prefs->getDouble("/dialogs/export/defaultxdpi/value", DPI_BASE),
799 float xdpi = 0.0, ydpi = 0.0;
805 sp_document_get_export_hints (doc, filename, &xdpi, &ydpi);
817 sp_selection_get_export_hints (SP_ACTIVE_DESKTOP->getSelection(), filename, &xdpi, &ydpi);
854 if (FALSE && ydpi != 0.0) {
855 setValue(ydpi_adj, ydpi);
1051 const gchar *dpi_hint = item->getRepr()->attribute("inkscape:export-xdpi"); // only xdpi, ydpi is always the same now
1119 float const ydpi = getValue(ydpi_adj);
1164 Geom::Rect(Geom::Point(x0, y0), Geom::Point(x1, y1)), width, height, xdpi, ydpi,
1221 temp_string = repr->attribute("inkscape:export-ydpi");
1222 if (temp_string == NULL || ydpi != atof(temp_string)) {
1223 sp_repr_set_svg_double(repr, "inkscape:export-ydpi", ydpi);
1267 temp_string = repr->attribute("inkscape:export-ydpi");
1268 if (temp_string == NULL || ydpi != atof(temp_string)) {
1269 sp_repr_set_svg_double(repr, "inkscape:export-ydpi", ydpi);
1573 float y0, y1, ydpi, height;
1583 ydpi = getValue(ydpi_adj);
1585 height = floor ((y1 - y0) * ydpi / DPI_BASE + 0.5);
1593 y1 = y0 + height * DPI_BASE / ydpi;
1596 y0 = y1 - height * DPI_BASE / ydpi;
1651 float ydpi = getValue(ydpi_adj);
1653 float bmheight = floor (height * ydpi / DPI_BASE + 0.5);
1657 height = bmheight * DPI_BASE / ydpi;
1670 * A function to set the ydpi.
1796 * We also change the ydpi. This is a temporary hack as these can not