Searched defs:os (Results 1 - 25 of 101) sorted by relevance

12345

/inkscape/src/libvpsc/
H A Dvariable.cpp12 std::ostream& operator <<(std::ostream &os, const Variable &v) { argument
13 os << "(" << v.id << "=" << v.position() << ")";
14 return os;
H A Dconstraint.cpp36 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 Dcmake_consistency_check_config.py1 import os namespace
59 SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))))
/inkscape/share/extensions/
H A DjessyInk_mouseHandler.py16 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 Dextractimage.py21 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 Dinkwebeffect.py20 import inkex, sys, os, re namespace
34 js = open( os.path.join(sys.path[0], "inkweb.js"), 'r' )
H A DjessyInk_install.py16 import os namespace
61 scriptElm.text = open(os.path.join(os.path.dirname(__file__), "jessyInk.js")).read()
H A Drun_command.py2 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 Dseamless_pattern.py6 import inkex, sys, re, os namespace
23 path = os.path.dirname(os.path.realpath(__file__))
24 self.document = etree.parse(os.path.join(path, "seamless_pattern.svg"))
H A Deqtexsvg.py31 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 Dtext_extract.py30 import os namespace
77 reader=csv.reader(f.split( os.linesep ))
80 _,f,err = os.popen3('inkscape --query-all "%s"' % ( file ) )
90 if not bsubprocess: #close file if opened using os.popen3
H A Dtext_merge.py30 import os namespace
85 reader=csv.reader(f.split( os.linesep ))
88 _,f,err = os.popen3('inkscape --query-all "%s"' % ( file ) )
98 if not bsubprocess: #close file if opened using os.popen3
H A Dembedimage.py21 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 DjessyInk_video.py28 import os namespace
62 tmplFile = open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'jessyInk_video.svg'), 'r')
H A Drestack.py24 import inkex, os, csv, math, random namespace
105 reader=csv.reader(f.split( os.linesep ))
108 _,f,err = os.popen3('inkscape --query-all "%s"' % ( file ) )
118 if not bsubprocess: #close file if opened using os.popen3
H A Dsummersnight.py21 import os namespace
81 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
H A Duniconv_output.py32 import os namespace
72 if os.name == 'nt': # make stdout work in binary on Windows
74 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
85 os.remove(outfile)
/inkscape/packaging/wix/
H A Dfiles.py5 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)
H A Dversion.py3 import os namespace
/inkscape/src/
H A Dproj_pt.cpp59 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 Dnumber-opt-number.h79 Inkscape::SVGOStringStream os; local
86 os << number << " " << optNumber;
89 os << number;
92 return g_strdup(os.str().c_str());
/inkscape/src/svg/
H A Dstringstream.cpp21 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 Dcss-ostringstream.cpp21 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...]
/inkscape/packaging/scripts/
H A Dlp-mark-bugs-released17 import os namespace
/inkscape/share/extensions/test/
H A Dgimp_xcf.test.py12 import os namespace
21 sys.stdout = open(os.devnull, 'w')

Completed in 1018 milliseconds

12345