/inkscape/src/libvpsc/ |
H A D | variable.cpp | 12 std::ostream& operator <<(std::ostream &os, const Variable &v) { argument 13 os << "(" << v.id << "=" << v.position() << ")"; 14 return os;
|
H A D | constraint.cpp | 36 std::ostream& operator <<(std::ostream &os, const Constraint &c) argument 39 os<<"NULL"; 42 os<<*c.left<<"+"<<c.gap<<type<<*c.right<<"("<<c.slack()<<")"<<(c.active?"-active":""); 44 return os;
|
/inkscape/CMakeScripts/ |
H A D | cmake_consistency_check_config.py | 1 import os namespace 59 SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))))
|
/inkscape/src/svg/ |
H A D | css-ostringstream.cpp | 21 write_num(Inkscape::CSSOStringStream &os, unsigned const prec, double const d) argument 37 os << strip_trailing_zeros(buf); 41 operator<<(Inkscape::CSSOStringStream &os, float const d) argument 47 os << n; 48 return os; 52 write_num(os, os.precision(), d); 53 return os; 57 operator<<(Inkscape::CSSOStringStream &os, double const d) argument 63 os << [all...] |
H A D | stringstream.cpp | 21 operator<<(Inkscape::SVGOStringStream &os, float d) argument 27 os << n; 28 return os; 34 s.flags(os.setf(std::ios::showpoint)); 35 s.precision(os.precision()); 37 os << strip_trailing_zeros(s.str()); 38 return os; 42 operator<<(Inkscape::SVGOStringStream &os, double d) argument 48 os << n; 49 return os; 63 operator <<(Inkscape::SVGOStringStream &os, Geom::Point const & p) argument [all...] |
H A D | stringstream.h | 85 Inkscape::SVGOStringStream &operator<<(Inkscape::SVGOStringStream &os, float d); 87 Inkscape::SVGOStringStream &operator<<(Inkscape::SVGOStringStream &os, double d); 89 Inkscape::SVGOStringStream &operator<<(Inkscape::SVGOStringStream &os, Geom::Point const & p);
|
/inkscape/src/debug/ |
H A D | logger.cpp | 29 static void write_escaped_value(std::ostream &os, Util::ptr_shared<char> value) { argument 33 os << "&"; 36 os << """; 39 os << "'"; 42 os << "<"; 45 os << ">"; 48 os.put(*current); 53 static void write_indent(std::ostream &os, unsigned depth) { argument 55 os.write(" ", 2);
|
/inkscape/share/extensions/ |
H A D | eqtexsvg.py | 31 import inkex, os, tempfile, sys, xml.dom.minidom namespace 100 latex_file = os.path.join(base_dir, "eq.tex") 101 aux_file = os.path.join(base_dir, "eq.aux") 102 log_file = os.path.join(base_dir, "eq.log") 103 ps_file = os.path.join(base_dir, "eq.ps") 104 dvi_file = os.path.join(base_dir, "eq.dvi") 105 svg_file = os.path.join(base_dir, "eq.svg") 106 out_file = os.path.join(base_dir, "eq.out") 107 err_file = os.path.join(base_dir, "eq.err") 110 os [all...] |
H A D | extractimage.py | 21 import os namespace 63 if (not os.path.isabs(path)): 64 if os.name == 'nt': 65 path = os.path.join(os.environ['USERPROFILE'],path) 67 path = os.path.join(os.path.expanduser("~"),path) 73 node.set(inkex.addNS('href','xlink'),os.path.realpath(path)) #absolute for making in-mem cycles work
|
H A D | run_command.py | 2 import os namespace 39 os.chdir(tempfile.gettempdir()) 71 if os.name == 'nt': # make stdout work in binary on Windows 73 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) 84 os.remove(svgfile)
|
H A D | svg_and_media_zip_output.py | 42 import os, os.path namespace 59 if os.name == 'nt': 87 if os.name == 'nt': 90 msvcrt.setmode(1, os.O_BINARY) 115 absref = os.path.realpath(href) 118 image_path = os.path.join(dir, os.path.basename(absref)) 120 if (os.path.isfile(absref)): 123 elif (os [all...] |
H A D | jessyInk_mouseHandler.py | 16 import os namespace 57 scriptElm.text = open(os.path.join(os.path.dirname(__file__), "jessyInk_core_mouseHandler_noclick.js")).read() 65 scriptElm.text = open(os.path.join(os.path.dirname(__file__), "jessyInk_core_mouseHandler_zoomControl.js")).read()
|
H A D | embedimage.py | 21 import os namespace 73 path=os.path.realpath(href) 74 if (not os.path.isfile(path)): 83 if (not os.path.isfile(path)): 88 if (os.path.isfile(path)):
|
H A D | jessyInk_export.py | 26 import inkex, os.path namespace 29 import os namespace 123 import os, msvcrt namespace 124 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) 138 self.document.write(os.fdopen(svgFileDesc, "wb")) 152 for infile in glob.glob(os.path.join(tempfile.gettempdir(), 'jessyInk__*')): 154 os.remove(infile)
|
H A D | guillotine.py | 42 import os namespace 200 dirname, filename = os.path.split(export_file) 205 if not os.path.isdir(dir): 206 os.makedirs(dir) 225 _, f, err = os.open3(command) 238 dirname = os.path.expanduser(dirname) 239 dirname = os.path.expandvars(dirname) 240 dirname = os.path.abspath(dirname) 241 if dirname[-1] != os.path.sep: 242 dirname += os [all...] |
/inkscape/src/extension/internal/ |
H A D | latex-pstricks.cpp | 64 Inkscape::SVGOStringStream os; local 72 os.setf(std::ios::fixed); 124 os << "%%Creator: " << PACKAGE_STRING << "\n"; 125 os << "%%Please note this file requires PSTricks extensions\n"; 127 os << "\\psset{xunit=.5pt,yunit=.5pt,runit=.5pt}\n"; 130 os << "\\begin{pspicture}(" << doc->getWidth().value("px") << "," << doc->getHeight().value("px") << ")\n"; 135 return fprintf(_stream, "%s", os.str().c_str()); 189 Inkscape::SVGOStringStream os; local 193 os.setf(std::ios::fixed); 197 os << "{\ 224 Inkscape::SVGOStringStream os; local 265 print_pathvector(SVGOStringStream &os, Geom::PathVector const &pathv_in, const Geom::Affine & ) argument 292 print_2geomcurve(SVGOStringStream &os, Geom::Curve const &c) argument [all...] |
H A D | latex-text-renderer.cpp | 315 Inkscape::SVGOStringStream os; local 316 os.setf(std::ios::fixed); // don't use scientific notation 318 os << " \\put(" << pos[Geom::X] << "," << pos[Geom::Y] << "){"; 320 os << "\\color[rgb]{" << SP_RGBA32_R_F(rgba) << "," << SP_RGBA32_G_F(rgba) << "," << SP_RGBA32_B_F(rgba) << "}"; 323 os << "\\transparent{" << opacity << "}"; 326 os << "\\rotatebox{" << degrees << "}{"; 328 os << "\\makebox(0,0)" << alignment << "{"; 329 os << "\\smash{"; // smash the text, to be able to put the makebox coordinates at the baseline 349 os << "\\textbf{"; 354 os << "\\texti 465 Inkscape::SVGOStringStream os; local 602 Inkscape::SVGOStringStream os; local 651 Inkscape::SVGOStringStream os; local [all...] |
/inkscape/packaging/wix/ |
H A D | files.py | 5 import os namespace 25 files = [ f for f in os.listdir(root) if os.path.isfile(os.path.join(root,f)) and f not in exclude] 27 file_key = os.path.join(root, file) 38 dirs = [ f for f in os.listdir(root) if os.path.isdir(os.path.join(root,f)) ] 44 directory(os.path.join(root, dir), directory_key, level + 1)
|
/inkscape/src/live_effects/parameter/ |
H A D | array.h | 64 Inkscape::SVGOStringStream os; local 65 writesvg(os, _vector); 66 gchar * str = g_strdup(os.str().c_str()); 79 Inkscape::SVGOStringStream os; local 80 writesvg(os, new_vector); 81 gchar * str = g_strdup(os.str().c_str());
|
/inkscape/src/ |
H A D | proj_pt.cpp | 59 Inkscape::SVGOStringStream os; local 60 os << pt[0] << " : " 63 return g_strdup(os.str().c_str()); 101 Inkscape::SVGOStringStream os; local 102 os << pt[0] << " : " 106 return g_strdup(os.str().c_str());
|
H A D | number-opt-number.h | 79 Inkscape::SVGOStringStream os; local 86 os << number << " " << optNumber; 89 os << number; 92 return g_strdup(os.str().c_str());
|
H A D | sp-stop.cpp | 146 Inkscape::CSSOStringStream os; local 147 os << "stop-color:"; 149 os << "currentColor"; 151 os << colorStr; 153 os << ";stop-opacity:" << opacity; 154 repr->setAttribute("style", os.str().c_str());
|
/inkscape/share/extensions/test/ |
H A D | gimp_xcf.test.py | 12 import os namespace 21 sys.stdout = open(os.devnull, 'w')
|
/inkscape/src/util/ |
H A D | expression-evaluator.h | 174 std::ostringstream os; local 176 os << "Expression evaluator error: " << message << " at '" << token << "'"; 177 msgstr = os.str();
|
/inkscape/src/ui/widget/ |
H A D | registered-widget.cpp | 191 Inkscape::SVGOStringStream os; 192 os << getUnitMenu()->getUnitAbbr(); 196 write_to_xml(os.str().c_str()); 241 Inkscape::SVGOStringStream os; local 258 os << getValue("px") * scale; 261 os << getValue(""); 263 os << _um->getUnitAbbr(); 266 write_to_xml(os.str().c_str()); 308 Inkscape::SVGOStringStream os; local 309 os << getValu 354 Inkscape::SVGOStringStream os; local 480 Inkscape::SVGOStringStream os; local 593 Inkscape::SVGOStringStream os; local 660 Inkscape::SVGOStringStream os; local 744 Inkscape::SVGOStringStream os; local 798 Inkscape::SVGOStringStream os; local [all...] |