diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-02-16 01:15:35 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-02-16 01:15:35 +0000 |
| commit | 42c66786f609290a715bd85ce4c014154f941d1b (patch) | |
| tree | 8a00b196b07aa163001c26f9028edf93aec0f79a /src/extension/internal/pov-out.cpp | |
| parent | bulk trailing spaces removal. consistency through MD5 of binary (diff) | |
| download | inkscape-42c66786f609290a715bd85ce4c014154f941d1b.tar.gz inkscape-42c66786f609290a715bd85ce4c014154f941d1b.zip | |
Add new placeholder for ODF
(bzr r150)
Diffstat (limited to 'src/extension/internal/pov-out.cpp')
| -rw-r--r-- | src/extension/internal/pov-out.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index 058116040..fbe64bd81 100644 --- a/src/extension/internal/pov-out.cpp +++ b/src/extension/internal/pov-out.cpp @@ -32,16 +32,19 @@ #include "io/sys.h" -namespace Inkscape { -namespace Extension { -namespace Internal { +namespace Inkscape +{ +namespace Extension +{ +namespace Internal +{ static const char * dstr(gchar *sbuffer, double d) { - return (const char *)g_ascii_formatd(sbuffer, + return (const char *)g_ascii_formatd(sbuffer, G_ASCII_DTOSTR_BUF_SIZE, "%.8g", (gdouble)d); } @@ -147,13 +150,13 @@ PovOutput::save(Inkscape::Extension::Output *mod, SPDocument *doc, gchar const * gchar s6[G_ASCII_DTOSTR_BUF_SIZE + 1]; gchar s7[G_ASCII_DTOSTR_BUF_SIZE + 1]; gchar s8[G_ASCII_DTOSTR_BUF_SIZE + 1]; - + double bignum = 1000000.0; double minx = bignum; double maxx = -bignum; double miny = bignum; double maxy = -bignum; - + unsigned indx; |
