Searched refs:filepath (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/
H A Dattribute-rel-svg.cpp78 std::string filepath = INKSCAPE_ATTRRELDIR; local
79 filepath += "/svgprops";
81 f.open(filepath.c_str(), std::ios::in);
85 g_warning("Could not open the data file for XML attribute-element map construction: %s", filepath.c_str());
H A Dattribute-rel-css.cpp127 std::string filepath = INKSCAPE_ATTRRELDIR; local
128 filepath += "/cssprops";
130 // Try and load data from filepath
131 if (readDataFromFileIn(filepath, SPAttributeRelCSS::prop_element_pair)) {
136 filepath = INKSCAPE_ATTRRELDIR;
137 filepath += "/css_defaults";
139 // Try and load data from filepath
140 if (readDataFromFileIn(filepath, SPAttributeRelCSS::prop_defValue_pair)) {
H A Dcolor-profile.cpp772 static bool isIccFile( gchar const *filepath )
776 if ( g_stat(filepath, &st) == 0 && (st.st_size > 128) ) {
779 int fd = g_open( filepath, O_RDONLY, S_IRWXU);
796 cmsHPROFILE prof = cmsOpenProfileFromFile( filepath, "r" );
827 gchar *filepath = g_build_filename(it->c_str(), file, NULL); local
828 if ( g_file_test( filepath, G_FILE_TEST_IS_DIR ) ) {
829 sources.push_back( filepath );
831 if ( isIccFile( filepath ) ) {
832 files.push_back( filepath );
836 g_free(filepath);
[all...]
H A Dresource-manager.cpp361 std::string filepath = Glib::build_filename( combined ); local
362 exists = Glib::file_test(filepath, Glib::FILE_TEST_EXISTS);
363 // TODO debug g_message(" ...[%s] %s", filepath.c_str(), (exists ? "XXX" : ""));
365 dest = filepath;
H A Dselection-chemistry.cpp3595 gchar *filepath = g_build_filename(directory, basename, NULL); local
3598 //g_print("%s\n", filepath);
3652 run = g_strdup_printf("%s \"%s\" %s", filter.data(), filepath, p1);
3655 run = g_strdup_printf("%s \"%s\" %s", filter.data(), filepath, param1.data());
3659 run = g_strdup_printf("%s \"%s\"", filter.data(), filepath);
3685 sp_export_png_file(document, filepath,
3704 Inkscape::Pixbuf *pb = Inkscape::Pixbuf::create_from_file(filepath);
3745 g_free(filepath);
/inkscape/share/extensions/
H A Dextractimage.py31 self.OptionParser.add_option("--filepath",
33 dest="filepath", default=None,
46 path = self.options.filepath

Completed in 265 milliseconds