summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a690bd)
raw | patch | inline | side by side (parent: 0a690bd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 27 May 2006 16:37:55 +0000 (16:37 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 27 May 2006 16:37:55 +0000 (16:37 +0000) |
src/extension/internal/latex-pstricks.cpp | patch | blob | history |
index 3c3cf6682dc25ce1f5288ac848810f44f568e888..f33a0d2b8775c9d329e9571d67c0b5c6277e3761 100644 (file)
FILE *osf, *osp;
const gchar * fn;
+ os.setf(std::ios::fixed);
+
fn = mod->get_param_string("destination");
osf = NULL;
Inkscape::SVGOStringStream os;
float rgb[3];
+ os.setf(std::ios::fixed);
+
sp_color_get_rgb_floatv(&style->fill.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
@@ -239,6 +243,8 @@ PrintLatex::stroke (Inkscape::Extension::Print *mod, const NRBPath *bpath, const
Inkscape::SVGOStringStream os;
float rgb[3];
+ os.setf(std::ios::fixed);
+
sp_color_get_rgb_floatv(&style->stroke.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";