/inkscape/share/palettes/ |
H A D | i18n.py | 15 file = open (filename, 'r') variable 16 for line in file:
|
/inkscape/share/extensions/ |
H A D | hershey.py | 22 import hersheydata #data file w/ Hershey font data namespace
|
/inkscape/src/ |
H A D | attribute-rel-css.cpp | 43 // Always valid if data file not found! 53 // FixMe: Name space list should be created when file read in. 83 // Always false if data file not found! 102 // Always false if data file not found! 117 // Always true if data file not found! 148 std::fstream file; local 149 file.open(fileName.c_str(), std::ios::in); 151 if (!file.is_open()) { 152 // Display warning for file not open 153 g_warning("Could not open the data file fo [all...] |
H A D | PylogFormatter.h | 145 virtual void trace( const char * file, unsigned line, argument 149 _traceCurrent( file, line, tmp ); 152 virtual void warning( const char * file, unsigned line, argument 156 _warnCurrent( file, line, tmp ); 159 virtual void failedTest( const char * file, unsigned line, argument 163 _failCurrent( file, line, tmp ); 166 virtual void failedAssert( const char * file, unsigned line, argument 170 _failCurrent( file, line, tmp ); 173 virtual void failedAssertEquals( const char * file, unsigned line, argument 187 _failCurrent( file, lin 190 failedAssertSameData( const char * file, unsigned line, const char * , const char * , const char * , const void * , const void * , unsigned ) argument 199 failedAssertDelta( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * , const char * ) argument 208 failedAssertDiffers( const char * file, unsigned line, const char * xStr, const char * yStr, const char * value ) argument 223 failedAssertLessThan( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 240 failedAssertLessThanEquals( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 257 failedAssertPredicate( const char * file, unsigned line, const char * , const char * , const char * ) argument 264 failedAssertRelation( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * ) argument 272 failedAssertThrows( const char * file, unsigned line, const char * , const char * , bool ) argument 280 failedAssertThrowsNot( const char * file, unsigned line, const char * expression ) argument [all...] |
H A D | inkscape.cpp | 2 * @file 14 * Released under GNU GPL, read the file 'COPYING' for more information 309 // Remove the oldest file 328 // Try to save the file 329 FILE *file = Inkscape::IO::fopen_utf8name(full_path, "w"); local 331 if (file) { 333 sp_repr_save_stream(repr->document(), file, SP_SVG_NS_URI); 341 fclose(file); 600 FILE *file = 0; local 605 file [all...] |
/inkscape/cxxtest/cxxtest/ |
H A D | DummyDescriptions.cpp | 7 const char *DummyTestDescription::file() const { return "<no file>"; } function in class:CxxTest::DummyTestDescription 20 const char *DummySuiteDescription::file() const { return "<no file>"; } function in class:CxxTest::DummySuiteDescription
|
H A D | RealDescriptions.cpp | 47 doFailTest( file(), line(), "Error in GlobalFixture::setUp()" ); 53 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from setUp()", suite()->setUp() ); 66 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from tearDown()", suite()->tearDown() ); 76 doFailTest( file(), line(), "Error in GlobalFixture::tearDown()" ); 84 const char *RealTestDescription::file() const { return _suite->file(); } function in class:CxxTest::RealTestDescription 98 ___TSM_CATCH( file(), line(), "Exception thrown from test" ); 123 const char *RealSuiteDescription::file() const { return _file; } function in class:CxxTest::RealSuiteDescription
|
H A D | TestSuite.cpp | 56 void doTrace( const char *file, unsigned line, const char *message ) argument 58 tracker().trace( file, line, message ); 61 void doWarn( const char *file, unsigned line, const char *message ) argument 63 tracker().warning( file, line, message ); 66 void doFailTest( const char *file, unsigned line, const char *message ) argument 68 tracker().failedTest( file, line, message ); 72 void doFailAssert( const char *file, unsigned line, argument 76 tracker().failedTest( file, line, message ); 77 tracker().failedAssert( file, line, expression ); 101 void doAssertSameData( const char *file, unsigne argument 115 doFailAssertThrows( const char *file, unsigned line, const char *expr, const char *type, bool otherThrown, const char *message ) argument 127 doFailAssertThrowsNot( const char *file, unsigned line, const char *expression, const char *message ) argument [all...] |
H A D | ErrorFormatter.h | 96 void trace( const char *file, unsigned line, const char *expression ) argument 98 stop( file, line ) << "Trace: " << 102 void warning( const char *file, unsigned line, const char *expression ) argument 104 stop( file, line ) << "Warning: " << 108 void failedTest( const char *file, unsigned line, const char *expression ) argument 110 stop( file, line ) << "Error: Test failed: " << 114 void failedAssert( const char *file, unsigned line, const char *expression ) argument 116 stop( file, line ) << "Error: Assertion failed: " << 120 void failedAssertEquals( const char *file, unsigned line, argument 124 stop( file, lin 129 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 141 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 150 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 159 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 168 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 177 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 185 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 192 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 201 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument 217 stop( const char *file, unsigned line ) argument [all...] |
H A D | TeeListener.h | 54 void trace( const char *file, unsigned line, const char *expression ) argument 56 _first->trace( file, line, expression ); 57 _second->trace( file, line, expression ); 60 void warning( const char *file, unsigned line, const char *expression ) argument 62 _first->warning( file, line, expression ); 63 _second->warning( file, line, expression ); 66 void failedTest( const char *file, unsigned line, const char *expression ) argument 68 _first->failedTest( file, line, expression ); 69 _second->failedTest( file, line, expression ); 72 void failedAssert( const char *file, unsigne argument 78 failedAssertEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 86 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 95 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 103 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 111 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 119 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 127 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 134 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 142 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 150 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | TestTracker.cpp | 115 void TestTracker::trace( const char *file, unsigned line, const char *expression ) argument 117 _l->trace( file, line, expression ); 120 void TestTracker::warning( const char *file, unsigned line, const char *expression ) argument 123 _l->warning( file, line, expression ); 126 void TestTracker::failedTest( const char *file, unsigned line, const char *expression ) argument 129 _l->failedTest( file, line, expression ); 132 void TestTracker::failedAssert( const char *file, unsigned line, const char *expression ) argument 135 _l->failedAssert( file, line, expression ); 138 void TestTracker::failedAssertEquals( const char *file, unsigned line, argument 143 _l->failedAssertEquals( file, lin 146 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 155 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 163 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 171 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 179 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 187 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 194 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 202 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 210 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | TestSuite.h | 39 void doTrace( const char *file, unsigned line, const char *message ); 40 void doWarn( const char *file, unsigned line, const char *message ); 41 void doFailTest( const char *file, unsigned line, const char *message ); 42 void doFailAssert( const char *file, unsigned line, const char *expression, const char *message ); 51 void doAssertEquals( const char *file, unsigned line, argument 58 tracker().failedTest( file, line, message ); 59 tracker().failedAssertEquals( file, line, xExpr, yExpr, TS_AS_STRING(x), TS_AS_STRING(y) ); 64 void doAssertSameData( const char *file, unsigned line, 77 void doAssertDiffers( const char *file, unsigned line, argument 84 tracker().failedTest( file, lin 97 doAssertLessThan( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 117 doAssertLessThanEquals( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 131 doAssertPredicate( const char *file, unsigned line, const char *pExpr, const P &p, const char *xExpr, X x, const char *message ) argument 145 doAssertRelation( const char *file, unsigned line, const char *rExpr, const R &r, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 166 doAssertDelta( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *dExpr, D d, const char *message ) argument [all...] |
/inkscape/src/2geom/ |
H A D | exception.h | 2 * \file 21 * notice, a recipient may use your version of this file under either 25 * in the file COPYING-LGPL-2.1; if not, write to the Free Software 28 * in the file COPYING-MPL-1.1 30 * The contents of this file are subject to the Mozilla Public License 31 * Version 1.1 (the "License"); you may not use this file except in 55 Exception(const char * message, const char *file, const int line) { argument 57 os << "lib2geom exception: " << message << " (" << file << ":" << line << ")"; 75 LogicalError(const char * message, const char *file, const int line) argument 76 : Exception(message, file, lin 82 RangeError(const char * message, const char *file, const int line) argument 92 NotImplemented(const char *file, const int line) argument 99 InvariantsViolation(const char *file, const int line) argument 107 NotInvertible(const char *file, const int line) argument 114 InfiniteSolutions(const char *file, const int line) argument 121 ContinuityError(const char *file, const int line) argument [all...] |
/inkscape/src/ui/dialog/ |
H A D | template-load-tab.cpp | 1 /** @file 8 * Released under GNU GPL, read the file 'COPYING' for more information 28 #include "file.h" 248 if (strcmp(myRoot->name(), "svg:svg") != 0){ // Wrong file format 271 std::string file = Glib::build_filename(path, dir.read_name()); local 272 while (file != path){ 273 if (Glib::str_has_suffix(file, ".svg") && !Glib::str_has_prefix(Glib::path_get_basename(file), "default.")){ 274 TemplateData tmp = _processTemplateFile(file); 278 file [all...] |
H A D | document-properties.cpp | 2 * @file 18 * Released under GNU GPL. Read the file 'COPYING' for more information 493 Glib::ustring file = pairs[row].first; local 499 if (!strcmp(prof->href, file.c_str())) 508 cprofRepr->setAttribute("xlink:href", (gchar*) file.c_str()); 509 cprofRepr->setAttribute("id", (gchar*) file.c_str()); 765 _external_add_btn.set_tooltip_text(_("Add the current file name or browse for a file")); 1527 // TODO: copied from fill-and-stroke.cpp factor out into new ui/widget file? 1762 c-file [all...] |
H A D | export.cpp | 13 * Released under GNU GPL, read the file 'COPYING' for more information 56 #include "file.h" 170 batch_export(_("B_atch export all selected objects"), _("Export each selected object into its own PNG file, using export hints if any (caution, overwrites without asking!)")), 354 export_button.set_tooltip_text (_("Export the bitmap file with these settings")); 1069 _("Exporting file <b>%s</b>..."), safeFile), desktop); 1071 _("Exporting file <b>%s</b>..."), safeFile), desktop); 1129 // make sure that .png is the extension of the file: 1341 // Copy the selected file name, converting from UTF-8 to UTF-16 1384 // Copy the selected file name, converting from UTF-16 to UTF-8 1397 gchar *file; local [all...] |
/inkscape/share/filters/ |
H A D | samplify.py | 1 # This script produces a sample SVG demonstrating all filters in a filters file. 3 # It takes two inputs: the sample file with the object that will be cloned and filtered, and 4 # the file with filters (such as Inkscape's share/filters/filters.svg). 88 file = sys.argv[1] variable 91 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
|
/inkscape/src/extension/internal/ |
H A D | text_reassemble.h | 2 @file text_reassemble.h libTERE headers. 112 #define TR_EMFBOT 0x01 /**< use an approximation compatible with EMF file's "BOTTOM" text orientation, which is not the "bottom" for Freetype fonts */ 147 uint8_t *file; /**< pointer to font paths to files */ member in struct:__anon67
|
H A D | cairo-render-context.cpp | 0 /** \file 1436 // Only PDFLaTeX supports importing a single page of a graphics file, 1448 // Only PDFLaTeX supports importing a single page of a graphics file, 1839 FILE *file = (FILE*)closure; local 1841 written = fwrite (data, 1, length, file); 1864 c-file-style:"stroustrup" 1865 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
|
/inkscape/src/xml/ |
H A D | repr-io.cpp | 10 * Released under GNU GPL, read the file 'COPYING' for more information 137 // First peek in the file to see what it is 144 //g_message(" the file being read is gzip'd. extract it"); 190 // First get data from file in typical way (cache it all) 326 * Reads XML from a file, including WMF files, and returns the Document. 331 // g_warning( "Reading file: %s", filename ); 339 g_warning("Can't open file: %s (doesn't exist)", filename); 342 /* fixme: A file can disappear at any time, including between now and when we actually try to 478 * Reads in a XML file to create a Document 529 // icons.svg). How can one tell if a file i 723 FILE *file = Inkscape::IO::fopen_utf8name(filename, "w"); local [all...] |
/inkscape/ |
H A D | buildtool.cpp | 27 * To use this file, compile with: 37 * gettimeofday() might be missing. If so, just build this file with 916 * Parse a named XML file. The file is loaded like a data file; 918 * @param fileName the name of the file to read 1982 { URI::SCHEME_FILE, "file:", 0 }, 2617 error("unknown file:%s", childName.c_str()); 2853 * Base class for all classes in this file 2865 * Return the URI of the file associate 5105 removeFile(const String &file) argument [all...] |