Changeset 1728


Ignore:
Timestamp:
Nov 21, 2011, 6:51:25 PM (8 years ago)
Author:
ksherdy
Message:

Updated Xerces GML2SVG sample application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/gml2svg/lib/C/style_ext/style_ext.c

    r1705 r1728  
    1616using namespace std;
    1717
    18 /*
    19 const char * X_COORD_FORMAT = "%10.26f";
    20 const char * Y_COORD_FORMAT = "%10.25f";
    21 */
    22 
    23 
    24 const char * X_COORD_FORMAT = "%10.12f";
    25 const char * Y_COORD_FORMAT = "%10.11f";
    26 
     18#ifdef DEFAULT_STYLE_EXT // Original (StyleExt.java reported 26,25 decimal places.
     19        const char * X_COORD_FORMAT = "%10.26f";
     20        const char * Y_COORD_FORMAT = "%10.25f";
     21#else // Compress
     22        const char * X_COORD_FORMAT = "%10.12f";
     23        const char * Y_COORD_FORMAT = "%10.11f";
     24#endif
    2725
    2826extern int errno;
Note: See TracChangeset for help on using the changeset viewer.