Searched defs:dpi (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/ui/dialog/
H A Dprint.cpp59 gdouble dpi = junk->_tab->bitmap_dpi(); local
60 prefs->setDouble("/dialogs/printing/dpi", dpi);
82 (unsigned long)(Inkscape::Util::Quantity::convert(width, "px", "in") * dpi),
83 (unsigned long)(Inkscape::Util::Quantity::convert(height, "px", "in") * dpi),
84 dpi, dpi, bgcolor, NULL, NULL, true, std::vector<SPItem*>());
87 //context->set_cairo_context ( Cairo::Context::create (Cairo::ImageSurface::create_from_png (tmp_png) ), dpi, dpi );
100 cairo_scale(cr, Inkscape::Util::Quantity::convert(1, "in", "pt") / dpi, Inkscap
[all...]
H A Dexport.cpp304 "", _("dpi"), 2, 0, NULL );
1050 // retrieve export dpi hints
1052 gdouble dpi = 0.0; local
1054 dpi = atof(dpi_hint);
1056 if (dpi == 0.0) {
1057 dpi = getValue(xdpi_adj);
1062 gint width = (gint) (area->width() * dpi / DPI_BASE + 0.5);
1063 gint height = (gint) (area->height() * dpi / DPI_BASE + 0.5);
1074 *area, width, height, dpi, dpi,
[all...]
/inkscape/src/ui/
H A Dclipboard.cpp1174 gdouble dpi = Inkscape::Util::Quantity::convert(1, "in", "px"); local
1180 unsigned long int width = (unsigned long int) (Inkscape::Util::Quantity::convert(area.width(), "px", "in") * dpi + 0.5);
1181 unsigned long int height = (unsigned long int) (Inkscape::Util::Quantity::convert(area.height(), "in", "px") * dpi + 0.5);
1194 sp_export_png_file(_clipboardSPDoc, filename, area, width, height, dpi, dpi, bgcolor, NULL, NULL, true, x);
/inkscape/src/
H A Dmain.cpp328 {"export-dpi", 'd',
360 N_("The width of exported bitmap in pixels (overrides export-dpi)"),
365 N_("The height of exported bitmap in pixels (overrides export-dpi)"),
1471 gdouble dpi = 0.0; local
1524 // retrieve export dpi hints
1528 g_warning ("Using bitmap dimensions from the command line (--export-dpi, --export-width, or --export-height). DPI hint %s is ignored.", dpi_hint);
1530 dpi = atof(dpi_hint);
1568 // set filename and dpi from options, if not yet set from the hints
1577 if (sp_export_dpi && dpi == 0.0) {
1578 dpi
1777 gdouble dpi = 96.0; local
[all...]

Completed in 188 milliseconds