Lines Matching refs:os

64     Inkscape::SVGOStringStream os;
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;
193 os.setf(std::ios::fixed);
197 os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
198 os << "\\pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor";
200 os << ",opacity="<<fill_opacity;
203 os << "]\n{\n";
205 print_pathvector(os, pathv, transform);
207 os << "}\n}\n";
209 fprintf(_stream, "%s", os.str().c_str());
224 Inkscape::SVGOStringStream os;
229 os.setf(std::ios::fixed);
233 os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
235 os << "\\pscustom[linewidth=" << style->stroke_width.computed*scale<< ",linecolor=curcolor";
238 os<<",strokeopacity="<<stroke_opacity;
242 os << ",linestyle=dashed,dash=";
245 os << " ";
247 os << style->stroke_dasharray.values[i];
251 os <<"]\n{\n";
253 print_pathvector(os, pathv, transform);
255 os << "}\n}\n";
257 fprintf(_stream, "%s", os.str().c_str());
265 PrintLatex::print_pathvector(SVGOStringStream &os, Geom::PathVector const &pathv_in, const Geom::Affine & /*transform*/)
274 os << "\\newpath\n";
278 os << "\\moveto(" << it->initialPoint()[Geom::X] << "," << it->initialPoint()[Geom::Y] << ")\n";
281 print_2geomcurve(os, *cit);
285 os << "\\closepath\n";
292 PrintLatex::print_2geomcurve(SVGOStringStream &os, Geom::Curve const &c)
299 os << "\\lineto(" << c.finalPoint()[X] << "," << c.finalPoint()[Y] << ")\n";
303 os << "\\curveto(" << points[1][X] << "," << points[1][Y] << ")("
312 print_2geomcurve(os, *iter);