/inkscape/src/display/ |
H A D | drawing-surface.cpp | 332 char *fn = g_strdup_printf("dump%d.png", dumpnr++); local 333 cairo_surface_write_to_png(surface, fn); 335 g_free(fn);
|
H A D | cairo-utils.cpp | 286 Pixbuf *Pixbuf::create_from_file(std::string const &fn) argument 290 if (!g_file_test(fn.c_str(), G_FILE_TEST_EXISTS)) { 294 int val = g_stat(fn.c_str(), &stdir); 305 if (g_file_get_contents(fn.c_str(), &data, &len, &error)) { 316 pb->_path = fn;
|
/inkscape/src/extension/internal/ |
H A D | image-resolution.cpp | 53 ImageResolution::ImageResolution(char const *fn) { argument 56 readpng(fn); 58 readexiv(fn); 61 readjfif(fn); 64 readexif(fn); 67 readmagick(fn); 103 void ImageResolution::readpng(char const *fn) { argument 104 FILE *fp = fopen(fn, "rb"); 217 void ImageResolution::readexif(char const *fn) { argument 219 ed = exif_data_new_from_file(fn); 261 readexiv(char const *fn) argument 334 readjfif(char const *fn) argument 400 readmagick(char const *fn) argument [all...] |
H A D | latex-pstricks.cpp | 67 const gchar * fn = NULL; local 73 fn = mod->get_param_string("destination"); 74 gchar* local_fn = g_filename_from_utf8( fn, 76 fn = local_fn; 83 if (fn != NULL) { 84 while (isspace(*fn)) fn += 1; 85 Inkscape::IO::dump_fopen_call(fn, "K"); 86 osf = Inkscape::IO::fopen_utf8name(fn, "w+"); 88 fprintf(stderr, "inkscape: fopen(%s): %s\n", fn, strerro [all...] |
H A D | cairo-render-context.cpp | 259 gchar const *fn = local_fn; local 266 if (fn != NULL) { 267 if (*fn == '|') { 268 fn += 1; 269 while (isspace(*fn)) fn += 1; 271 osp = popen(fn, "w"); 273 osp = _popen(fn, "w"); 277 fn, strerror(errno)); 281 } else if (*fn 341 gchar const *fn = local_fn; local [all...] |
/inkscape/src/2geom/ |
H A D | polynomial.cpp | 120 double fn = p(guess); local 121 while(fabs(fn) > tol) { 122 guess -= fn/dp(guess); 123 fn = p(guess);
|
/inkscape/src/ |
H A D | file.cpp | 110 gchar *fn = g_filename_from_utf8(uri, -1, NULL, NULL, NULL); local 111 if (fn) { 112 gchar *uri_to_add = g_filename_to_uri(fn, NULL, NULL); 117 g_free(fn); 978 Glib::ustring fn = g_strdup(doc->getURI()); local 983 Glib::ustring::size_type pos = fn.rfind('.'); 987 ext = fn.substr( pos ); 989 success = file_save(parentWindow, doc, fn, Inkscape::Extension::db.get(ext.c_str()), FALSE, TRUE, Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS);
|
H A D | inkscape.cpp | 720 gchar *fn = profile_path(MENUS_FILE); local 724 if ( g_file_get_contents(fn, &menus_xml, &len, NULL) ) { 731 g_free(fn); 732 fn = 0;
|
H A D | preferences.cpp | 48 gchar *fn = g_filename_from_utf8(uri, -1, NULL, NULL, NULL); local 49 if (fn) { 50 if (g_file_test(fn, G_FILE_TEST_EXISTS)) { 51 gchar *uriToAdd = g_filename_to_uri(fn, NULL, NULL); 57 g_free(fn);
|
H A D | main.cpp | 827 gchar *fn = static_cast<gchar*>(fl->data); local 829 gchar *newFileName = Inkscape::IO::locale_to_utf8_fallback(fn, -1, NULL, NULL, NULL); 834 gchar *safeFn = Inkscape::IO::sanitizeString(fn); 844 g_free( fn ); 845 fn = newFileName; 851 gchar *safeFn = Inkscape::IO::sanitizeString(fn); 857 newFl = g_slist_append( newFl, fn ); 2210 gchar const *fn = poptGetOptArg(ctx); local 2211 if (fn != NULL) { 2212 fl = g_slist_append(fl, g_strdup(fn)); [all...] |
/inkscape/src/ui/dialog/ |
H A D | export.cpp | 1151 Glib::ustring fn = path_get_basename (path); local 1154 prog_dlg = create_progress_dialog (Glib::ustring::compose(_("Exporting %1 (%2 x %3)"), fn, width, height)); 1156 setExporting(true, Glib::ustring::compose(_("Exporting %1 (%2 x %3)"), fn, width, height));
|